From 8269571b5ef63d8e8a81c26b65fed77fb6679e17 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:49:45 +0000 Subject: [PATCH 1/5] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../v1/ContactCenterInsightsGrpc.java | 4352 ----------- .../v1/ContactCenterInsightsClient.java | 86 +- .../v1/ContactCenterInsightsSettings.java | 30 +- .../v1/gapic_metadata.json | 0 .../v1/package-info.java | 0 .../v1/stub/ContactCenterInsightsStub.java | 6 +- .../ContactCenterInsightsStubSettings.java | 65 +- ...cContactCenterInsightsCallableFactory.java | 0 .../stub/GrpcContactCenterInsightsStub.java | 1 + ...nContactCenterInsightsCallableFactory.java | 105 + .../HttpJsonContactCenterInsightsStub.java | 2150 ++++++ ...ntactCenterInsightsClientHttpJsonTest.java | 3242 ++++++++ .../v1/ContactCenterInsightsClientTest.java | 0 .../v1/MockContactCenterInsights.java | 0 .../v1/MockContactCenterInsightsImpl.java | 0 .../v1/ContactCenterInsightsGrpc.java | 3153 ++++++++ .../contactcenterinsights/v1/Analysis.java | 753 +- .../v1/AnalysisName.java | 0 .../v1/AnalysisOrBuilder.java | 81 +- .../v1/AnalysisResult.java | 2563 +++---- .../v1/AnalysisResultOrBuilder.java | 52 +- .../v1/AnnotationBoundary.java | 366 +- .../v1/AnnotationBoundaryOrBuilder.java | 30 +- .../v1/AnswerFeedback.java | 493 +- .../v1/AnswerFeedbackOrBuilder.java | 38 +- .../v1/ArticleSuggestionData.java | 875 +-- .../v1/ArticleSuggestionDataOrBuilder.java | 88 +- .../v1/CalculateIssueModelStatsRequest.java | 398 +- ...culateIssueModelStatsRequestOrBuilder.java | 29 + .../v1/CalculateIssueModelStatsResponse.java | 455 +- ...ulateIssueModelStatsResponseOrBuilder.java | 29 +- .../v1/CalculateStatsRequest.java | 442 +- .../v1/CalculateStatsRequestOrBuilder.java | 44 +- .../v1/CalculateStatsResponse.java | 2988 +++----- .../v1/CalculateStatsResponseOrBuilder.java | 224 +- .../v1/CallAnnotation.java | 1527 ++-- .../v1/CallAnnotationOrBuilder.java | 123 +- .../v1/ContactCenterInsightsProto.java | 1121 +++ .../v1/Conversation.java | 6735 ++++++----------- .../v1/ConversationDataSource.java | 537 +- .../v1/ConversationDataSourceOrBuilder.java | 40 +- .../v1/ConversationLevelSentiment.java | 416 +- .../ConversationLevelSentimentOrBuilder.java | 29 +- .../v1/ConversationName.java | 0 .../v1/ConversationOrBuilder.java | 335 +- .../v1/ConversationParticipant.java | 881 +-- .../v1/ConversationParticipantOrBuilder.java | 83 +- .../v1/ConversationView.java | 86 +- .../v1/CreateAnalysisOperationMetadata.java | 663 +- ...ateAnalysisOperationMetadataOrBuilder.java | 69 +- .../v1/CreateAnalysisRequest.java | 510 +- .../v1/CreateAnalysisRequestOrBuilder.java | 56 + .../v1/CreateConversationRequest.java | 607 +- .../CreateConversationRequestOrBuilder.java | 64 +- .../v1/CreateIssueModelMetadata.java | 651 +- .../v1/CreateIssueModelMetadataOrBuilder.java | 60 +- .../v1/CreateIssueModelRequest.java | 518 +- .../v1/CreateIssueModelRequestOrBuilder.java | 56 + .../v1/CreatePhraseMatcherRequest.java | 534 +- .../CreatePhraseMatcherRequestOrBuilder.java | 55 +- .../v1/CreateViewRequest.java | 491 +- .../v1/CreateViewRequestOrBuilder.java | 55 +- .../v1/DeleteAnalysisRequest.java | 363 +- .../v1/DeleteAnalysisRequestOrBuilder.java | 29 + .../v1/DeleteConversationRequest.java | 412 +- .../DeleteConversationRequestOrBuilder.java | 41 + .../v1/DeleteIssueModelMetadata.java | 651 +- .../v1/DeleteIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeleteIssueModelRequest.java | 371 +- .../v1/DeleteIssueModelRequestOrBuilder.java | 29 + .../v1/DeletePhraseMatcherRequest.java | 375 +- .../DeletePhraseMatcherRequestOrBuilder.java | 29 + .../v1/DeleteViewRequest.java | 342 +- .../v1/DeleteViewRequestOrBuilder.java | 29 + .../v1/DeployIssueModelMetadata.java | 651 +- .../v1/DeployIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeployIssueModelRequest.java | 371 +- .../v1/DeployIssueModelRequestOrBuilder.java | 29 + .../v1/DeployIssueModelResponse.java | 271 +- .../v1/DeployIssueModelResponseOrBuilder.java | 9 + .../v1/DialogflowIntent.java | 314 +- .../v1/DialogflowIntentOrBuilder.java | 29 + .../v1/DialogflowInteractionData.java | 384 +- .../DialogflowInteractionDataOrBuilder.java | 30 +- .../v1/DialogflowSource.java | 393 +- .../v1/DialogflowSourceOrBuilder.java | 36 +- .../contactcenterinsights/v1/Entity.java | 915 +-- .../v1/EntityMentionData.java | 561 +- .../v1/EntityMentionDataOrBuilder.java | 41 +- .../v1/EntityOrBuilder.java | 75 +- .../v1/ExactMatchConfig.java | 275 +- .../v1/ExactMatchConfigOrBuilder.java | 19 + .../v1/ExportInsightsDataMetadata.java | 801 +- .../ExportInsightsDataMetadataOrBuilder.java | 82 +- .../v1/ExportInsightsDataRequest.java | 1622 ++-- .../ExportInsightsDataRequestOrBuilder.java | 99 +- .../v1/ExportInsightsDataResponse.java | 271 +- .../ExportInsightsDataResponseOrBuilder.java | 9 + .../v1/FaqAnswerData.java | 852 +-- .../v1/FaqAnswerDataOrBuilder.java | 88 +- .../contactcenterinsights/v1/GcsSource.java | 390 +- .../v1/GcsSourceOrBuilder.java | 36 +- .../v1/GetAnalysisRequest.java | 349 +- .../v1/GetAnalysisRequestOrBuilder.java | 29 + .../v1/GetConversationRequest.java | 435 +- .../v1/GetConversationRequestOrBuilder.java | 41 +- .../v1/GetIssueModelRequest.java | 360 +- .../v1/GetIssueModelRequestOrBuilder.java | 29 + .../v1/GetIssueRequest.java | 342 +- .../v1/GetIssueRequestOrBuilder.java | 29 + .../v1/GetPhraseMatcherRequest.java | 371 +- .../v1/GetPhraseMatcherRequestOrBuilder.java | 29 + .../v1/GetSettingsRequest.java | 349 +- .../v1/GetSettingsRequestOrBuilder.java | 29 + .../v1/GetViewRequest.java | 342 +- .../v1/GetViewRequestOrBuilder.java | 29 + .../contactcenterinsights/v1/HoldData.java | 235 +- .../v1/HoldDataOrBuilder.java | 9 + .../contactcenterinsights/v1/Intent.java | 387 +- .../v1/IntentMatchData.java | 314 +- .../v1/IntentMatchDataOrBuilder.java | 27 +- .../v1/IntentOrBuilder.java | 36 +- .../v1/InterruptionData.java | 238 +- .../v1/InterruptionDataOrBuilder.java | 9 + .../cloud/contactcenterinsights/v1/Issue.java | 661 +- .../v1/IssueAssignment.java | 432 +- .../v1/IssueAssignmentOrBuilder.java | 39 +- .../contactcenterinsights/v1/IssueModel.java | 1767 ++--- .../v1/IssueModelLabelStats.java | 1238 ++- .../v1/IssueModelLabelStatsOrBuilder.java | 86 + .../v1/IssueModelName.java | 0 .../v1/IssueModelOrBuilder.java | 127 +- .../v1/IssueModelResult.java | 466 +- .../v1/IssueModelResultOrBuilder.java | 45 +- .../contactcenterinsights/v1/IssueName.java | 0 .../v1/IssueOrBuilder.java | 70 +- .../v1/ListAnalysesRequest.java | 544 +- .../v1/ListAnalysesRequestOrBuilder.java | 56 +- .../v1/ListAnalysesResponse.java | 466 +- .../v1/ListAnalysesResponseOrBuilder.java | 45 +- .../v1/ListConversationsRequest.java | 639 +- .../v1/ListConversationsRequestOrBuilder.java | 62 +- .../v1/ListConversationsResponse.java | 494 +- .../ListConversationsResponseOrBuilder.java | 42 +- .../v1/ListIssueModelsRequest.java | 363 +- .../v1/ListIssueModelsRequestOrBuilder.java | 29 + .../v1/ListIssueModelsResponse.java | 402 +- .../v1/ListIssueModelsResponseOrBuilder.java | 36 +- .../v1/ListIssuesRequest.java | 342 +- .../v1/ListIssuesRequestOrBuilder.java | 29 + .../v1/ListIssuesResponse.java | 389 +- .../v1/ListIssuesResponseOrBuilder.java | 36 +- .../v1/ListPhraseMatchersRequest.java | 569 +- .../ListPhraseMatchersRequestOrBuilder.java | 56 +- .../v1/ListPhraseMatchersResponse.java | 564 +- .../ListPhraseMatchersResponseOrBuilder.java | 42 +- .../v1/ListViewsRequest.java | 455 +- .../v1/ListViewsRequestOrBuilder.java | 47 +- .../v1/ListViewsResponse.java | 460 +- .../v1/ListViewsResponseOrBuilder.java | 45 +- .../v1/LocationName.java | 0 .../v1/PhraseMatchData.java | 393 +- .../v1/PhraseMatchDataOrBuilder.java | 36 +- .../v1/PhraseMatchRule.java | 464 +- .../v1/PhraseMatchRuleConfig.java | 424 +- .../v1/PhraseMatchRuleConfigOrBuilder.java | 29 +- .../v1/PhraseMatchRuleGroup.java | 683 +- .../v1/PhraseMatchRuleGroupOrBuilder.java | 61 +- .../v1/PhraseMatchRuleOrBuilder.java | 38 +- .../v1/PhraseMatcher.java | 1594 ++-- .../v1/PhraseMatcherName.java | 0 .../v1/PhraseMatcherOrBuilder.java | 189 +- .../v1/ResourcesProto.java | 1054 +++ .../v1/RuntimeAnnotation.java | 1626 ++-- .../v1/RuntimeAnnotationOrBuilder.java | 141 +- .../v1/SentimentData.java | 312 +- .../v1/SentimentDataOrBuilder.java | 24 +- .../contactcenterinsights/v1/Settings.java | 1465 ++-- .../v1/SettingsName.java | 0 .../v1/SettingsOrBuilder.java | 129 +- .../contactcenterinsights/v1/SilenceData.java | 238 +- .../v1/SilenceDataOrBuilder.java | 9 + .../v1/SmartComposeSuggestionData.java | 732 +- .../SmartComposeSuggestionDataOrBuilder.java | 70 +- .../v1/SmartReplyData.java | 699 +- .../v1/SmartReplyDataOrBuilder.java | 70 +- .../v1/UndeployIssueModelMetadata.java | 657 +- .../UndeployIssueModelMetadataOrBuilder.java | 63 +- .../v1/UndeployIssueModelRequest.java | 375 +- .../UndeployIssueModelRequestOrBuilder.java | 29 + .../v1/UndeployIssueModelResponse.java | 271 +- .../UndeployIssueModelResponseOrBuilder.java | 9 + .../v1/UpdateConversationRequest.java | 520 +- .../UpdateConversationRequestOrBuilder.java | 46 +- .../v1/UpdateIssueModelRequest.java | 510 +- .../v1/UpdateIssueModelRequestOrBuilder.java | 46 +- .../v1/UpdateIssueRequest.java | 487 +- .../v1/UpdateIssueRequestOrBuilder.java | 46 +- .../v1/UpdatePhraseMatcherRequest.java | 526 +- .../UpdatePhraseMatcherRequestOrBuilder.java | 46 +- .../v1/UpdateSettingsRequest.java | 538 +- .../v1/UpdateSettingsRequestOrBuilder.java | 55 +- .../v1/UpdateViewRequest.java | 483 +- .../v1/UpdateViewRequestOrBuilder.java | 46 +- .../cloud/contactcenterinsights/v1/View.java | 739 +- .../contactcenterinsights/v1/ViewName.java | 0 .../v1/ViewOrBuilder.java | 79 +- .../v1/contact_center_insights.proto | 0 .../contactcenterinsights/v1/resources.proto | 0 .../AsyncCalculateIssueModelStats.java | 49 + .../SyncCalculateIssueModelStats.java | 46 + ...alculateIssueModelStatsIssuemodelname.java | 41 + .../SyncCalculateIssueModelStatsString.java | 41 + .../calculatestats/AsyncCalculateStats.java | 49 + .../calculatestats/SyncCalculateStats.java | 45 + .../SyncCalculateStatsLocationname.java | 40 + .../SyncCalculateStatsString.java | 40 + .../SyncCreateSetCredentialsProvider.java | 42 + .../SyncCreateSetCredentialsProvider1.java | 41 + .../create/SyncCreateSetEndpoint.java | 39 + .../createanalysis/AsyncCreateAnalysis.java | 51 + .../AsyncCreateAnalysisLRO.java | 51 + .../createanalysis/SyncCreateAnalysis.java | 46 + ...reateAnalysisConversationnameAnalysis.java | 41 + .../SyncCreateAnalysisStringAnalysis.java | 41 + .../AsyncCreateConversation.java | 50 + .../SyncCreateConversation.java | 46 + ...rsationLocationnameConversationString.java | 43 + ...eConversationStringConversationString.java | 43 + .../AsyncCreateIssueModel.java | 50 + .../AsyncCreateIssueModelLRO.java | 50 + .../SyncCreateIssueModel.java | 45 + ...reateIssueModelLocationnameIssuemodel.java | 42 + .../SyncCreateIssueModelStringIssuemodel.java | 42 + .../AsyncCreatePhraseMatcher.java | 49 + .../SyncCreatePhraseMatcher.java | 45 + ...hraseMatcherLocationnamePhrasematcher.java | 42 + ...reatePhraseMatcherStringPhrasematcher.java | 42 + .../createview/AsyncCreateView.java | 48 + .../createview/SyncCreateView.java | 45 + .../SyncCreateViewLocationnameView.java | 41 + .../createview/SyncCreateViewStringView.java | 41 + .../deleteanalysis/AsyncDeleteAnalysis.java | 50 + .../deleteanalysis/SyncDeleteAnalysis.java | 46 + .../SyncDeleteAnalysisAnalysisname.java | 41 + .../SyncDeleteAnalysisString.java | 41 + .../AsyncDeleteConversation.java | 49 + .../SyncDeleteConversation.java | 45 + ...yncDeleteConversationConversationname.java | 40 + .../SyncDeleteConversationString.java | 40 + .../AsyncDeleteIssueModel.java | 48 + .../AsyncDeleteIssueModelLRO.java | 49 + .../SyncDeleteIssueModel.java | 44 + .../SyncDeleteIssueModelIssuemodelname.java | 40 + .../SyncDeleteIssueModelString.java | 40 + .../AsyncDeletePhraseMatcher.java | 49 + .../SyncDeletePhraseMatcher.java | 45 + ...cDeletePhraseMatcherPhrasematchername.java | 40 + .../SyncDeletePhraseMatcherString.java | 40 + .../deleteview/AsyncDeleteView.java | 48 + .../deleteview/SyncDeleteView.java | 44 + .../deleteview/SyncDeleteViewString.java | 40 + .../deleteview/SyncDeleteViewViewname.java | 40 + .../AsyncDeployIssueModel.java | 48 + .../AsyncDeployIssueModelLRO.java | 49 + .../SyncDeployIssueModel.java | 45 + .../SyncDeployIssueModelIssuemodelname.java | 41 + .../SyncDeployIssueModelString.java | 41 + .../AsyncExportInsightsData.java | 50 + .../AsyncExportInsightsDataLRO.java | 51 + .../SyncExportInsightsData.java | 47 + .../SyncExportInsightsDataLocationname.java | 41 + .../SyncExportInsightsDataString.java | 41 + .../getanalysis/AsyncGetAnalysis.java | 50 + .../getanalysis/SyncGetAnalysis.java | 46 + .../SyncGetAnalysisAnalysisname.java | 41 + .../getanalysis/SyncGetAnalysisString.java | 41 + .../getconversation/AsyncGetConversation.java | 50 + .../getconversation/SyncGetConversation.java | 46 + .../SyncGetConversationConversationname.java | 40 + .../SyncGetConversationString.java | 40 + .../getissue/AsyncGetIssue.java | 48 + .../getissue/SyncGetIssue.java | 45 + .../getissue/SyncGetIssueIssuename.java | 40 + .../getissue/SyncGetIssueString.java | 40 + .../getissuemodel/AsyncGetIssueModel.java | 48 + .../getissuemodel/SyncGetIssueModel.java | 44 + .../SyncGetIssueModelIssuemodelname.java | 40 + .../SyncGetIssueModelString.java | 40 + .../AsyncGetPhraseMatcher.java | 49 + .../SyncGetPhraseMatcher.java | 45 + ...SyncGetPhraseMatcherPhrasematchername.java | 40 + .../SyncGetPhraseMatcherString.java | 40 + .../getsettings/AsyncGetSettings.java | 48 + .../getsettings/SyncGetSettings.java | 44 + .../SyncGetSettingsSettingsname.java | 40 + .../getsettings/SyncGetSettingsString.java | 40 + .../getview/AsyncGetView.java | 47 + .../getview/SyncGetView.java | 44 + .../getview/SyncGetViewString.java | 40 + .../getview/SyncGetViewViewname.java | 40 + .../listanalyses/AsyncListAnalyses.java | 54 + .../listanalyses/AsyncListAnalysesPaged.java | 62 + .../listanalyses/SyncListAnalyses.java | 50 + .../SyncListAnalysesConversationname.java | 42 + .../listanalyses/SyncListAnalysesString.java | 42 + .../AsyncListConversations.java | 55 + .../AsyncListConversationsPaged.java | 63 + .../SyncListConversations.java | 52 + .../SyncListConversationsLocationname.java | 43 + .../SyncListConversationsString.java | 43 + .../listissuemodels/AsyncListIssueModels.java | 48 + .../listissuemodels/SyncListIssueModels.java | 44 + .../SyncListIssueModelsLocationname.java | 40 + .../SyncListIssueModelsString.java | 40 + .../listissues/AsyncListIssues.java | 48 + .../listissues/SyncListIssues.java | 44 + .../SyncListIssuesIssuemodelname.java | 40 + .../listissues/SyncListIssuesString.java | 40 + .../AsyncListPhraseMatchers.java | 53 + .../AsyncListPhraseMatchersPaged.java | 61 + .../SyncListPhraseMatchers.java | 50 + .../SyncListPhraseMatchersLocationname.java | 43 + .../SyncListPhraseMatchersString.java | 43 + .../listviews/AsyncListViews.java | 52 + .../listviews/AsyncListViewsPaged.java | 59 + .../listviews/SyncListViews.java | 48 + .../listviews/SyncListViewsLocationname.java | 42 + .../listviews/SyncListViewsString.java | 42 + .../AsyncUndeployIssueModel.java | 48 + .../AsyncUndeployIssueModelLRO.java | 49 + .../SyncUndeployIssueModel.java | 45 + .../SyncUndeployIssueModelIssuemodelname.java | 41 + .../SyncUndeployIssueModelString.java | 41 + .../AsyncUpdateConversation.java | 49 + .../SyncUpdateConversation.java | 45 + ...dateConversationConversationFieldmask.java | 42 + .../updateissue/AsyncUpdateIssue.java | 49 + .../updateissue/SyncUpdateIssue.java | 45 + .../SyncUpdateIssueIssueFieldmask.java | 41 + .../AsyncUpdateIssueModel.java | 49 + .../SyncUpdateIssueModel.java | 45 + ...ncUpdateIssueModelIssuemodelFieldmask.java | 41 + .../AsyncUpdatePhraseMatcher.java | 49 + .../SyncUpdatePhraseMatcher.java | 45 + ...tePhraseMatcherPhrasematcherFieldmask.java | 42 + .../updatesettings/AsyncUpdateSettings.java | 49 + .../updatesettings/SyncUpdateSettings.java | 45 + .../SyncUpdateSettingsSettingsFieldmask.java | 41 + .../updateview/AsyncUpdateView.java | 48 + .../updateview/SyncUpdateView.java | 45 + .../SyncUpdateViewViewFieldmask.java | 41 + .../SyncCreateConversation.java | 47 + .../SyncCreateConversation.java | 47 + ...culateIssueModelStatsRequestOrBuilder.java | 54 - .../v1/ContactCenterInsightsProto.java | 1213 --- .../v1/CreateAnalysisRequestOrBuilder.java | 95 - .../v1/CreateIssueModelRequestOrBuilder.java | 95 - .../v1/DeleteAnalysisRequestOrBuilder.java | 54 - .../DeleteConversationRequestOrBuilder.java | 69 - .../v1/DeleteIssueModelRequestOrBuilder.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/InterruptionDataOrBuilder.java | 24 - .../v1/IssueModelLabelStatsOrBuilder.java | 128 - .../v1/ListIssueModelsRequestOrBuilder.java | 54 - .../v1/ListIssuesRequestOrBuilder.java | 54 - .../v1/ResourcesProto.java | 1244 --- .../v1/SilenceDataOrBuilder.java | 24 - .../UndeployIssueModelRequestOrBuilder.java | 54 - .../UndeployIssueModelResponseOrBuilder.java | 24 - 383 files changed, 42284 insertions(+), 50226 deletions(-) delete mode 100644 grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java (98%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java (96%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java (99%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java (96%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java create mode 100644 owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java (56%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java (54%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java (59%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java (51%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java (59%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java (52%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java (51%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java (58%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java (78%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java (55%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java (62%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java (53%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java (52%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java (55%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java (74%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java (78%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java (53%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java (82%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java (62%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java (62%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java (54%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java (56%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java diff --git a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java deleted file mode 100644 index 7856bf22..00000000 --- a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java +++ /dev/null @@ -1,4352 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.contactcenterinsights.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * An API that lets users analyze and explore their business conversation data.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ContactCenterInsightsGrpc { - - private ContactCenterInsightsGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.contactcenterinsights.v1.ContactCenterInsights"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversation", - requestType = com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Conversation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod; - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) - == null) { - ContactCenterInsightsGrpc.getCreateConversationMethod = - getCreateConversationMethod = - io.grpc.MethodDescriptor - . - 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.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.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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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( - 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( - 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * Export insights data to a destination defined in the request body.
-     * 
- */ - public com.google.longrunning.Operation exportInsightsData( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an issue model.
-     * 
- */ - public com.google.longrunning.Operation createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists issue models.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssueModelsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an issue model.
-     * 
- */ - public com.google.longrunning.Operation deleteIssueModel( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deploys an issue model. Returns an error if a model is already deployed.
-     * An issue model can only be used in analysis after it has been deployed.
-     * 
- */ - public com.google.longrunning.Operation deployIssueModel( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Undeploys an issue model.
-     * An issue model can not be used in analysis after it has been undeployed.
-     * 
- */ - public com.google.longrunning.Operation undeployIssueModel( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue getIssue( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists issues.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssuesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an issue model's statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse - calculateIssueModelStats( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists phrase matchers.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a phrase matcher.
-     * 
- */ - public com.google.protobuf.Empty deletePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets conversation statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateStatsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings getSettings( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings updateSettings( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View createView( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View getView( - com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists views.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListViewsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View updateView( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a view.
-     * 
- */ - public com.google.protobuf.Empty deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteViewMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsFutureStub - extends io.grpc.stub.AbstractFutureStub { - 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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_EXPORT_INSIGHTS_DATA = 9; - private static final int METHODID_CREATE_ISSUE_MODEL = 10; - private static final int METHODID_UPDATE_ISSUE_MODEL = 11; - private static final int METHODID_GET_ISSUE_MODEL = 12; - private static final int METHODID_LIST_ISSUE_MODELS = 13; - private static final int METHODID_DELETE_ISSUE_MODEL = 14; - private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; - private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; - private static final int METHODID_GET_ISSUE = 17; - private static final int METHODID_LIST_ISSUES = 18; - private static final int METHODID_UPDATE_ISSUE = 19; - private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; - private static final int METHODID_CREATE_PHRASE_MATCHER = 21; - private static final int METHODID_GET_PHRASE_MATCHER = 22; - private static final int METHODID_LIST_PHRASE_MATCHERS = 23; - private static final int METHODID_DELETE_PHRASE_MATCHER = 24; - private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; - private static final int METHODID_CALCULATE_STATS = 26; - private static final int METHODID_GET_SETTINGS = 27; - private static final int METHODID_UPDATE_SETTINGS = 28; - private static final int METHODID_CREATE_VIEW = 29; - private static final int METHODID_GET_VIEW = 30; - private static final int METHODID_LIST_VIEWS = 31; - private static final int METHODID_UPDATE_VIEW = 32; - private static final int METHODID_DELETE_VIEW = 33; - - 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_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_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(getExportInsightsDataMethod()) - .addMethod(getCreateIssueModelMethod()) - .addMethod(getUpdateIssueModelMethod()) - .addMethod(getGetIssueModelMethod()) - .addMethod(getListIssueModelsMethod()) - .addMethod(getDeleteIssueModelMethod()) - .addMethod(getDeployIssueModelMethod()) - .addMethod(getUndeployIssueModelMethod()) - .addMethod(getGetIssueMethod()) - .addMethod(getListIssuesMethod()) - .addMethod(getUpdateIssueMethod()) - .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/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java similarity index 98% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java index 909a7dec..f9b1802e 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java @@ -19,6 +19,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -30,7 +31,6 @@ import com.google.cloud.contactcenterinsights.v1.stub.ContactCenterInsightsStubSettings; import com.google.common.util.concurrent.MoreExecutors; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -66,13 +66,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -109,13 +109,29 @@ * ContactCenterInsightsClient.create(contactCenterInsightsSettings); * } * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * ContactCenterInsightsSettings contactCenterInsightsSettings =
+ *     ContactCenterInsightsSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             ContactCenterInsightsSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * ContactCenterInsightsClient contactCenterInsightsClient =
+ *     ContactCenterInsightsClient.create(contactCenterInsightsSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") public class ContactCenterInsightsClient implements BackgroundResource { private final ContactCenterInsightsSettings settings; private final ContactCenterInsightsStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of ContactCenterInsightsClient with default settings. */ public static final ContactCenterInsightsClient create() throws IOException { @@ -147,13 +163,17 @@ public static final ContactCenterInsightsClient create(ContactCenterInsightsStub protected ContactCenterInsightsClient(ContactCenterInsightsSettings settings) throws IOException { this.settings = settings; this.stub = ((ContactCenterInsightsStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected ContactCenterInsightsClient(ContactCenterInsightsStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final ContactCenterInsightsSettings getSettings() { @@ -168,10 +188,18 @@ public ContactCenterInsightsStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Creates a conversation. @@ -4112,10 +4140,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListConversationsPagedResponse extends AbstractPagedListResponse< - ListConversationsRequest, - ListConversationsResponse, - Conversation, - ListConversationsPage, + ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, ListConversationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4136,9 +4161,7 @@ private ListConversationsPagedResponse(ListConversationsPage page) { public static class ListConversationsPage extends AbstractPage< - ListConversationsRequest, - ListConversationsResponse, - Conversation, + ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage> { private ListConversationsPage( @@ -4168,10 +4191,7 @@ public ApiFuture createPageAsync( public static class ListConversationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListConversationsRequest, - ListConversationsResponse, - Conversation, - ListConversationsPage, + ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, ListConversationsFixedSizeCollection> { private ListConversationsFixedSizeCollection( @@ -4192,10 +4212,7 @@ protected ListConversationsFixedSizeCollection createCollection( public static class ListAnalysesPagedResponse extends AbstractPagedListResponse< - ListAnalysesRequest, - ListAnalysesResponse, - Analysis, - ListAnalysesPage, + ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, ListAnalysesFixedSizeCollection> { public static ApiFuture createAsync( @@ -4244,10 +4261,7 @@ public ApiFuture createPageAsync( public static class ListAnalysesFixedSizeCollection extends AbstractFixedSizeCollection< - ListAnalysesRequest, - ListAnalysesResponse, - Analysis, - ListAnalysesPage, + ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, ListAnalysesFixedSizeCollection> { private ListAnalysesFixedSizeCollection(List pages, int collectionSize) { @@ -4267,11 +4281,8 @@ protected ListAnalysesFixedSizeCollection createCollection( public static class ListPhraseMatchersPagedResponse extends AbstractPagedListResponse< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, - PhraseMatcher, - ListPhraseMatchersPage, - ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, + ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4291,9 +4302,7 @@ private ListPhraseMatchersPagedResponse(ListPhraseMatchersPage page) { public static class ListPhraseMatchersPage extends AbstractPage< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, - PhraseMatcher, + ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, ListPhraseMatchersPage> { private ListPhraseMatchersPage( @@ -4323,11 +4332,8 @@ public ApiFuture createPageAsync( public static class ListPhraseMatchersFixedSizeCollection extends AbstractFixedSizeCollection< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, - PhraseMatcher, - ListPhraseMatchersPage, - ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, + ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { private ListPhraseMatchersFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java similarity index 96% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java index b4db4c1c..bda055f1 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java @@ -26,11 +26,13 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; 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; @@ -47,10 +49,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -330,11 +332,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return ContactCenterInsightsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return ContactCenterInsightsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ContactCenterInsightsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return ContactCenterInsightsStubSettings.defaultTransportChannelProvider(); } @@ -344,11 +353,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return ContactCenterInsightsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -387,6 +402,11 @@ private static Builder createDefault() { return new Builder(ContactCenterInsightsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(ContactCenterInsightsStubSettings.newHttpJsonBuilder()); + } + public ContactCenterInsightsStubSettings.Builder getStubSettingsBuilder() { return ((ContactCenterInsightsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java similarity index 99% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java index 95d13d9a..f9ae7f57 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java @@ -97,7 +97,11 @@ public abstract class ContactCenterInsightsStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public UnaryCallable createConversationCallable() { diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java similarity index 96% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java index 3cd55e82..614ffd96 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java @@ -31,6 +31,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -123,10 +126,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -380,8 +383,7 @@ public Iterable extractResources(ListViewsResponse payload) { ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> LIST_CONVERSATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListConversationsRequest, - ListConversationsResponse, + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -418,8 +420,7 @@ public ApiFuture getFuturePagedResponse( ListPhraseMatchersRequest, ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse> LIST_PHRASE_MATCHERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, + ListPhraseMatchersRequest, ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -677,6 +678,11 @@ public ContactCenterInsightsStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcContactCenterInsightsStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonContactCenterInsightsStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -709,18 +715,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(ContactCenterInsightsStubSettings.class)) @@ -728,11 +741,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ContactCenterInsightsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ContactCenterInsightsStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -1089,6 +1121,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .createConversationSettings() diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java similarity index 99% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java index eeae3d61..b3c46e80 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java @@ -93,6 +93,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/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java new file mode 100644 index 00000000..8d4ebbd2 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the ContactCenterInsights service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonContactCenterInsightsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java new file mode 100644 index 00000000..7f20300a --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java @@ -0,0 +1,2150 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub; + +import static com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListAnalysesPagedResponse; +import static com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListConversationsPagedResponse; +import static com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListPhraseMatchersPagedResponse; +import static com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListViewsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +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; +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest; +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse; +import com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest; +import com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata; +import com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest; +import com.google.cloud.contactcenterinsights.v1.CreateConversationRequest; +import com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.CreateViewRequest; +import com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest; +import com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest; +import com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.DeleteViewRequest; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse; +import com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest; +import com.google.cloud.contactcenterinsights.v1.GetConversationRequest; +import com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.GetIssueRequest; +import com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.GetSettingsRequest; +import com.google.cloud.contactcenterinsights.v1.GetViewRequest; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest; +import com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse; +import com.google.cloud.contactcenterinsights.v1.ListConversationsRequest; +import com.google.cloud.contactcenterinsights.v1.ListConversationsResponse; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse; +import com.google.cloud.contactcenterinsights.v1.ListIssuesRequest; +import com.google.cloud.contactcenterinsights.v1.ListIssuesResponse; +import com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest; +import com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse; +import com.google.cloud.contactcenterinsights.v1.ListViewsRequest; +import com.google.cloud.contactcenterinsights.v1.ListViewsResponse; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse; +import com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest; +import com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest; +import com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest; +import com.google.cloud.contactcenterinsights.v1.UpdateViewRequest; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the ContactCenterInsights service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(DeleteIssueModelMetadata.getDescriptor()) + .add(DeployIssueModelMetadata.getDescriptor()) + .add(CreateAnalysisOperationMetadata.getDescriptor()) + .add(Empty.getDescriptor()) + .add(Analysis.getDescriptor()) + .add(ExportInsightsDataResponse.getDescriptor()) + .add(UndeployIssueModelResponse.getDescriptor()) + .add(CreateIssueModelMetadata.getDescriptor()) + .add(UndeployIssueModelMetadata.getDescriptor()) + .add(ExportInsightsDataMetadata.getDescriptor()) + .add(IssueModel.getDescriptor()) + .add(DeployIssueModelResponse.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + createConversationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/CreateConversation") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/conversations", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "conversationId", request.getConversationId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("conversation", request.getConversation())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Conversation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateConversationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/UpdateConversation") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{conversation.name=projects/*/locations/*/conversations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "conversation.name", request.getConversation().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("conversation", request.getConversation())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Conversation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getConversationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/GetConversation") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/conversations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Conversation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listConversationsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/ListConversations") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/conversations", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListConversationsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteConversationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/DeleteConversation") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/conversations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createAnalysisMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/CreateAnalysis") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/conversations/*}/analyses", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("analysis", request.getAnalysis())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateAnalysisRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + getAnalysisMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/GetAnalysis") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Analysis.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listAnalysesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/ListAnalyses") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/conversations/*}/analyses", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListAnalysesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteAnalysisMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/DeleteAnalysis") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + exportInsightsDataMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/ExportInsightsData") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/insightsdata:export", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ExportInsightsDataRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + createIssueModelMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/CreateIssueModel") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/issueModels", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("issueModel", request.getIssueModel())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateIssueModelRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updateIssueModelMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/UpdateIssueModel") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{issueModel.name=projects/*/locations/*/issueModels/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "issueModel.name", request.getIssueModel().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("issueModel", request.getIssueModel())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(IssueModel.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIssueModelMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/GetIssueModel") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/issueModels/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(IssueModel.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listIssueModelsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/ListIssueModels") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/issueModels", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListIssueModelsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteIssueModelMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/DeleteIssueModel") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/issueModels/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteIssueModelRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deployIssueModelMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/DeployIssueModel") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/issueModels/*}:deploy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeployIssueModelRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + undeployIssueModelMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/UndeployIssueModel") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/issueModels/*}:undeploy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (UndeployIssueModelRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor getIssueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.contactcenterinsights.v1.ContactCenterInsights/GetIssue") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/issueModels/*/issues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Issue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listIssuesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/ListIssues") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/issueModels/*}/issues", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListIssuesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateIssueMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/UpdateIssue") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{issue.name=projects/*/locations/*/issueModels/*/issues/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "issue.name", request.getIssue().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("issue", request.getIssue())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Issue.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + CalculateIssueModelStatsRequest, CalculateIssueModelStatsResponse> + calculateIssueModelStatsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/CalculateIssueModelStats") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{issueModel=projects/*/locations/*/issueModels/*}:calculateIssueModelStats", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "issueModel", request.getIssueModel()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(CalculateIssueModelStatsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createPhraseMatcherMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/CreatePhraseMatcher") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/phraseMatchers", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("phraseMatcher", request.getPhraseMatcher())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(PhraseMatcher.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getPhraseMatcherMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/GetPhraseMatcher") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/phraseMatchers/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(PhraseMatcher.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listPhraseMatchersMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/ListPhraseMatchers") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/phraseMatchers", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListPhraseMatchersResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deletePhraseMatcherMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/DeletePhraseMatcher") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/phraseMatchers/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updatePhraseMatcherMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/UpdatePhraseMatcher") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{phraseMatcher.name=projects/*/locations/*/phraseMatchers/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "phraseMatcher.name", request.getPhraseMatcher().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("phraseMatcher", request.getPhraseMatcher())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(PhraseMatcher.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + calculateStatsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/CalculateStats") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{location=projects/*/locations/*}/conversations:calculateStats", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "location", request.getLocation()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(CalculateStatsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getSettingsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/GetSettings") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/settings}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Settings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateSettingsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/UpdateSettings") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{settings.name=projects/*/locations/*/settings}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "settings.name", request.getSettings().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("settings", request.getSettings())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Settings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createViewMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/CreateView") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/views", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("view", request.getView())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(View.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getViewMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.contactcenterinsights.v1.ContactCenterInsights/GetView") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/views/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(View.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listViewsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/ListViews") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/views", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListViewsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateViewMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/UpdateView") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{view.name=projects/*/locations/*/views/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "view.name", request.getView().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("view", request.getView())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(View.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteViewMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.contactcenterinsights.v1.ContactCenterInsights/DeleteView") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/views/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable createConversationCallable; + private final UnaryCallable updateConversationCallable; + private final UnaryCallable getConversationCallable; + private final UnaryCallable + listConversationsCallable; + private final UnaryCallable + listConversationsPagedCallable; + private final UnaryCallable deleteConversationCallable; + private final UnaryCallable createAnalysisCallable; + private final OperationCallable + createAnalysisOperationCallable; + private final UnaryCallable getAnalysisCallable; + private final UnaryCallable listAnalysesCallable; + private final UnaryCallable + listAnalysesPagedCallable; + private final UnaryCallable deleteAnalysisCallable; + private final UnaryCallable exportInsightsDataCallable; + private final OperationCallable< + ExportInsightsDataRequest, ExportInsightsDataResponse, ExportInsightsDataMetadata> + exportInsightsDataOperationCallable; + private final UnaryCallable createIssueModelCallable; + private final OperationCallable + createIssueModelOperationCallable; + private final UnaryCallable updateIssueModelCallable; + private final UnaryCallable getIssueModelCallable; + private final UnaryCallable + listIssueModelsCallable; + private final UnaryCallable deleteIssueModelCallable; + private final OperationCallable + deleteIssueModelOperationCallable; + private final UnaryCallable deployIssueModelCallable; + private final OperationCallable< + DeployIssueModelRequest, DeployIssueModelResponse, DeployIssueModelMetadata> + deployIssueModelOperationCallable; + private final UnaryCallable undeployIssueModelCallable; + private final OperationCallable< + UndeployIssueModelRequest, UndeployIssueModelResponse, UndeployIssueModelMetadata> + undeployIssueModelOperationCallable; + private final UnaryCallable getIssueCallable; + private final UnaryCallable listIssuesCallable; + private final UnaryCallable updateIssueCallable; + private final UnaryCallable + calculateIssueModelStatsCallable; + private final UnaryCallable + createPhraseMatcherCallable; + private final UnaryCallable getPhraseMatcherCallable; + private final UnaryCallable + listPhraseMatchersCallable; + private final UnaryCallable + listPhraseMatchersPagedCallable; + private final UnaryCallable deletePhraseMatcherCallable; + private final UnaryCallable + updatePhraseMatcherCallable; + private final UnaryCallable calculateStatsCallable; + private final UnaryCallable getSettingsCallable; + private final UnaryCallable updateSettingsCallable; + private final UnaryCallable createViewCallable; + private final UnaryCallable getViewCallable; + private final UnaryCallable listViewsCallable; + private final UnaryCallable listViewsPagedCallable; + private final UnaryCallable updateViewCallable; + private final UnaryCallable deleteViewCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonContactCenterInsightsStub create( + ContactCenterInsightsStubSettings settings) throws IOException { + return new HttpJsonContactCenterInsightsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonContactCenterInsightsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonContactCenterInsightsStub( + ContactCenterInsightsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonContactCenterInsightsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonContactCenterInsightsStub( + ContactCenterInsightsStubSettings.newHttpJsonBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonContactCenterInsightsStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonContactCenterInsightsStub( + ContactCenterInsightsStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonContactCenterInsightsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonContactCenterInsightsStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonContactCenterInsightsStub( + ContactCenterInsightsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings + createConversationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createConversationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + updateConversationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateConversationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getConversationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getConversationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listConversationsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listConversationsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteConversationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteConversationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createAnalysisTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createAnalysisMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getAnalysisTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAnalysisMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listAnalysesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listAnalysesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteAnalysisTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteAnalysisMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings exportInsightsDataTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(exportInsightsDataMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createIssueModelTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createIssueModelMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateIssueModelTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateIssueModelMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getIssueModelTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIssueModelMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listIssueModelsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listIssueModelsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteIssueModelTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteIssueModelMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deployIssueModelTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deployIssueModelMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings undeployIssueModelTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(undeployIssueModelMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getIssueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIssueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listIssuesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listIssuesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateIssueTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateIssueMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + calculateIssueModelStatsTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(calculateIssueModelStatsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + createPhraseMatcherTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createPhraseMatcherMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getPhraseMatcherTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getPhraseMatcherMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listPhraseMatchersTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listPhraseMatchersMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deletePhraseMatcherTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deletePhraseMatcherMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + updatePhraseMatcherTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updatePhraseMatcherMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + calculateStatsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(calculateStatsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getSettingsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getSettingsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateSettingsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateSettingsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createViewTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createViewMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getViewTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getViewMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listViewsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listViewsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateViewTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateViewMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteViewTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteViewMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.createConversationCallable = + callableFactory.createUnaryCallable( + createConversationTransportSettings, + settings.createConversationSettings(), + clientContext); + this.updateConversationCallable = + callableFactory.createUnaryCallable( + updateConversationTransportSettings, + settings.updateConversationSettings(), + clientContext); + this.getConversationCallable = + callableFactory.createUnaryCallable( + getConversationTransportSettings, settings.getConversationSettings(), clientContext); + this.listConversationsCallable = + callableFactory.createUnaryCallable( + listConversationsTransportSettings, + settings.listConversationsSettings(), + clientContext); + this.listConversationsPagedCallable = + callableFactory.createPagedCallable( + listConversationsTransportSettings, + settings.listConversationsSettings(), + clientContext); + this.deleteConversationCallable = + callableFactory.createUnaryCallable( + deleteConversationTransportSettings, + settings.deleteConversationSettings(), + clientContext); + this.createAnalysisCallable = + callableFactory.createUnaryCallable( + createAnalysisTransportSettings, settings.createAnalysisSettings(), clientContext); + this.createAnalysisOperationCallable = + callableFactory.createOperationCallable( + createAnalysisTransportSettings, + settings.createAnalysisOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getAnalysisCallable = + callableFactory.createUnaryCallable( + getAnalysisTransportSettings, settings.getAnalysisSettings(), clientContext); + this.listAnalysesCallable = + callableFactory.createUnaryCallable( + listAnalysesTransportSettings, settings.listAnalysesSettings(), clientContext); + this.listAnalysesPagedCallable = + callableFactory.createPagedCallable( + listAnalysesTransportSettings, settings.listAnalysesSettings(), clientContext); + this.deleteAnalysisCallable = + callableFactory.createUnaryCallable( + deleteAnalysisTransportSettings, settings.deleteAnalysisSettings(), clientContext); + this.exportInsightsDataCallable = + callableFactory.createUnaryCallable( + exportInsightsDataTransportSettings, + settings.exportInsightsDataSettings(), + clientContext); + this.exportInsightsDataOperationCallable = + callableFactory.createOperationCallable( + exportInsightsDataTransportSettings, + settings.exportInsightsDataOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.createIssueModelCallable = + callableFactory.createUnaryCallable( + createIssueModelTransportSettings, settings.createIssueModelSettings(), clientContext); + this.createIssueModelOperationCallable = + callableFactory.createOperationCallable( + createIssueModelTransportSettings, + settings.createIssueModelOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updateIssueModelCallable = + callableFactory.createUnaryCallable( + updateIssueModelTransportSettings, settings.updateIssueModelSettings(), clientContext); + this.getIssueModelCallable = + callableFactory.createUnaryCallable( + getIssueModelTransportSettings, settings.getIssueModelSettings(), clientContext); + this.listIssueModelsCallable = + callableFactory.createUnaryCallable( + listIssueModelsTransportSettings, settings.listIssueModelsSettings(), clientContext); + this.deleteIssueModelCallable = + callableFactory.createUnaryCallable( + deleteIssueModelTransportSettings, settings.deleteIssueModelSettings(), clientContext); + this.deleteIssueModelOperationCallable = + callableFactory.createOperationCallable( + deleteIssueModelTransportSettings, + settings.deleteIssueModelOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deployIssueModelCallable = + callableFactory.createUnaryCallable( + deployIssueModelTransportSettings, settings.deployIssueModelSettings(), clientContext); + this.deployIssueModelOperationCallable = + callableFactory.createOperationCallable( + deployIssueModelTransportSettings, + settings.deployIssueModelOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.undeployIssueModelCallable = + callableFactory.createUnaryCallable( + undeployIssueModelTransportSettings, + settings.undeployIssueModelSettings(), + clientContext); + this.undeployIssueModelOperationCallable = + callableFactory.createOperationCallable( + undeployIssueModelTransportSettings, + settings.undeployIssueModelOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getIssueCallable = + callableFactory.createUnaryCallable( + getIssueTransportSettings, settings.getIssueSettings(), clientContext); + this.listIssuesCallable = + callableFactory.createUnaryCallable( + listIssuesTransportSettings, settings.listIssuesSettings(), clientContext); + this.updateIssueCallable = + callableFactory.createUnaryCallable( + updateIssueTransportSettings, settings.updateIssueSettings(), clientContext); + this.calculateIssueModelStatsCallable = + callableFactory.createUnaryCallable( + calculateIssueModelStatsTransportSettings, + settings.calculateIssueModelStatsSettings(), + clientContext); + this.createPhraseMatcherCallable = + callableFactory.createUnaryCallable( + createPhraseMatcherTransportSettings, + settings.createPhraseMatcherSettings(), + clientContext); + this.getPhraseMatcherCallable = + callableFactory.createUnaryCallable( + getPhraseMatcherTransportSettings, settings.getPhraseMatcherSettings(), clientContext); + this.listPhraseMatchersCallable = + callableFactory.createUnaryCallable( + listPhraseMatchersTransportSettings, + settings.listPhraseMatchersSettings(), + clientContext); + this.listPhraseMatchersPagedCallable = + callableFactory.createPagedCallable( + listPhraseMatchersTransportSettings, + settings.listPhraseMatchersSettings(), + clientContext); + this.deletePhraseMatcherCallable = + callableFactory.createUnaryCallable( + deletePhraseMatcherTransportSettings, + settings.deletePhraseMatcherSettings(), + clientContext); + this.updatePhraseMatcherCallable = + callableFactory.createUnaryCallable( + updatePhraseMatcherTransportSettings, + settings.updatePhraseMatcherSettings(), + clientContext); + this.calculateStatsCallable = + callableFactory.createUnaryCallable( + calculateStatsTransportSettings, settings.calculateStatsSettings(), clientContext); + this.getSettingsCallable = + callableFactory.createUnaryCallable( + getSettingsTransportSettings, settings.getSettingsSettings(), clientContext); + this.updateSettingsCallable = + callableFactory.createUnaryCallable( + updateSettingsTransportSettings, settings.updateSettingsSettings(), clientContext); + this.createViewCallable = + callableFactory.createUnaryCallable( + createViewTransportSettings, settings.createViewSettings(), clientContext); + this.getViewCallable = + callableFactory.createUnaryCallable( + getViewTransportSettings, settings.getViewSettings(), clientContext); + this.listViewsCallable = + callableFactory.createUnaryCallable( + listViewsTransportSettings, settings.listViewsSettings(), clientContext); + this.listViewsPagedCallable = + callableFactory.createPagedCallable( + listViewsTransportSettings, settings.listViewsSettings(), clientContext); + this.updateViewCallable = + callableFactory.createUnaryCallable( + updateViewTransportSettings, settings.updateViewSettings(), clientContext); + this.deleteViewCallable = + callableFactory.createUnaryCallable( + deleteViewTransportSettings, settings.deleteViewSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(createConversationMethodDescriptor); + methodDescriptors.add(updateConversationMethodDescriptor); + methodDescriptors.add(getConversationMethodDescriptor); + methodDescriptors.add(listConversationsMethodDescriptor); + methodDescriptors.add(deleteConversationMethodDescriptor); + methodDescriptors.add(createAnalysisMethodDescriptor); + methodDescriptors.add(getAnalysisMethodDescriptor); + methodDescriptors.add(listAnalysesMethodDescriptor); + methodDescriptors.add(deleteAnalysisMethodDescriptor); + methodDescriptors.add(exportInsightsDataMethodDescriptor); + methodDescriptors.add(createIssueModelMethodDescriptor); + methodDescriptors.add(updateIssueModelMethodDescriptor); + methodDescriptors.add(getIssueModelMethodDescriptor); + methodDescriptors.add(listIssueModelsMethodDescriptor); + methodDescriptors.add(deleteIssueModelMethodDescriptor); + methodDescriptors.add(deployIssueModelMethodDescriptor); + methodDescriptors.add(undeployIssueModelMethodDescriptor); + methodDescriptors.add(getIssueMethodDescriptor); + methodDescriptors.add(listIssuesMethodDescriptor); + methodDescriptors.add(updateIssueMethodDescriptor); + methodDescriptors.add(calculateIssueModelStatsMethodDescriptor); + methodDescriptors.add(createPhraseMatcherMethodDescriptor); + methodDescriptors.add(getPhraseMatcherMethodDescriptor); + methodDescriptors.add(listPhraseMatchersMethodDescriptor); + methodDescriptors.add(deletePhraseMatcherMethodDescriptor); + methodDescriptors.add(updatePhraseMatcherMethodDescriptor); + methodDescriptors.add(calculateStatsMethodDescriptor); + methodDescriptors.add(getSettingsMethodDescriptor); + methodDescriptors.add(updateSettingsMethodDescriptor); + methodDescriptors.add(createViewMethodDescriptor); + methodDescriptors.add(getViewMethodDescriptor); + methodDescriptors.add(listViewsMethodDescriptor); + methodDescriptors.add(updateViewMethodDescriptor); + methodDescriptors.add(deleteViewMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable createConversationCallable() { + return createConversationCallable; + } + + @Override + public UnaryCallable updateConversationCallable() { + return updateConversationCallable; + } + + @Override + public UnaryCallable getConversationCallable() { + return getConversationCallable; + } + + @Override + public UnaryCallable + listConversationsCallable() { + return listConversationsCallable; + } + + @Override + public UnaryCallable + listConversationsPagedCallable() { + return listConversationsPagedCallable; + } + + @Override + public UnaryCallable deleteConversationCallable() { + return deleteConversationCallable; + } + + @Override + public UnaryCallable createAnalysisCallable() { + return createAnalysisCallable; + } + + @Override + public OperationCallable + createAnalysisOperationCallable() { + return createAnalysisOperationCallable; + } + + @Override + public UnaryCallable getAnalysisCallable() { + return getAnalysisCallable; + } + + @Override + public UnaryCallable listAnalysesCallable() { + return listAnalysesCallable; + } + + @Override + public UnaryCallable listAnalysesPagedCallable() { + return listAnalysesPagedCallable; + } + + @Override + public UnaryCallable deleteAnalysisCallable() { + return deleteAnalysisCallable; + } + + @Override + public UnaryCallable exportInsightsDataCallable() { + return exportInsightsDataCallable; + } + + @Override + public OperationCallable< + ExportInsightsDataRequest, ExportInsightsDataResponse, ExportInsightsDataMetadata> + exportInsightsDataOperationCallable() { + return exportInsightsDataOperationCallable; + } + + @Override + public UnaryCallable createIssueModelCallable() { + return createIssueModelCallable; + } + + @Override + public OperationCallable + createIssueModelOperationCallable() { + return createIssueModelOperationCallable; + } + + @Override + public UnaryCallable updateIssueModelCallable() { + return updateIssueModelCallable; + } + + @Override + public UnaryCallable getIssueModelCallable() { + return getIssueModelCallable; + } + + @Override + public UnaryCallable listIssueModelsCallable() { + return listIssueModelsCallable; + } + + @Override + public UnaryCallable deleteIssueModelCallable() { + return deleteIssueModelCallable; + } + + @Override + public OperationCallable + deleteIssueModelOperationCallable() { + return deleteIssueModelOperationCallable; + } + + @Override + public UnaryCallable deployIssueModelCallable() { + return deployIssueModelCallable; + } + + @Override + public OperationCallable< + DeployIssueModelRequest, DeployIssueModelResponse, DeployIssueModelMetadata> + deployIssueModelOperationCallable() { + return deployIssueModelOperationCallable; + } + + @Override + public UnaryCallable undeployIssueModelCallable() { + return undeployIssueModelCallable; + } + + @Override + public OperationCallable< + UndeployIssueModelRequest, UndeployIssueModelResponse, UndeployIssueModelMetadata> + undeployIssueModelOperationCallable() { + return undeployIssueModelOperationCallable; + } + + @Override + public UnaryCallable getIssueCallable() { + return getIssueCallable; + } + + @Override + public UnaryCallable listIssuesCallable() { + return listIssuesCallable; + } + + @Override + public UnaryCallable updateIssueCallable() { + return updateIssueCallable; + } + + @Override + public UnaryCallable + calculateIssueModelStatsCallable() { + return calculateIssueModelStatsCallable; + } + + @Override + public UnaryCallable createPhraseMatcherCallable() { + return createPhraseMatcherCallable; + } + + @Override + public UnaryCallable getPhraseMatcherCallable() { + return getPhraseMatcherCallable; + } + + @Override + public UnaryCallable + listPhraseMatchersCallable() { + return listPhraseMatchersCallable; + } + + @Override + public UnaryCallable + listPhraseMatchersPagedCallable() { + return listPhraseMatchersPagedCallable; + } + + @Override + public UnaryCallable deletePhraseMatcherCallable() { + return deletePhraseMatcherCallable; + } + + @Override + public UnaryCallable updatePhraseMatcherCallable() { + return updatePhraseMatcherCallable; + } + + @Override + public UnaryCallable calculateStatsCallable() { + return calculateStatsCallable; + } + + @Override + public UnaryCallable getSettingsCallable() { + return getSettingsCallable; + } + + @Override + public UnaryCallable updateSettingsCallable() { + return updateSettingsCallable; + } + + @Override + public UnaryCallable createViewCallable() { + return createViewCallable; + } + + @Override + public UnaryCallable getViewCallable() { + return getViewCallable; + } + + @Override + public UnaryCallable listViewsCallable() { + return listViewsCallable; + } + + @Override + public UnaryCallable listViewsPagedCallable() { + return listViewsPagedCallable; + } + + @Override + public UnaryCallable updateViewCallable() { + return updateViewCallable; + } + + @Override + public UnaryCallable deleteViewCallable() { + return deleteViewCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java new file mode 100644 index 00000000..973ce84f --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java @@ -0,0 +1,3242 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListAnalysesPagedResponse; +import static com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListConversationsPagedResponse; +import static com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListPhraseMatchersPagedResponse; +import static com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient.ListViewsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.contactcenterinsights.v1.stub.HttpJsonContactCenterInsightsStub; +import com.google.common.collect.Lists; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ContactCenterInsightsClientHttpJsonTest { + private static MockHttpService mockService; + private static ContactCenterInsightsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonContactCenterInsightsStub.getMethodDescriptors(), + ContactCenterInsightsSettings.getDefaultEndpoint()); + ContactCenterInsightsSettings settings = + ContactCenterInsightsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ContactCenterInsightsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ContactCenterInsightsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void createConversationTest() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setDataSource(ConversationDataSource.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setAgentId("agentId-1060987136") + .putAllLabels(new HashMap()) + .setTranscript(Conversation.Transcript.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setTurnCount(428155597) + .setLatestAnalysis(Analysis.newBuilder().build()) + .addAllRuntimeAnnotations(new ArrayList()) + .putAllDialogflowIntents(new HashMap()) + .setObfuscatedUserId("obfuscatedUserId971552298") + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Conversation conversation = Conversation.newBuilder().build(); + String conversationId = "conversationId-1676095234"; + + Conversation actualResponse = client.createConversation(parent, conversation, conversationId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createConversationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Conversation conversation = Conversation.newBuilder().build(); + String conversationId = "conversationId-1676095234"; + client.createConversation(parent, conversation, conversationId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createConversationTest2() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setDataSource(ConversationDataSource.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setAgentId("agentId-1060987136") + .putAllLabels(new HashMap()) + .setTranscript(Conversation.Transcript.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setTurnCount(428155597) + .setLatestAnalysis(Analysis.newBuilder().build()) + .addAllRuntimeAnnotations(new ArrayList()) + .putAllDialogflowIntents(new HashMap()) + .setObfuscatedUserId("obfuscatedUserId971552298") + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Conversation conversation = Conversation.newBuilder().build(); + String conversationId = "conversationId-1676095234"; + + Conversation actualResponse = client.createConversation(parent, conversation, conversationId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createConversationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Conversation conversation = Conversation.newBuilder().build(); + String conversationId = "conversationId-1676095234"; + client.createConversation(parent, conversation, conversationId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateConversationTest() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setDataSource(ConversationDataSource.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setAgentId("agentId-1060987136") + .putAllLabels(new HashMap()) + .setTranscript(Conversation.Transcript.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setTurnCount(428155597) + .setLatestAnalysis(Analysis.newBuilder().build()) + .addAllRuntimeAnnotations(new ArrayList()) + .putAllDialogflowIntents(new HashMap()) + .setObfuscatedUserId("obfuscatedUserId971552298") + .build(); + mockService.addResponse(expectedResponse); + + Conversation conversation = + Conversation.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setDataSource(ConversationDataSource.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setAgentId("agentId-1060987136") + .putAllLabels(new HashMap()) + .setTranscript(Conversation.Transcript.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setTurnCount(428155597) + .setLatestAnalysis(Analysis.newBuilder().build()) + .addAllRuntimeAnnotations(new ArrayList()) + .putAllDialogflowIntents(new HashMap()) + .setObfuscatedUserId("obfuscatedUserId971552298") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Conversation actualResponse = client.updateConversation(conversation, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateConversationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Conversation conversation = + Conversation.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setDataSource(ConversationDataSource.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setAgentId("agentId-1060987136") + .putAllLabels(new HashMap()) + .setTranscript(Conversation.Transcript.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setTurnCount(428155597) + .setLatestAnalysis(Analysis.newBuilder().build()) + .addAllRuntimeAnnotations(new ArrayList()) + .putAllDialogflowIntents(new HashMap()) + .setObfuscatedUserId("obfuscatedUserId971552298") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateConversation(conversation, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getConversationTest() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setDataSource(ConversationDataSource.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setAgentId("agentId-1060987136") + .putAllLabels(new HashMap()) + .setTranscript(Conversation.Transcript.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setTurnCount(428155597) + .setLatestAnalysis(Analysis.newBuilder().build()) + .addAllRuntimeAnnotations(new ArrayList()) + .putAllDialogflowIntents(new HashMap()) + .setObfuscatedUserId("obfuscatedUserId971552298") + .build(); + mockService.addResponse(expectedResponse); + + ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + + Conversation actualResponse = client.getConversation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getConversationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + client.getConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getConversationTest2() throws Exception { + Conversation expectedResponse = + Conversation.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setDataSource(ConversationDataSource.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setStartTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setAgentId("agentId-1060987136") + .putAllLabels(new HashMap()) + .setTranscript(Conversation.Transcript.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) + .setTurnCount(428155597) + .setLatestAnalysis(Analysis.newBuilder().build()) + .addAllRuntimeAnnotations(new ArrayList()) + .putAllDialogflowIntents(new HashMap()) + .setObfuscatedUserId("obfuscatedUserId971552298") + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3338/locations/location-3338/conversations/conversation-3338"; + + Conversation actualResponse = client.getConversation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getConversationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3338/locations/location-3338/conversations/conversation-3338"; + client.getConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listConversationsTest() throws Exception { + Conversation responsesElement = Conversation.newBuilder().build(); + ListConversationsResponse expectedResponse = + ListConversationsResponse.newBuilder() + .setNextPageToken("") + .addAllConversations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListConversationsPagedResponse pagedListResponse = client.listConversations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getConversationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listConversationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listConversations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listConversationsTest2() throws Exception { + Conversation responsesElement = Conversation.newBuilder().build(); + ListConversationsResponse expectedResponse = + ListConversationsResponse.newBuilder() + .setNextPageToken("") + .addAllConversations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListConversationsPagedResponse pagedListResponse = client.listConversations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getConversationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listConversationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listConversations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteConversationTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + + client.deleteConversation(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteConversationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + client.deleteConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteConversationTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3338/locations/location-3338/conversations/conversation-3338"; + + client.deleteConversation(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteConversationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3338/locations/location-3338/conversations/conversation-3338"; + client.deleteConversation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAnalysisTest() throws Exception { + Analysis expectedResponse = + Analysis.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .setRequestTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setAnalysisResult(AnalysisResult.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAnalysisTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Analysis analysis = Analysis.newBuilder().build(); + + Analysis actualResponse = client.createAnalysisAsync(parent, analysis).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createAnalysisExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Analysis analysis = Analysis.newBuilder().build(); + client.createAnalysisAsync(parent, analysis).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createAnalysisTest2() throws Exception { + Analysis expectedResponse = + Analysis.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .setRequestTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setAnalysisResult(AnalysisResult.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createAnalysisTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-8053/locations/location-8053/conversations/conversation-8053"; + Analysis analysis = Analysis.newBuilder().build(); + + Analysis actualResponse = client.createAnalysisAsync(parent, analysis).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createAnalysisExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-8053/locations/location-8053/conversations/conversation-8053"; + Analysis analysis = Analysis.newBuilder().build(); + client.createAnalysisAsync(parent, analysis).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getAnalysisTest() throws Exception { + Analysis expectedResponse = + Analysis.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .setRequestTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setAnalysisResult(AnalysisResult.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + AnalysisName name = AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + + Analysis actualResponse = client.getAnalysis(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAnalysisExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AnalysisName name = + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + client.getAnalysis(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAnalysisTest2() throws Exception { + Analysis expectedResponse = + Analysis.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .setRequestTime(Timestamp.newBuilder().build()) + .setCreateTime(Timestamp.newBuilder().build()) + .setAnalysisResult(AnalysisResult.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-3940/locations/location-3940/conversations/conversation-3940/analyses/analyse-3940"; + + Analysis actualResponse = client.getAnalysis(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAnalysisExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3940/locations/location-3940/conversations/conversation-3940/analyses/analyse-3940"; + client.getAnalysis(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAnalysesTest() throws Exception { + Analysis responsesElement = Analysis.newBuilder().build(); + ListAnalysesResponse expectedResponse = + ListAnalysesResponse.newBuilder() + .setNextPageToken("") + .addAllAnalyses(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + + ListAnalysesPagedResponse pagedListResponse = client.listAnalyses(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAnalysesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listAnalysesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + client.listAnalyses(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAnalysesTest2() throws Exception { + Analysis responsesElement = Analysis.newBuilder().build(); + ListAnalysesResponse expectedResponse = + ListAnalysesResponse.newBuilder() + .setNextPageToken("") + .addAllAnalyses(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-8053/locations/location-8053/conversations/conversation-8053"; + + ListAnalysesPagedResponse pagedListResponse = client.listAnalyses(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAnalysesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listAnalysesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-8053/locations/location-8053/conversations/conversation-8053"; + client.listAnalyses(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAnalysisTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + AnalysisName name = AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + + client.deleteAnalysis(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteAnalysisExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AnalysisName name = + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + client.deleteAnalysis(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAnalysisTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-3940/locations/location-3940/conversations/conversation-3940/analyses/analyse-3940"; + + client.deleteAnalysis(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteAnalysisExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3940/locations/location-3940/conversations/conversation-3940/analyses/analyse-3940"; + client.deleteAnalysis(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void exportInsightsDataTest() throws Exception { + ExportInsightsDataResponse expectedResponse = ExportInsightsDataResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportInsightsDataTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ExportInsightsDataResponse actualResponse = client.exportInsightsDataAsync(parent).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void exportInsightsDataExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.exportInsightsDataAsync(parent).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void exportInsightsDataTest2() throws Exception { + ExportInsightsDataResponse expectedResponse = ExportInsightsDataResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportInsightsDataTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + + ExportInsightsDataResponse actualResponse = client.exportInsightsDataAsync(parent).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void exportInsightsDataExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.exportInsightsDataAsync(parent).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createIssueModelTest() throws Exception { + IssueModel expectedResponse = + IssueModel.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) + .setTrainingStats(IssueModelLabelStats.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + IssueModel issueModel = IssueModel.newBuilder().build(); + + IssueModel actualResponse = client.createIssueModelAsync(parent, issueModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createIssueModelExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + IssueModel issueModel = IssueModel.newBuilder().build(); + client.createIssueModelAsync(parent, issueModel).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createIssueModelTest2() throws Exception { + IssueModel expectedResponse = + IssueModel.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) + .setTrainingStats(IssueModelLabelStats.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + IssueModel issueModel = IssueModel.newBuilder().build(); + + IssueModel actualResponse = client.createIssueModelAsync(parent, issueModel).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createIssueModelExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + IssueModel issueModel = IssueModel.newBuilder().build(); + client.createIssueModelAsync(parent, issueModel).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateIssueModelTest() throws Exception { + IssueModel expectedResponse = + IssueModel.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) + .setTrainingStats(IssueModelLabelStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + IssueModel issueModel = + IssueModel.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) + .setTrainingStats(IssueModelLabelStats.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + IssueModel actualResponse = client.updateIssueModel(issueModel, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateIssueModelExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueModel issueModel = + IssueModel.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) + .setTrainingStats(IssueModelLabelStats.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateIssueModel(issueModel, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIssueModelTest() throws Exception { + IssueModel expectedResponse = + IssueModel.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) + .setTrainingStats(IssueModelLabelStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + + IssueModel actualResponse = client.getIssueModel(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIssueModelExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + client.getIssueModel(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIssueModelTest2() throws Exception { + IssueModel expectedResponse = + IssueModel.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setInputDataConfig(IssueModel.InputDataConfig.newBuilder().build()) + .setTrainingStats(IssueModelLabelStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + + IssueModel actualResponse = client.getIssueModel(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIssueModelExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + client.getIssueModel(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listIssueModelsTest() throws Exception { + ListIssueModelsResponse expectedResponse = + ListIssueModelsResponse.newBuilder().addAllIssueModels(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListIssueModelsResponse actualResponse = client.listIssueModels(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listIssueModelsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listIssueModels(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listIssueModelsTest2() throws Exception { + ListIssueModelsResponse expectedResponse = + ListIssueModelsResponse.newBuilder().addAllIssueModels(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListIssueModelsResponse actualResponse = client.listIssueModels(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listIssueModelsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listIssueModels(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteIssueModelTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + + client.deleteIssueModelAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteIssueModelExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + client.deleteIssueModelAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteIssueModelTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + + client.deleteIssueModelAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteIssueModelExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + client.deleteIssueModelAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deployIssueModelTest() throws Exception { + DeployIssueModelResponse expectedResponse = DeployIssueModelResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deployIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + + DeployIssueModelResponse actualResponse = client.deployIssueModelAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deployIssueModelExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + client.deployIssueModelAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deployIssueModelTest2() throws Exception { + DeployIssueModelResponse expectedResponse = DeployIssueModelResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deployIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + + DeployIssueModelResponse actualResponse = client.deployIssueModelAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deployIssueModelExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + client.deployIssueModelAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void undeployIssueModelTest() throws Exception { + UndeployIssueModelResponse expectedResponse = UndeployIssueModelResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeployIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + + UndeployIssueModelResponse actualResponse = client.undeployIssueModelAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void undeployIssueModelExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + client.undeployIssueModelAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void undeployIssueModelTest2() throws Exception { + UndeployIssueModelResponse expectedResponse = UndeployIssueModelResponse.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeployIssueModelTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + + UndeployIssueModelResponse actualResponse = client.undeployIssueModelAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void undeployIssueModelExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9415/locations/location-9415/issueModels/issueModel-9415"; + client.undeployIssueModelAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getIssueTest() throws Exception { + Issue expectedResponse = + Issue.newBuilder() + .setName(IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + IssueName name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + + Issue actualResponse = client.getIssue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIssueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueName name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + client.getIssue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIssueTest2() throws Exception { + Issue expectedResponse = + Issue.newBuilder() + .setName(IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9867/locations/location-9867/issueModels/issueModel-9867/issues/issue-9867"; + + Issue actualResponse = client.getIssue(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIssueExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9867/locations/location-9867/issueModels/issueModel-9867/issues/issue-9867"; + client.getIssue(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listIssuesTest() throws Exception { + ListIssuesResponse expectedResponse = + ListIssuesResponse.newBuilder().addAllIssues(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + IssueModelName parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + + ListIssuesResponse actualResponse = client.listIssues(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listIssuesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueModelName parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + client.listIssues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listIssuesTest2() throws Exception { + ListIssuesResponse expectedResponse = + ListIssuesResponse.newBuilder().addAllIssues(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-7032/locations/location-7032/issueModels/issueModel-7032"; + + ListIssuesResponse actualResponse = client.listIssues(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listIssuesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-7032/locations/location-7032/issueModels/issueModel-7032"; + client.listIssues(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateIssueTest() throws Exception { + Issue expectedResponse = + Issue.newBuilder() + .setName(IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Issue issue = + Issue.newBuilder() + .setName(IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Issue actualResponse = client.updateIssue(issue, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateIssueExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Issue issue = + Issue.newBuilder() + .setName( + IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateIssue(issue, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void calculateIssueModelStatsTest() throws Exception { + CalculateIssueModelStatsResponse expectedResponse = + CalculateIssueModelStatsResponse.newBuilder() + .setCurrentStats(IssueModelLabelStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + IssueModelName issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + + CalculateIssueModelStatsResponse actualResponse = client.calculateIssueModelStats(issueModel); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void calculateIssueModelStatsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + IssueModelName issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + client.calculateIssueModelStats(issueModel); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void calculateIssueModelStatsTest2() throws Exception { + CalculateIssueModelStatsResponse expectedResponse = + CalculateIssueModelStatsResponse.newBuilder() + .setCurrentStats(IssueModelLabelStats.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String issueModel = "projects/project-2174/locations/location-2174/issueModels/issueModel-2174"; + + CalculateIssueModelStatsResponse actualResponse = client.calculateIssueModelStats(issueModel); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void calculateIssueModelStatsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String issueModel = + "projects/project-2174/locations/location-2174/issueModels/issueModel-2174"; + client.calculateIssueModelStats(issueModel); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPhraseMatcherTest() throws Exception { + PhraseMatcher expectedResponse = + PhraseMatcher.newBuilder() + .setName(PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .setRevisionId("revisionId-1507445162") + .setVersionTag("versionTag-670508126") + .setRevisionCreateTime(Timestamp.newBuilder().build()) + .setDisplayName("displayName1714148973") + .setActive(true) + .addAllPhraseMatchRuleGroups(new ArrayList()) + .setActivationUpdateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); + + PhraseMatcher actualResponse = client.createPhraseMatcher(parent, phraseMatcher); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createPhraseMatcherExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); + client.createPhraseMatcher(parent, phraseMatcher); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createPhraseMatcherTest2() throws Exception { + PhraseMatcher expectedResponse = + PhraseMatcher.newBuilder() + .setName(PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .setRevisionId("revisionId-1507445162") + .setVersionTag("versionTag-670508126") + .setRevisionCreateTime(Timestamp.newBuilder().build()) + .setDisplayName("displayName1714148973") + .setActive(true) + .addAllPhraseMatchRuleGroups(new ArrayList()) + .setActivationUpdateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); + + PhraseMatcher actualResponse = client.createPhraseMatcher(parent, phraseMatcher); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createPhraseMatcherExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); + client.createPhraseMatcher(parent, phraseMatcher); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPhraseMatcherTest() throws Exception { + PhraseMatcher expectedResponse = + PhraseMatcher.newBuilder() + .setName(PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .setRevisionId("revisionId-1507445162") + .setVersionTag("versionTag-670508126") + .setRevisionCreateTime(Timestamp.newBuilder().build()) + .setDisplayName("displayName1714148973") + .setActive(true) + .addAllPhraseMatchRuleGroups(new ArrayList()) + .setActivationUpdateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + + PhraseMatcher actualResponse = client.getPhraseMatcher(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getPhraseMatcherExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + client.getPhraseMatcher(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPhraseMatcherTest2() throws Exception { + PhraseMatcher expectedResponse = + PhraseMatcher.newBuilder() + .setName(PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .setRevisionId("revisionId-1507445162") + .setVersionTag("versionTag-670508126") + .setRevisionCreateTime(Timestamp.newBuilder().build()) + .setDisplayName("displayName1714148973") + .setActive(true) + .addAllPhraseMatchRuleGroups(new ArrayList()) + .setActivationUpdateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-8010/locations/location-8010/phraseMatchers/phraseMatcher-8010"; + + PhraseMatcher actualResponse = client.getPhraseMatcher(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getPhraseMatcherExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-8010/locations/location-8010/phraseMatchers/phraseMatcher-8010"; + client.getPhraseMatcher(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listPhraseMatchersTest() throws Exception { + PhraseMatcher responsesElement = PhraseMatcher.newBuilder().build(); + ListPhraseMatchersResponse expectedResponse = + ListPhraseMatchersResponse.newBuilder() + .setNextPageToken("") + .addAllPhraseMatchers(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListPhraseMatchersPagedResponse pagedListResponse = client.listPhraseMatchers(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPhraseMatchersList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listPhraseMatchersExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listPhraseMatchers(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listPhraseMatchersTest2() throws Exception { + PhraseMatcher responsesElement = PhraseMatcher.newBuilder().build(); + ListPhraseMatchersResponse expectedResponse = + ListPhraseMatchersResponse.newBuilder() + .setNextPageToken("") + .addAllPhraseMatchers(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListPhraseMatchersPagedResponse pagedListResponse = client.listPhraseMatchers(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPhraseMatchersList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listPhraseMatchersExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listPhraseMatchers(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deletePhraseMatcherTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + + client.deletePhraseMatcher(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deletePhraseMatcherExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + client.deletePhraseMatcher(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deletePhraseMatcherTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-8010/locations/location-8010/phraseMatchers/phraseMatcher-8010"; + + client.deletePhraseMatcher(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deletePhraseMatcherExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-8010/locations/location-8010/phraseMatchers/phraseMatcher-8010"; + client.deletePhraseMatcher(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updatePhraseMatcherTest() throws Exception { + PhraseMatcher expectedResponse = + PhraseMatcher.newBuilder() + .setName(PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .setRevisionId("revisionId-1507445162") + .setVersionTag("versionTag-670508126") + .setRevisionCreateTime(Timestamp.newBuilder().build()) + .setDisplayName("displayName1714148973") + .setActive(true) + .addAllPhraseMatchRuleGroups(new ArrayList()) + .setActivationUpdateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + PhraseMatcher phraseMatcher = + PhraseMatcher.newBuilder() + .setName(PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .setRevisionId("revisionId-1507445162") + .setVersionTag("versionTag-670508126") + .setRevisionCreateTime(Timestamp.newBuilder().build()) + .setDisplayName("displayName1714148973") + .setActive(true) + .addAllPhraseMatchRuleGroups(new ArrayList()) + .setActivationUpdateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + PhraseMatcher actualResponse = client.updatePhraseMatcher(phraseMatcher, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updatePhraseMatcherExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PhraseMatcher phraseMatcher = + PhraseMatcher.newBuilder() + .setName( + PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .setRevisionId("revisionId-1507445162") + .setVersionTag("versionTag-670508126") + .setRevisionCreateTime(Timestamp.newBuilder().build()) + .setDisplayName("displayName1714148973") + .setActive(true) + .addAllPhraseMatchRuleGroups(new ArrayList()) + .setActivationUpdateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updatePhraseMatcher(phraseMatcher, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void calculateStatsTest() throws Exception { + CalculateStatsResponse expectedResponse = + CalculateStatsResponse.newBuilder() + .setAverageDuration(Duration.newBuilder().build()) + .setAverageTurnCount(-1693477329) + .setConversationCount(1994187347) + .putAllSmartHighlighterMatches(new HashMap()) + .putAllCustomHighlighterMatches(new HashMap()) + .putAllIssueMatches(new HashMap()) + .putAllIssueMatchesStats(new HashMap()) + .setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName location = LocationName.of("[PROJECT]", "[LOCATION]"); + + CalculateStatsResponse actualResponse = client.calculateStats(location); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void calculateStatsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName location = LocationName.of("[PROJECT]", "[LOCATION]"); + client.calculateStats(location); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void calculateStatsTest2() throws Exception { + CalculateStatsResponse expectedResponse = + CalculateStatsResponse.newBuilder() + .setAverageDuration(Duration.newBuilder().build()) + .setAverageTurnCount(-1693477329) + .setConversationCount(1994187347) + .putAllSmartHighlighterMatches(new HashMap()) + .putAllCustomHighlighterMatches(new HashMap()) + .putAllIssueMatches(new HashMap()) + .putAllIssueMatchesStats(new HashMap()) + .setConversationCountTimeSeries(CalculateStatsResponse.TimeSeries.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String location = "projects/project-7132/locations/location-7132"; + + CalculateStatsResponse actualResponse = client.calculateStats(location); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void calculateStatsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String location = "projects/project-7132/locations/location-7132"; + client.calculateStats(location); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSettingsTest() throws Exception { + Settings expectedResponse = + Settings.newBuilder() + .setName(SettingsName.of("[PROJECT]", "[LOCATION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setConversationTtl(Duration.newBuilder().build()) + .putAllPubsubNotificationSettings(new HashMap()) + .setAnalysisConfig(Settings.AnalysisConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + SettingsName name = SettingsName.of("[PROJECT]", "[LOCATION]"); + + Settings actualResponse = client.getSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSettingsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SettingsName name = SettingsName.of("[PROJECT]", "[LOCATION]"); + client.getSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSettingsTest2() throws Exception { + Settings expectedResponse = + Settings.newBuilder() + .setName(SettingsName.of("[PROJECT]", "[LOCATION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setConversationTtl(Duration.newBuilder().build()) + .putAllPubsubNotificationSettings(new HashMap()) + .setAnalysisConfig(Settings.AnalysisConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-7640/locations/location-7640/settings"; + + Settings actualResponse = client.getSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getSettingsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-7640/locations/location-7640/settings"; + client.getSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateSettingsTest() throws Exception { + Settings expectedResponse = + Settings.newBuilder() + .setName(SettingsName.of("[PROJECT]", "[LOCATION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setConversationTtl(Duration.newBuilder().build()) + .putAllPubsubNotificationSettings(new HashMap()) + .setAnalysisConfig(Settings.AnalysisConfig.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Settings settings = + Settings.newBuilder() + .setName(SettingsName.of("[PROJECT]", "[LOCATION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setConversationTtl(Duration.newBuilder().build()) + .putAllPubsubNotificationSettings(new HashMap()) + .setAnalysisConfig(Settings.AnalysisConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Settings actualResponse = client.updateSettings(settings, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateSettingsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Settings settings = + Settings.newBuilder() + .setName(SettingsName.of("[PROJECT]", "[LOCATION]").toString()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setLanguageCode("languageCode-2092349083") + .setConversationTtl(Duration.newBuilder().build()) + .putAllPubsubNotificationSettings(new HashMap()) + .setAnalysisConfig(Settings.AnalysisConfig.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateSettings(settings, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createViewTest() throws Exception { + View expectedResponse = + View.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setValue("value111972721") + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + View view = View.newBuilder().build(); + + View actualResponse = client.createView(parent, view); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createViewExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + View view = View.newBuilder().build(); + client.createView(parent, view); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createViewTest2() throws Exception { + View expectedResponse = + View.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setValue("value111972721") + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + View view = View.newBuilder().build(); + + View actualResponse = client.createView(parent, view); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createViewExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + View view = View.newBuilder().build(); + client.createView(parent, view); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getViewTest() throws Exception { + View expectedResponse = + View.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setValue("value111972721") + .build(); + mockService.addResponse(expectedResponse); + + ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); + + View actualResponse = client.getView(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getViewExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); + client.getView(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getViewTest2() throws Exception { + View expectedResponse = + View.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setValue("value111972721") + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-2284/locations/location-2284/views/view-2284"; + + View actualResponse = client.getView(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getViewExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-2284/locations/location-2284/views/view-2284"; + client.getView(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listViewsTest() throws Exception { + View responsesElement = View.newBuilder().build(); + ListViewsResponse expectedResponse = + ListViewsResponse.newBuilder() + .setNextPageToken("") + .addAllViews(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListViewsPagedResponse pagedListResponse = client.listViews(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getViewsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listViewsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listViews(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listViewsTest2() throws Exception { + View responsesElement = View.newBuilder().build(); + ListViewsResponse expectedResponse = + ListViewsResponse.newBuilder() + .setNextPageToken("") + .addAllViews(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListViewsPagedResponse pagedListResponse = client.listViews(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getViewsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listViewsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listViews(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateViewTest() throws Exception { + View expectedResponse = + View.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setValue("value111972721") + .build(); + mockService.addResponse(expectedResponse); + + View view = + View.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setValue("value111972721") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + View actualResponse = client.updateView(view, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateViewExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + View view = + View.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setValue("value111972721") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateView(view, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteViewTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); + + client.deleteView(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteViewExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); + client.deleteView(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteViewTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-2284/locations/location-2284/views/view-2284"; + + client.deleteView(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteViewExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-2284/locations/location-2284/views/view-2284"; + client.deleteView(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java similarity index 100% rename from google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java diff --git a/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java similarity index 100% rename from google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java diff --git a/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java similarity index 100% rename from google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java new file mode 100644 index 00000000..f27f54d9 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java @@ -0,0 +1,3153 @@ +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 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 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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( + 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( + 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * Export insights data to a destination defined in the request body.
+     * 
+ */ + public com.google.longrunning.Operation exportInsightsData(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an issue model.
+     * 
+ */ + public com.google.longrunning.Operation createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists issue models.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssueModelsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an issue model.
+     * 
+ */ + public com.google.longrunning.Operation deleteIssueModel(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Deploys an issue model. Returns an error if a model is already deployed.
+     * An issue model can only be used in analysis after it has been deployed.
+     * 
+ */ + public com.google.longrunning.Operation deployIssueModel(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Undeploys an issue model.
+     * An issue model can not be used in analysis after it has been undeployed.
+     * 
+ */ + public com.google.longrunning.Operation undeployIssueModel(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists issues.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssuesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an issue model's statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists phrase matchers.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a phrase matcher.
+     * 
+ */ + public com.google.protobuf.Empty deletePhraseMatcher(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets conversation statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateStatsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings getSettings(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateViewMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetViewMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists views.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListViewsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateViewMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a view.
+     * 
+ */ + public com.google.protobuf.Empty deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteViewMethod(), getCallOptions(), request); + } + } + + /** + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsFutureStub extends io.grpc.stub.AbstractFutureStub { + 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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_EXPORT_INSIGHTS_DATA = 9; + private static final int METHODID_CREATE_ISSUE_MODEL = 10; + private static final int METHODID_UPDATE_ISSUE_MODEL = 11; + private static final int METHODID_GET_ISSUE_MODEL = 12; + private static final int METHODID_LIST_ISSUE_MODELS = 13; + private static final int METHODID_DELETE_ISSUE_MODEL = 14; + private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; + private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; + private static final int METHODID_GET_ISSUE = 17; + private static final int METHODID_LIST_ISSUES = 18; + private static final int METHODID_UPDATE_ISSUE = 19; + private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; + private static final int METHODID_CREATE_PHRASE_MATCHER = 21; + private static final int METHODID_GET_PHRASE_MATCHER = 22; + private static final int METHODID_LIST_PHRASE_MATCHERS = 23; + private static final int METHODID_DELETE_PHRASE_MATCHER = 24; + private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; + private static final int METHODID_CALCULATE_STATS = 26; + private static final int METHODID_GET_SETTINGS = 27; + private static final int METHODID_UPDATE_SETTINGS = 28; + private static final int METHODID_CREATE_VIEW = 29; + private static final int METHODID_GET_VIEW = 30; + private static final int METHODID_LIST_VIEWS = 31; + private static final int METHODID_UPDATE_VIEW = 32; + private static final int METHODID_DELETE_VIEW = 33; + + 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_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_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(getExportInsightsDataMethod()) + .addMethod(getCreateIssueModelMethod()) + .addMethod(getUpdateIssueModelMethod()) + .addMethod(getGetIssueModelMethod()) + .addMethod(getListIssueModelsMethod()) + .addMethod(getDeleteIssueModelMethod()) + .addMethod(getDeployIssueModelMethod()) + .addMethod(getUndeployIssueModelMethod()) + .addMethod(getGetIssueMethod()) + .addMethod(getListIssuesMethod()) + .addMethod(getUpdateIssueMethod()) + .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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java index 25f7dfe2..5ee35bdb 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private Analysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,67 +53,58 @@ private Analysis( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (requestTime_ != null) { + subBuilder = requestTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (requestTime_ != null) { - subBuilder = requestTime_.toBuilder(); - } - requestTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestTime_); - requestTime_ = subBuilder.buildPartial(); - } - - break; + requestTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestTime_); + requestTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; - if (analysisResult_ != null) { - subBuilder = analysisResult_.toBuilder(); - } - analysisResult_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisResult_); - analysisResult_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; + if (analysisResult_ != null) { + subBuilder = analysisResult_.toBuilder(); + } + analysisResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisResult_); + analysisResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -138,33 +112,29 @@ private Analysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -172,7 +142,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -181,15 +150,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:
@@ -197,15 +165,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 { @@ -216,15 +185,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 @@ -232,15 +197,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 @@ -248,14 +209,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() { @@ -265,16 +223,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.
    * 
* - * .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 @@ -282,16 +236,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.
    * 
* - * .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 @@ -299,15 +249,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.
    * 
* - * .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() { @@ -317,17 +264,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.
    * 
* - * - * .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 @@ -335,45 +277,32 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder() { return getAnalysisResult(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +314,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_); } @@ -411,13 +341,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,26 +360,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -479,126 +415,117 @@ 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() @@ -606,15 +533,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -642,9 +570,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 @@ -663,8 +591,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Analysis result = new com.google.cloud.contactcenterinsights.v1.Analysis(this); result.name_ = name_; if (requestTimeBuilder_ == null) { result.requestTime_ = requestTime_; @@ -689,39 +616,38 @@ public com.google.cloud.contactcenterinsights.v1.Analysis 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.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; @@ -729,8 +655,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_; onChanged(); @@ -763,8 +688,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -776,8 +700,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -785,13 +707,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; @@ -800,8 +722,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -809,14 +729,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 { @@ -824,8 +745,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -833,22 +752,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -856,18 +773,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -875,16 +789,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -892,58 +806,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 requestTimeBuilder_ != null || 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. */ 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) { @@ -959,17 +854,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(); onChanged(); @@ -980,23 +872,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 (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -1008,15 +894,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() { if (requestTimeBuilder_ == null) { @@ -1030,64 +912,48 @@ 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() { - + onChanged(); 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_; @@ -1095,61 +961,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.
      * 
* - * - * .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 createTimeBuilder_ != null || 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. */ 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) { @@ -1165,18 +1012,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.
      * 
* - * - * .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(); onChanged(); @@ -1187,22 +1031,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.
      * 
* - * - * .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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1214,16 +1054,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.
      * 
* - * - * .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() { if (createTimeBuilder_ == null) { @@ -1237,67 +1073,51 @@ 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() { - + onChanged(); 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_; @@ -1305,64 +1125,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.
      * 
* - * - * .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 analysisResultBuilder_ != null || 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. */ 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(); @@ -1376,16 +1176,12 @@ 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 setAnalysisResult( com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder builderForValue) { @@ -1399,25 +1195,18 @@ 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 (analysisResult_ != null) { analysisResult_ = - com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_).mergeFrom(value).buildPartial(); } else { analysisResult_ = value; } @@ -1429,16 +1218,12 @@ public Builder mergeAnalysisResult( 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() { if (analysisResultBuilder_ == null) { @@ -1452,76 +1237,58 @@ 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() { + 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_; } - @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); } @@ -1531,12 +1298,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(); } @@ -1545,16 +1312,16 @@ 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 { - return new Analysis(input, extensionRegistry); - } - }; + 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 { + return new Analysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java index d6a4eb43..80020b8f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java +++ b/owl-bot-staging/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,131 +26,95 @@ 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.
    * 
* - * .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(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java index a7566a9d..807aef0a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private AnalysisResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,52 +52,40 @@ private AnalysisResult( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder subBuilder = null; + if (metadataCase_ == 2) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_).toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder - subBuilder = null; - if (metadataCase_ == 2) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_) - .toBuilder(); - } - metadata_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_); - metadata_ = subBuilder.buildPartial(); - } - metadataCase_ = 2; - break; + metadata_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); + metadata_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + metadataCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,46 +93,40 @@ private AnalysisResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -169,8 +135,6 @@ public interface CallAnalysisMetadataOrBuilder */ com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index); /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -179,19 +143,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.
      * 
@@ -202,8 +162,6 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations int index); /** - * - * *
      * All the entities in the call.
      * 
@@ -212,21 +170,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.
      * 
@@ -234,10 +192,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.
      * 
@@ -246,89 +202,66 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations */ /* 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.
      * 
@@ -337,21 +270,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.
      * 
@@ -359,10 +292,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.
      * 
@@ -371,148 +302,120 @@ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( */ /* 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(); @@ -520,15 +423,16 @@ 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; } - private CallAnalysisMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -548,113 +452,83 @@ private CallAnalysisMetadata( case 0: done = true; break; - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.CallAnnotation>(); - mutable_bitField0_ |= 0x00000001; - } - annotations_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), - extensionRegistry)); - break; + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + annotations_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + entities_ = com.google.protobuf.MapField.newMapField( + EntitiesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - entities_ = - com.google.protobuf.MapField.newMapField( - EntitiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - entities__ = - input.readMessage( - EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - entities_.getMutableMap().put(entities__.getKey(), entities__.getValue()); - break; + com.google.protobuf.MapEntry + entities__ = input.readMessage( + EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + entities_.getMutableMap().put( + entities__.getKey(), entities__.getValue()); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + sentiments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - sentiments_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>(); - mutable_bitField0_ |= 0x00000004; - } - sentiments_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - .parser(), - extensionRegistry)); - break; + sentiments_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + intents_ = com.google.protobuf.MapField.newMapField( + IntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - intents_ = - com.google.protobuf.MapField.newMapField( - IntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - intents__ = - input.readMessage( - IntentsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - intents_.getMutableMap().put(intents__.getKey(), intents__.getValue()); - break; + com.google.protobuf.MapEntry + intents__ = input.readMessage( + IntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + intents_.getMutableMap().put( + intents__.getKey(), intents__.getValue()); + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + phraseMatchers_ = com.google.protobuf.MapField.newMapField( + PhraseMatchersDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000010; } - case 58: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - phraseMatchers_ = - com.google.protobuf.MapField.newMapField( - PhraseMatchersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - phraseMatchers__ = - input.readMessage( - PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - phraseMatchers_ - .getMutableMap() - .put(phraseMatchers__.getKey(), phraseMatchers__.getValue()); - break; + com.google.protobuf.MapEntry + phraseMatchers__ = input.readMessage( + PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + phraseMatchers_.getMutableMap().put( + phraseMatchers__.getKey(), phraseMatchers__.getValue()); + break; + } + case 66: { + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = null; + if (issueModelResult_ != null) { + subBuilder = issueModelResult_.toBuilder(); } - case 66: - { - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = - null; - if (issueModelResult_ != null) { - subBuilder = issueModelResult_.toBuilder(); - } - issueModelResult_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModelResult_); - issueModelResult_ = subBuilder.buildPartial(); - } - - break; + issueModelResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModelResult_); + issueModelResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,7 +536,8 @@ private CallAnalysisMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { annotations_ = java.util.Collections.unmodifiableList(annotations_); @@ -674,15 +549,15 @@ private CallAnalysisMetadata( makeExtensionsImmutable(); } } - - 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(); @@ -691,26 +566,21 @@ 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; private java.util.List annotations_; /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -718,13 +588,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.
      * 
@@ -732,14 +599,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.
      * 
@@ -751,8 +615,6 @@ public int getAnnotationsCount() { return annotations_.size(); } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -764,8 +626,6 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i return annotations_.get(index); } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -773,37 +633,30 @@ 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()); } - - 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_; } @@ -812,31 +665,28 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** - * - * *
      * All the entities in the call.
      * 
* * 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.
      * 
@@ -844,13 +694,11 @@ 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.
      * 
@@ -858,18 +706,16 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
      * 
@@ -877,11 +723,10 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -891,115 +736,84 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public static final int SENTIMENTS_FIELD_NUMBER = 4; - 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()); } - - 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_; } @@ -1008,31 +822,28 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** - * - * *
      * All the matched intents in the call.
      * 
* * 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.
      * 
@@ -1040,13 +851,11 @@ 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.
      * 
@@ -1054,18 +863,16 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
      * 
@@ -1073,11 +880,10 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -1087,30 +893,21 @@ 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()); } - 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); @@ -1122,89 +919,70 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -1214,14 +992,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 @@ -1229,25 +1004,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.
      * 
@@ -1255,13 +1023,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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder() { return getIssueModelResult(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1273,19 +1039,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()); } @@ -1299,50 +1078,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1352,24 +1127,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1411,101 +1189,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 @@ -1515,27 +1280,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(); @@ -1544,12 +1306,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(); @@ -1558,39 +1321,35 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAnnotationsFieldBuilder(); getSentimentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1619,22 +1378,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); } @@ -1642,10 +1398,8 @@ 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); int from_bitField0_ = bitField0_; if (annotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1684,56 +1438,46 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMeta 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()) { @@ -1752,16 +1496,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()); if (sentimentsBuilder_ == null) { if (!other.sentiments_.isEmpty()) { if (sentiments_.isEmpty()) { @@ -1780,17 +1524,18 @@ 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()); - internalGetMutablePhraseMatchers().mergeFrom(other.internalGetPhraseMatchers()); + internalGetMutableIntents().mergeFrom( + other.internalGetIntents()); + internalGetMutablePhraseMatchers().mergeFrom( + other.internalGetPhraseMatchers()); if (other.hasIssueModelResult()) { mergeIssueModelResult(other.getIssueModelResult()); } @@ -1809,14 +1554,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1825,39 +1567,28 @@ public Builder mergeFrom( } 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 { @@ -1865,14 +1596,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) { @@ -1882,14 +1610,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) { @@ -1899,14 +1624,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) { @@ -1923,18 +1645,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()); @@ -1945,17 +1663,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(); @@ -1969,14 +1683,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) { @@ -1993,14 +1704,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) { @@ -2014,18 +1722,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()); @@ -2036,21 +1740,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); @@ -2058,14 +1759,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) { @@ -2078,14 +1776,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) { @@ -2098,50 +1793,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 { @@ -2149,64 +1833,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(), @@ -2217,27 +1882,21 @@ 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> - 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 entities_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - internalGetMutableEntities() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableEntities() { + onChanged();; 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(); @@ -2249,31 +1908,28 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** - * - * *
        * All the entities in the call.
        * 
* * 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.
        * 
@@ -2281,13 +1937,11 @@ 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.
        * 
@@ -2295,18 +1949,16 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
        * 
@@ -2314,11 +1966,10 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -2328,34 +1979,34 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public Builder clearEntities() { - 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() { + getMutableEntities() { return internalGetMutableEntities().getMutableMap(); } /** - * - * *
        * All the entities in the call.
        * 
@@ -2363,65 +2014,52 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableEntities().getMutableMap().put(key, value); + internalGetMutableEntities().getMutableMap() + .put(key, value); return this; } /** - * - * *
        * All the entities in the call.
        * 
* * 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); 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 { @@ -2429,15 +2067,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) { @@ -2447,18 +2081,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 { @@ -2466,15 +2095,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) { @@ -2491,20 +2116,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()); @@ -2515,18 +2134,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(); @@ -2540,15 +2154,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) { @@ -2565,19 +2175,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()); @@ -2588,20 +2193,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()); @@ -2612,23 +2211,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); @@ -2636,15 +2230,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) { @@ -2657,15 +2247,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) { @@ -2678,54 +2264,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 { @@ -2733,97 +2304,70 @@ 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - internalGetMutableIntents() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableIntents() { + onChanged();; 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(); @@ -2835,31 +2379,28 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** - * - * *
        * All the matched intents in the call.
        * 
* * 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.
        * 
@@ -2867,13 +2408,11 @@ 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.
        * 
@@ -2881,18 +2420,16 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
        * 
@@ -2900,11 +2437,10 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -2914,34 +2450,34 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } public Builder clearIntents() { - 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() { + getMutableIntents() { return internalGetMutableIntents().getMutableMap(); } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2949,56 +2485,48 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableIntents().getMutableMap().put(key, value); + internalGetMutableIntents().getMutableMap() + .put(key, value); return this; } /** - * - * *
        * All the matched intents in the call.
        * 
* * 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); 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - internalGetMutablePhraseMatchers() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutablePhraseMatchers() { + onChanged();; 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(); @@ -3010,89 +2538,70 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -3100,129 +2609,104 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatche } public Builder clearPhraseMatchers() { - 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> - getMutablePhraseMatchers() { + public java.util.Map + getMutablePhraseMatchers() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutablePhraseMatchers().getMutableMap().put(key, value); + internalGetMutablePhraseMatchers().getMutableMap() + .put(key, value); 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); 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 issueModelResultBuilder_ != null || issueModelResult_ != null; } /** - * - * *
        * 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(); @@ -3236,14 +2720,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) { @@ -3257,24 +2738,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 (issueModelResult_ != null) { issueModelResult_ = - com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder( - issueModelResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder(issueModelResult_).mergeFrom(value).buildPartial(); } else { issueModelResult_ = value; } @@ -3286,14 +2760,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() { if (issueModelResultBuilder_ == null) { @@ -3307,68 +2778,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() { + 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) { @@ -3381,34 +2836,30 @@ 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 { - return new CallAnalysisMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallAnalysisMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3420,23 +2871,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; } @@ -3452,36 +2900,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 @@ -3489,61 +2930,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 @@ -3551,14 +2974,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 @@ -3566,8 +2986,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which the analysis ended.
    * 
@@ -3580,7 +2998,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3592,15 +3009,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_); } unknownFields.writeTo(output); } @@ -3612,14 +3027,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3629,22 +3042,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: @@ -3678,127 +3092,117 @@ 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() @@ -3806,15 +3210,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3830,9 +3235,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 @@ -3851,8 +3256,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.AnalysisResult result = new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); if (metadataCase_ == 2) { if (callAnalysisMetadataBuilder_ == null) { result.metadata_ = metadata_; @@ -3874,39 +3278,38 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult 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.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; @@ -3914,21 +3317,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.unknownFields); onChanged(); @@ -3949,8 +3349,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3959,12 +3358,12 @@ public Builder mergeFrom( } 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() { @@ -3974,22 +3373,15 @@ public Builder clearMetadata() { return this; } + 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 @@ -3997,49 +3389,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(); @@ -4053,19 +3431,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(); @@ -4076,31 +3449,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; } @@ -4116,15 +3476,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) { @@ -4143,115 +3499,79 @@ 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; } metadataCase_ = 2; - onChanged(); - ; + onChanged();; return callAnalysisMetadataBuilder_; } 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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -4262,8 +3582,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4284,15 +3602,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(); onChanged(); @@ -4303,8 +3620,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4315,7 +3630,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -4327,8 +3642,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4347,8 +3660,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4356,13 +3667,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 1; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4373,12 +3682,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.
      * 
@@ -4386,24 +3694,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); } @@ -4413,12 +3718,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(); } @@ -4427,16 +3732,16 @@ 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 { - return new AnalysisResult(input, extensionRegistry); - } - }; + 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 { + return new AnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4451,4 +3756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java similarity index 56% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java index 5fd73819..349628cc 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java index 72f25519..86b3ad96 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private AnnotationBoundary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,24 +52,23 @@ private AnnotationBoundary( case 0: done = true; break; - case 8: - { - transcriptIndex_ = input.readInt32(); - break; - } - case 24: - { - detailedBoundary_ = input.readInt32(); - detailedBoundaryCase_ = 3; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + transcriptIndex_ = input.readInt32(); + break; + } + case 24: { + detailedBoundary_ = input.readInt32(); + detailedBoundaryCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,39 +76,34 @@ private AnnotationBoundary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; } @@ -141,35 +119,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 @@ -177,15 +150,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 @@ -199,15 +169,12 @@ public int getWordIndex() { public static final int TRANSCRIPT_INDEX_FIELD_NUMBER = 1; 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 @@ -216,7 +183,6 @@ public int getTranscriptIndex() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,12 +194,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_)); } unknownFields.writeTo(output); } @@ -245,12 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -260,19 +229,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: @@ -304,127 +274,117 @@ 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() @@ -432,15 +392,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -452,14 +413,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(); } @@ -474,8 +434,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); if (detailedBoundaryCase_ == 3) { result.detailedBoundary_ = detailedBoundary_; } @@ -489,39 +448,38 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary 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.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; @@ -529,22 +487,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.unknownFields); onChanged(); @@ -565,8 +519,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -575,12 +528,12 @@ public Builder mergeFrom( } 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() { @@ -590,31 +543,26 @@ public Builder clearDetailedBoundary() { 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 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() { @@ -624,15 +572,12 @@ 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. */ @@ -643,15 +588,12 @@ public Builder setWordIndex(int value) { 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() { @@ -663,17 +605,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 @@ -681,45 +620,39 @@ 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; 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() { - + transcriptIndex_ = 0; 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); } @@ -729,13 +662,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(); } @@ -744,16 +676,16 @@ 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 { - return new AnnotationBoundary(input, extensionRegistry); - } - }; + 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 { + return new AnnotationBoundary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -768,4 +700,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java index 79e6b46f..c2a96449 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java index c9fe577f..a4a2a17c 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java +++ b/owl-bot-staging/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,31 +11,31 @@
  *
  * 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;
   }
-
   private AnswerFeedback(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,30 +54,29 @@ private AnswerFeedback(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              correctnessLevel_ = rawValue;
-              break;
-            }
-          case 16:
-            {
-              clicked_ = input.readBool();
-              break;
-            }
-          case 24:
-            {
-              displayed_ = input.readBool();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            correctnessLevel_ = rawValue;
+            break;
+          }
+          case 16: {
+
+            clicked_ = input.readBool();
+            break;
+          }
+          case 24: {
+
+            displayed_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,41 +84,36 @@ private AnswerFeedback(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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.
      * 
@@ -145,8 +122,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ CORRECTNESS_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Answer is totally wrong.
      * 
@@ -155,8 +130,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ NOT_CORRECT(1), /** - * - * *
      * Answer is partially correct.
      * 
@@ -165,8 +138,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ PARTIALLY_CORRECT(2), /** - * - * *
      * Answer is fully correct.
      * 
@@ -178,8 +149,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Correctness level unspecified.
      * 
@@ -188,8 +157,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int CORRECTNESS_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Answer is totally wrong.
      * 
@@ -198,8 +165,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int NOT_CORRECT_VALUE = 1; /** - * - * *
      * Answer is partially correct.
      * 
@@ -208,8 +173,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int PARTIALLY_CORRECT_VALUE = 2; /** - * - * *
      * Answer is fully correct.
      * 
@@ -218,6 +181,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( @@ -242,47 +206,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(); @@ -290,7 +248,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; @@ -310,58 +269,38 @@ private CorrectnessLevel(int value) { public static final int CORRECTNESS_LEVEL_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( - correctnessLevel_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(correctnessLevel_); + return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; } public static final int CLICKED_FIELD_NUMBER = 2; private boolean clicked_; /** - * - * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; - * * @return The clicked. */ @java.lang.Override @@ -372,15 +311,12 @@ public boolean getClicked() { public static final int DISPLAYED_FIELD_NUMBER = 3; 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 @@ -389,7 +325,6 @@ public boolean getDisplayed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -401,11 +336,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) { @@ -423,17 +356,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -443,17 +376,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,113 +402,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) + unknownFields.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.
@@ -582,23 +510,21 @@ 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()
@@ -606,15 +532,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -628,9 +555,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
@@ -649,8 +576,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result = new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
       result.correctnessLevel_ = correctnessLevel_;
       result.clicked_ = clicked_;
       result.displayed_ = displayed_;
@@ -662,39 +588,38 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback 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.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;
@@ -702,8 +627,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());
       }
@@ -732,8 +656,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -745,120 +668,85 @@ public Builder mergeFrom(
 
     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. */ public Builder setCorrectnessLevelValue(int value) { - + correctnessLevel_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( - correctnessLevel_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(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(); } - + correctnessLevel_ = value.getNumber(); onChanged(); 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() { - + correctnessLevel_ = 0; onChanged(); 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 @@ -866,52 +754,43 @@ 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; 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() { - + clicked_ = false; onChanged(); 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 @@ -919,45 +798,39 @@ 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; 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() { - + displayed_ = false; 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); } @@ -967,12 +840,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(); } @@ -981,16 +854,16 @@ 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 { - return new AnswerFeedback(input, extensionRegistry); - } - }; + 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 { + return new AnswerFeedback(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,4 +878,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java similarity index 54% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java index 886b137b..9109a2a6 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java index be63818f..3557479e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ArticleSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,61 +57,55 @@ private ArticleSuggestionData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + title_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 29: - { - confidenceScore_ = input.readFloat(); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 29: { - queryRecord_ = s; - break; + confidenceScore_ = input.readFloat(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + queryRecord_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + source_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,50 +113,46 @@ private ArticleSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object title_; /** - * - * *
    * Article title.
    * 
* * string title = 1; - * * @return The title. */ @java.lang.Override @@ -188,29 +161,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 { @@ -221,14 +194,11 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * Article URI.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -237,29 +207,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 { @@ -270,8 +240,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 3; 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
@@ -279,7 +247,6 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * float confidence_score = 3; - * * @return The confidenceScore. */ @java.lang.Override @@ -288,23 +255,24 @@ 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, + ""); } - - 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_; } @@ -313,8 +281,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -322,22 +288,22 @@ 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.
@@ -346,12 +312,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -360,17 +325,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -379,11 +343,12 @@ public 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();
     }
@@ -393,8 +358,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -402,7 +365,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 5; - * * @return The queryRecord. */ @java.lang.Override @@ -411,15 +373,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:
@@ -427,15 +388,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 { @@ -446,8 +408,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -455,7 +415,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
    * 
* * string source = 6; - * * @return The source. */ @java.lang.Override @@ -464,15 +423,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:
@@ -480,15 +438,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 { @@ -497,7 +456,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,7 +467,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_); } @@ -519,8 +478,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_); } @@ -543,17 +506,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_); @@ -569,21 +533,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -600,7 +569,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(); @@ -615,147 +585,139 @@ 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() @@ -763,15 +725,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -790,14 +753,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(); } @@ -812,8 +774,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); int from_bitField0_ = bitField0_; result.title_ = title_; result.uri_ = uri_; @@ -830,50 +791,46 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData buildPart 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_; onChanged(); @@ -885,7 +842,8 @@ public Builder mergeFrom( if (other.getConfidenceScore() != 0F) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -913,9 +871,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -924,25 +880,22 @@ public Builder mergeFrom( } 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; @@ -951,21 +904,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 { @@ -973,61 +925,54 @@ 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) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Article title.
      * 
* * string title = 1; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); 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) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -1035,20 +980,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; @@ -1057,21 +1000,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 { @@ -1079,70 +1021,61 @@ 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) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Article URI.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); 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) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); 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
@@ -1150,7 +1083,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence_score = 3; - * * @return The confidenceScore. */ @java.lang.Override @@ -1158,8 +1090,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
@@ -1167,19 +1097,16 @@ 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; 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
@@ -1187,32 +1114,31 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 3; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -1224,8 +1150,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1233,22 +1157,22 @@ 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.
@@ -1257,12 +1181,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1271,17 +1194,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1290,11 +1212,12 @@ public 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();
       }
@@ -1302,12 +1225,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1315,21 +1237,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1337,20 +1261,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1358,15 +1281,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1374,13 +1298,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; @@ -1389,8 +1313,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1398,14 +1320,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 { @@ -1413,8 +1336,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1422,22 +1343,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1445,18 +1364,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 5; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1464,16 +1380,16 @@ 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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1481,8 +1397,6 @@ public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { private java.lang.Object source_ = ""; /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1490,13 +1404,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; @@ -1505,8 +1419,6 @@ public java.lang.String getSource() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1514,14 +1426,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 { @@ -1529,8 +1442,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1538,22 +1449,20 @@ 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) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1561,18 +1470,15 @@ public Builder setSource(java.lang.String value) {
      * 
* * string source = 6; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1580,23 +1486,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) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1606,32 +1512,30 @@ 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 { - return new ArticleSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new ArticleSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1643,8 +1547,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java index b9567d83..5a1c1aa3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -136,13 +104,11 @@ public interface ArticleSuggestionDataOrBuilder
    */
 
   /* 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.
@@ -150,11 +116,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:
@@ -162,13 +128,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -176,14 +139,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:
@@ -191,13 +152,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:
@@ -205,8 +163,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java similarity index 59% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java index 63ecca06..4574dc6f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CalculateIssueModelStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private CalculateIssueModelStatsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issueModel_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,34 @@ private CalculateIssueModelStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -136,31 +109,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 { @@ -169,7 +140,6 @@ public com.google.protobuf.ByteString getIssueModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -205,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,146 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,22 +341,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); } @@ -406,10 +361,8 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); result.issueModel_ = issueModel_; onBuilt(); return result; @@ -419,52 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest 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_; onChanged(); @@ -484,14 +431,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -503,22 +447,18 @@ public Builder mergeFrom( 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; @@ -527,23 +467,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 { @@ -551,74 +488,61 @@ 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) { + public Builder setIssueModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = 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); } @@ -628,33 +552,30 @@ 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 { - return new CalculateIssueModelStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateIssueModelStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -666,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java new file mode 100644 index 00000000..b7127031 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java index cbe8e2db..dcddf2a1 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CalculateIssueModelStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,31 +52,26 @@ private CalculateIssueModelStatsResponse( case 0: done = true; break; - case 34: - { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = - null; - if (currentStats_ != null) { - subBuilder = currentStats_.toBuilder(); - } - currentStats_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentStats_); - currentStats_ = subBuilder.buildPartial(); - } - - break; + case 34: { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; + if (currentStats_ != null) { + subBuilder = currentStats_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + currentStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentStats_); + currentStats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,41 +79,35 @@ private CalculateIssueModelStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -143,26 +115,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.
@@ -171,13 +136,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() {
+  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder() {
     return getCurrentStats();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -189,7 +152,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());
     }
@@ -203,7 +167,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -213,18 +178,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -246,152 +210,135 @@ 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)
+      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 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)
+      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 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)
+      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(
+      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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -405,22 +352,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); } @@ -428,10 +372,8 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); if (currentStatsBuilder_ == null) { result.currentStats_ = currentStats_; } else { @@ -445,52 +387,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRespons 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()); } @@ -509,14 +445,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,49 +461,36 @@ public Builder mergeFrom( 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 currentStatsBuilder_ != null || 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. */ 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.
@@ -578,8 +498,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();
@@ -593,8 +512,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.
@@ -614,8 +531,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.
@@ -623,15 +538,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 (currentStats_ != null) {
           currentStats_ =
-              com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(
-                      currentStats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(currentStats_).mergeFrom(value).buildPartial();
         } else {
           currentStats_ = value;
         }
@@ -643,8 +554,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.
@@ -664,8 +573,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.
@@ -673,15 +580,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() {
+      
       onChanged();
       return getCurrentStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -689,19 +593,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.
@@ -710,24 +610,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);
     }
 
@@ -737,33 +634,30 @@ 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 {
-          return new CalculateIssueModelStatsResponse(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new CalculateIssueModelStatsResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -775,8 +669,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
similarity index 65%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
index 57c73991..2eeb3b22 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
+++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
similarity index 66%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
index 4c56e7d9..27887c06 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
+++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CalculateStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private CalculateStatsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + location_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private CalculateStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -142,31 +116,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 { @@ -177,15 +149,12 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int FILTER_FIELD_NUMBER = 2; 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 @@ -194,30 +163,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 { @@ -226,7 +195,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +206,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_); } @@ -268,16 +237,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +269,117 @@ 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() @@ -427,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,14 +408,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(); } @@ -469,8 +429,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); result.location_ = location_; result.filter_ = filter_; onBuilt(); @@ -481,50 +440,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest buildPart 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_; onChanged(); @@ -552,9 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -566,22 +519,18 @@ public Builder mergeFrom( 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; @@ -590,23 +539,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 { @@ -614,67 +560,54 @@ 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) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; 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() { - + location_ = getDefaultInstance().getLocation(); 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) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -682,21 +615,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; @@ -705,22 +636,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 { @@ -728,71 +658,64 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); 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; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -802,32 +725,30 @@ 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 { - return new CalculateStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +760,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java index 40e54fd5..4eb8ec0d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java index 052c91e8..8735fabe 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CalculateStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,129 +53,101 @@ private CalculateStatsResponse( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (averageDuration_ != null) { - subBuilder = averageDuration_.toBuilder(); - } - averageDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(averageDuration_); - averageDuration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (averageDuration_ != null) { + subBuilder = averageDuration_.toBuilder(); } - case 16: - { - averageTurnCount_ = input.readInt32(); - break; + averageDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(averageDuration_); + averageDuration_ = subBuilder.buildPartial(); } - case 24: - { - conversationCount_ = input.readInt32(); - break; + + break; + } + case 16: { + + averageTurnCount_ = input.readInt32(); + break; + } + case 24: { + + conversationCount_ = input.readInt32(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + smartHighlighterMatches_ = com.google.protobuf.MapField.newMapField( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - smartHighlighterMatches_ = - com.google.protobuf.MapField.newMapField( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - smartHighlighterMatches__ = - input.readMessage( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - smartHighlighterMatches_ - .getMutableMap() - .put(smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); - break; + com.google.protobuf.MapEntry + smartHighlighterMatches__ = input.readMessage( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + smartHighlighterMatches_.getMutableMap().put( + smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + customHighlighterMatches_ = com.google.protobuf.MapField.newMapField( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - customHighlighterMatches_ = - com.google.protobuf.MapField.newMapField( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - customHighlighterMatches__ = - input.readMessage( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - customHighlighterMatches_ - .getMutableMap() - .put(customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); - break; + com.google.protobuf.MapEntry + customHighlighterMatches__ = input.readMessage( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + customHighlighterMatches_.getMutableMap().put( + customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + issueMatches_ = com.google.protobuf.MapField.newMapField( + IssueMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - issueMatches_ = - com.google.protobuf.MapField.newMapField( - IssueMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry issueMatches__ = - input.readMessage( - IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - issueMatches_.getMutableMap().put(issueMatches__.getKey(), issueMatches__.getValue()); - break; + com.google.protobuf.MapEntry + issueMatches__ = input.readMessage( + IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + issueMatches_.getMutableMap().put( + issueMatches__.getKey(), issueMatches__.getValue()); + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder subBuilder = null; + if (conversationCountTimeSeries_ != null) { + subBuilder = conversationCountTimeSeries_.toBuilder(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder - subBuilder = null; - if (conversationCountTimeSeries_ != null) { - subBuilder = conversationCountTimeSeries_.toBuilder(); - } - conversationCountTimeSeries_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationCountTimeSeries_); - conversationCountTimeSeries_ = subBuilder.buildPartial(); - } - - break; + conversationCountTimeSeries_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationCountTimeSeries_); + conversationCountTimeSeries_ = subBuilder.buildPartial(); } - case 66: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - issueMatchesStats_ = - com.google.protobuf.MapField.newMapField( - IssueMatchesStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; - } - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueMatchesStats__ = - input.readMessage( - IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - issueMatchesStats_ - .getMutableMap() - .put(issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); - break; + + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + issueMatchesStats_ = com.google.protobuf.MapField.newMapField( + IssueMatchesStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + issueMatchesStats__ = input.readMessage( + IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + issueMatchesStats_.getMutableMap().put( + issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -199,21 +155,22 @@ private CalculateStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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(); @@ -224,52 +181,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.
      * 
@@ -279,118 +225,91 @@ 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; } - private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -410,44 +329,35 @@ private TimeSeries( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (intervalDuration_ != null) { - subBuilder = intervalDuration_.toBuilder(); - } - intervalDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(intervalDuration_); - intervalDuration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (intervalDuration_ != null) { + subBuilder = intervalDuration_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - .TimeSeries.Interval>(); - mutable_bitField0_ |= 0x00000001; - } - points_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval.parser(), - extensionRegistry)); - break; + intervalDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(intervalDuration_); + intervalDuration_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } + points_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,7 +365,8 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -464,55 +375,42 @@ private TimeSeries( makeExtensionsImmutable(); } } - - 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.
        * 
@@ -522,51 +420,46 @@ 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; } - private Interval( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -585,33 +478,31 @@ private Interval( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 16: - { - conversationCount_ = input.readInt32(); - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + conversationCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -619,42 +510,34 @@ private Interval( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -662,14 +545,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 @@ -677,8 +557,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
        * The start time of this interval.
        * 
@@ -693,14 +571,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 2; private int conversationCount_; /** - * - * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; - * * @return The conversationCount. */ @java.lang.Override @@ -709,7 +584,6 @@ public int getConversationCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -721,7 +595,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()); } @@ -738,10 +613,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -751,22 +628,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -789,116 +664,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 @@ -908,53 +755,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -970,23 +808,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); } @@ -994,12 +828,8 @@ 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); + 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 (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -1014,59 +844,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -1088,15 +905,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1108,47 +921,34 @@ public Builder mergeFrom( 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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
          * 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.
          * 
@@ -1169,15 +969,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(); onChanged(); @@ -1188,8 +987,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -1200,9 +997,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1214,8 +1009,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -1234,8 +1027,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -1243,13 +1034,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
          * The start time of this interval.
          * 
@@ -1260,14 +1049,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.
          * 
@@ -1275,32 +1061,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 @@ -1308,41 +1088,34 @@ 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; onChanged(); return this; } /** - * - * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; - * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1355,36 +1128,30 @@ 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 { - return new Interval(input, extensionRegistry); - } - }; + 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 { + return new Interval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,23 +1163,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 @@ -1420,25 +1184,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.
      * 
@@ -1451,106 +1208,76 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { } public static final int POINTS_FIELD_NUMBER = 2; - 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; @@ -1562,7 +1289,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()); } @@ -1579,10 +1307,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1592,20 +1322,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1630,101 +1360,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 @@ -1734,52 +1451,45 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1799,22 +1509,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); } @@ -1822,10 +1529,8 @@ 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); int from_bitField0_ = bitField0_; if (intervalDurationBuilder_ == null) { result.intervalDuration_ = intervalDuration_; @@ -1849,55 +1554,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri 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()); } @@ -1919,10 +1615,9 @@ public Builder mergeFrom( pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPointsFieldBuilder() - : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPointsFieldBuilder() : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -1943,14 +1638,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1959,52 +1651,38 @@ public Builder mergeFrom( } 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 intervalDurationBuilder_ != null || intervalDuration_ != null; } /** - * - * *
        * 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.
        * 
@@ -2025,15 +1703,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(); onChanged(); @@ -2044,8 +1721,6 @@ public Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderF return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -2056,9 +1731,7 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { if (intervalDurationBuilder_ == null) { if (intervalDuration_ != null) { intervalDuration_ = - com.google.protobuf.Duration.newBuilder(intervalDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(intervalDuration_).mergeFrom(value).buildPartial(); } else { intervalDuration_ = value; } @@ -2070,8 +1743,6 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -2090,8 +1761,6 @@ public Builder clearIntervalDuration() { return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -2099,13 +1768,11 @@ public Builder clearIntervalDuration() { * .google.protobuf.Duration interval_duration = 1; */ public com.google.protobuf.Duration.Builder getIntervalDurationBuilder() { - + onChanged(); return getIntervalDurationFieldBuilder().getBuilder(); } /** - * - * *
        * The duration of each interval.
        * 
@@ -2116,14 +1783,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.
        * 
@@ -2131,60 +1795,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_ & 0x00000001) != 0)) { - points_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval>(points_); + points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2192,17 +1837,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) { @@ -2212,20 +1853,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 { @@ -2233,22 +1869,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(); @@ -2262,23 +1892,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()); @@ -2289,21 +1912,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(); @@ -2317,22 +1934,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(); @@ -2346,22 +1957,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()); @@ -2372,23 +1977,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()); @@ -2399,27 +1997,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); @@ -2427,17 +2018,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) { @@ -2450,17 +2037,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) { @@ -2473,63 +2056,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 { @@ -2537,90 +2102,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_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); points_ = null; } return pointsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2633,33 +2167,30 @@ 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 { - return new TimeSeries(input, extensionRegistry); - } - }; + 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 { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2671,24 +2202,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 @@ -2696,26 +2224,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.
@@ -2731,14 +2252,11 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
   public static final int AVERAGE_TURN_COUNT_FIELD_NUMBER = 2;
   private int averageTurnCount_;
   /**
-   *
-   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; - * * @return The averageTurnCount. */ @java.lang.Override @@ -2749,14 +2267,11 @@ public int getAverageTurnCount() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 3; private int conversationCount_; /** - * - * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; - * * @return The conversationCount. */ @java.lang.Override @@ -2765,23 +2280,21 @@ 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); } - - private com.google.protobuf.MapField - smartHighlighterMatches_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> smartHighlighterMatches_; private com.google.protobuf.MapField - internalGetSmartHighlighterMatches() { + internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { return com.google.protobuf.MapField.emptyMapField( SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); @@ -2793,8 +2306,6 @@ 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.
@@ -2802,22 +2313,22 @@ 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.
@@ -2826,12 +2337,11 @@ public java.util.Map getSmartHighlighterMat
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
+
   public java.util.Map getSmartHighlighterMatchesMap() {
     return internalGetSmartHighlighterMatches().getMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2840,17 +2350,16 @@ 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.
@@ -2859,10 +2368,10 @@ 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)) {
@@ -2872,23 +2381,21 @@ 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);
   }
-
-  private com.google.protobuf.MapField
-      customHighlighterMatches_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.Integer> customHighlighterMatches_;
   private com.google.protobuf.MapField
-      internalGetCustomHighlighterMatches() {
+  internalGetCustomHighlighterMatches() {
     if (customHighlighterMatches_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
@@ -2900,8 +2407,6 @@ 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.
@@ -2909,22 +2414,22 @@ 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.
@@ -2933,12 +2438,11 @@ public java.util.Map getCustomHighlighterMa
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
+
   public java.util.Map getCustomHighlighterMatchesMap() {
     return internalGetCustomHighlighterMatches().getMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2947,17 +2451,16 @@ 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.
@@ -2966,10 +2469,10 @@ 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)) {
@@ -2979,36 +2482,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);
   }
-
-  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
+  @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:
@@ -3018,23 +2517,22 @@ public int getIssueMatchesCount() {
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated
+  @java.lang.Deprecated 
   @java.lang.Override
-  public boolean containsIssueMatches(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  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:
@@ -3045,13 +2543,11 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
+  @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:
@@ -3062,17 +2558,16 @@ 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:
@@ -3083,12 +2578,12 @@ 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();
     }
@@ -3096,34 +2591,21 @@ 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());
   }
-
-  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);
@@ -3135,104 +2617,78 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -3240,20 +2696,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 @@ -3261,47 +2711,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() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder() { return getConversationCountTimeSeries(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3313,7 +2748,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()); } @@ -3323,22 +2759,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, @@ -3353,65 +2796,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3421,30 +2859,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3491,121 +2933,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(); @@ -3616,12 +3051,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(); @@ -3632,18 +3068,16 @@ 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() @@ -3651,15 +3085,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3687,14 +3122,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(); } @@ -3709,8 +3143,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); int from_bitField0_ = bitField0_; if (averageDurationBuilder_ == null) { result.averageDuration_ = averageDuration_; @@ -3740,50 +3173,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse buildPar 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()); } @@ -3793,12 +3222,14 @@ public Builder mergeFrom( if (other.getConversationCount() != 0) { setConversationCount(other.getConversationCount()); } - internalGetMutableSmartHighlighterMatches() - .mergeFrom(other.internalGetSmartHighlighterMatches()); - internalGetMutableCustomHighlighterMatches() - .mergeFrom(other.internalGetCustomHighlighterMatches()); - internalGetMutableIssueMatches().mergeFrom(other.internalGetIssueMatches()); - internalGetMutableIssueMatchesStats().mergeFrom(other.internalGetIssueMatchesStats()); + internalGetMutableSmartHighlighterMatches().mergeFrom( + other.internalGetSmartHighlighterMatches()); + internalGetMutableCustomHighlighterMatches().mergeFrom( + other.internalGetCustomHighlighterMatches()); + internalGetMutableIssueMatches().mergeFrom( + other.internalGetIssueMatches()); + internalGetMutableIssueMatchesStats().mergeFrom( + other.internalGetIssueMatchesStats()); if (other.hasConversationCountTimeSeries()) { mergeConversationCountTimeSeries(other.getConversationCountTimeSeries()); } @@ -3821,9 +3252,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3832,54 +3261,40 @@ public Builder mergeFrom( } 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 averageDurationBuilder_ != null || 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. */ 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.
@@ -3901,8 +3316,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.
@@ -3910,7 +3323,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();
         onChanged();
@@ -3921,8 +3335,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.
@@ -3934,9 +3346,7 @@ public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       if (averageDurationBuilder_ == null) {
         if (averageDuration_ != null) {
           averageDuration_ =
-              com.google.protobuf.Duration.newBuilder(averageDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(averageDuration_).mergeFrom(value).buildPartial();
         } else {
           averageDuration_ = value;
         }
@@ -3948,8 +3358,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.
@@ -3969,8 +3377,6 @@ public Builder clearAverageDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3979,13 +3385,11 @@ public Builder clearAverageDuration() {
      * .google.protobuf.Duration average_duration = 1;
      */
     public com.google.protobuf.Duration.Builder getAverageDurationBuilder() {
-
+      
       onChanged();
       return getAverageDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3997,14 +3401,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.
@@ -4013,32 +3414,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 @@ -4046,51 +3441,42 @@ 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; onChanged(); return this; } /** - * - * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; - * * @return This builder for chaining. */ public Builder clearAverageTurnCount() { - + averageTurnCount_ = 0; onChanged(); return this; } - private int conversationCount_; + private int conversationCount_ ; /** - * - * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; - * * @return The conversationCount. */ @java.lang.Override @@ -4098,61 +3484,51 @@ 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; onChanged(); return this; } /** - * - * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; - * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); 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() { + internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { return com.google.protobuf.MapField.emptyMapField( SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); } return smartHighlighterMatches_; } - private com.google.protobuf.MapField - internalGetMutableSmartHighlighterMatches() { - onChanged(); - ; + internalGetMutableSmartHighlighterMatches() { + onChanged();; 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(); @@ -4164,8 +3540,6 @@ 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.
@@ -4173,22 +3547,22 @@ 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.
@@ -4197,12 +3571,11 @@ public java.util.Map getSmartHighlighterMat
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
+
     public java.util.Map getSmartHighlighterMatchesMap() {
       return internalGetSmartHighlighterMatches().getMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4211,17 +3584,16 @@ 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.
@@ -4230,10 +3602,10 @@ 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)) {
@@ -4243,12 +3615,11 @@ public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
     }
 
     public Builder clearSmartHighlighterMatches() {
-      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.
@@ -4256,21 +3627,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() {
       return internalGetMutableSmartHighlighterMatches().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4278,17 +3651,16 @@ 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);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4296,32 +3668,30 @@ public Builder putSmartHighlighterMatches(java.lang.String key, int value) {
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
+
     public Builder putAllSmartHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableSmartHighlighterMatches().getMutableMap().putAll(values);
+      internalGetMutableSmartHighlighterMatches().getMutableMap()
+          .putAll(values);
       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() {
+    internalGetCustomHighlighterMatches() {
       if (customHighlighterMatches_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
       }
       return customHighlighterMatches_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableCustomHighlighterMatches() {
-      onChanged();
-      ;
+    internalGetMutableCustomHighlighterMatches() {
+      onChanged();;
       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();
@@ -4333,8 +3703,6 @@ 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.
@@ -4342,22 +3710,22 @@ 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.
@@ -4366,12 +3734,11 @@ public java.util.Map getCustomHighlighterMa
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
+
     public java.util.Map getCustomHighlighterMatchesMap() {
       return internalGetCustomHighlighterMatches().getMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4380,17 +3747,16 @@ 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.
@@ -4399,10 +3765,10 @@ 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)) {
@@ -4412,12 +3778,11 @@ public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
     }
 
     public Builder clearCustomHighlighterMatches() {
-      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.
@@ -4425,21 +3790,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() {
       return internalGetMutableCustomHighlighterMatches().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4447,17 +3814,16 @@ 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);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4465,44 +3831,41 @@ public Builder putCustomHighlighterMatches(java.lang.String key, int value) {
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
+
     public Builder putAllCustomHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableCustomHighlighterMatches().getMutableMap().putAll(values);
+      internalGetMutableCustomHighlighterMatches().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    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_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableIssueMatches() {
-      onChanged();
-      ;
+    internalGetMutableIssueMatches() {
+      onChanged();;
       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();
       }
       return issueMatches_;
     }
-
-    @java.lang.Deprecated
+    @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:
@@ -4512,23 +3875,22 @@ public int getIssueMatchesCount() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated
+    @java.lang.Deprecated 
     @java.lang.Override
-    public boolean containsIssueMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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:
@@ -4539,13 +3901,11 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated
+    @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:
@@ -4556,17 +3916,16 @@ 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:
@@ -4577,26 +3936,24 @@ 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
+    @java.lang.Deprecated 
     public Builder clearIssueMatches() {
-      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:
@@ -4606,22 +3963,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() {
       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:
@@ -4631,18 +3989,16 @@ 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);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4652,38 +4008,30 @@ 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);
       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>
-        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_;
     }
-
-    private com.google.protobuf.MapField<
-            java.lang.String,
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
-        internalGetMutableIssueMatchesStats() {
-      onChanged();
-      ;
+    private com.google.protobuf.MapField
+    internalGetMutableIssueMatchesStats() {
+      onChanged();;
       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();
@@ -4695,105 +4043,78 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -4801,148 +4122,113 @@ public boolean containsIssueMatchesStats(java.lang.String key) { } public Builder clearIssueMatchesStats() { - 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> - getMutableIssueMatchesStats() { + public java.util.Map + getMutableIssueMatchesStats() { 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 (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableIssueMatchesStats().getMutableMap().put(key, value); + internalGetMutableIssueMatchesStats().getMutableMap() + .put(key, value); 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); 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 conversationCountTimeSeriesBuilder_ != null || 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. */ - 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(); @@ -4956,20 +4242,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(); onChanged(); @@ -4980,26 +4261,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 (conversationCountTimeSeries_ != null) { conversationCountTimeSeries_ = - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .newBuilder(conversationCountTimeSeries_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder(conversationCountTimeSeries_).mergeFrom(value).buildPartial(); } else { conversationCountTimeSeries_ = value; } @@ -5011,16 +4284,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() { if (conversationCountTimeSeriesBuilder_ == null) { @@ -5034,78 +4303,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() { + 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); } @@ -5115,32 +4364,30 @@ 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 { - return new CalculateStatsResponse(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5152,8 +4399,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java index fe7ed431..2093c6c8 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java +++ b/owl-bot-staging/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,11 @@ 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 +112,11 @@ 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 +126,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 +133,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 +149,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 +159,11 @@ 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 +171,11 @@ 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 +185,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 +196,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 +214,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 +226,11 @@ 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,139 +240,103 @@ 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java index ebaa4b54..bf0ff36b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CallAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,187 +52,142 @@ private CallAnnotation( case 0: done = true; break; - case 8: - { - channelTag_ = input.readInt32(); - break; + case 8: { + + channelTag_ = input.readInt32(); + break; + } + case 34: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (annotationStartBoundary_ != null) { + subBuilder = annotationStartBoundary_.toBuilder(); + } + annotationStartBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationStartBoundary_); + annotationStartBoundary_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (annotationEndBoundary_ != null) { + subBuilder = annotationEndBoundary_.toBuilder(); + } + annotationEndBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationEndBoundary_); + annotationEndBoundary_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; + if (dataCase_ == 10) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; + } + case 90: { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (dataCase_ == 11) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 11; + break; + } + case 98: { + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; + if (dataCase_ == 12) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); } - case 34: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (annotationStartBoundary_ != null) { - subBuilder = annotationStartBoundary_.toBuilder(); - } - annotationStartBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationStartBoundary_); - annotationStartBoundary_ = subBuilder.buildPartial(); - } - - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); + data_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (annotationEndBoundary_ != null) { - subBuilder = annotationEndBoundary_.toBuilder(); - } - annotationEndBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationEndBoundary_); - annotationEndBoundary_ = subBuilder.buildPartial(); - } - - break; + dataCase_ = 12; + break; + } + case 106: { + com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; + if (dataCase_ == 13) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); } - case 82: - { - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; - if (dataCase_ == 10) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.HoldData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); + data_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (dataCase_ == 11) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 11; - break; + dataCase_ = 13; + break; + } + case 122: { + com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; + if (dataCase_ == 15) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_).toBuilder(); } - case 98: - { - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; - if (dataCase_ == 12) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 12; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); + data_ = subBuilder.buildPartial(); } - case 106: - { - com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; - if (dataCase_ == 13) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.HoldData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 13; - break; + dataCase_ = 15; + break; + } + case 130: { + com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; + if (dataCase_ == 16) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); } - case 122: - { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; - if (dataCase_ == 15) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 15; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); + data_ = subBuilder.buildPartial(); } - case 130: - { - com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; - if (dataCase_ == 16) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 16; - break; + dataCase_ = 16; + break; + } + case 138: { + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; + if (dataCase_ == 17) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); } - case 138: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; - if (dataCase_ == 17) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 17; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); + data_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataCase_ = 17; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -256,34 +195,30 @@ private CallAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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), @@ -294,7 +229,6 @@ public enum DataCase PHRASE_MATCH_DATA(17), DATA_NOT_SET(0); private final int value; - private DataCase(int value) { this.value = value; } @@ -310,46 +244,35 @@ 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 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 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 @@ -357,26 +280,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.
    * 
@@ -384,24 +302,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 @@ -409,26 +323,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.
    * 
@@ -436,24 +345,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 @@ -461,26 +366,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.
    * 
@@ -490,21 +390,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 @@ -512,26 +409,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.
    * 
@@ -541,21 +433,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 @@ -563,26 +452,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.
    * 
@@ -590,24 +474,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 @@ -615,26 +495,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.
    * 
@@ -642,24 +517,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 @@ -667,26 +538,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.
    * 
@@ -694,10 +560,9 @@ 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(); } @@ -705,15 +570,12 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchD public static final int CHANNEL_TAG_FIELD_NUMBER = 1; 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 @@ -724,15 +586,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 @@ -740,51 +598,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder() { return getAnnotationStartBoundary(); } 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 @@ -792,41 +636,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder() { return getAnnotationEndBoundary(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -838,7 +671,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_); } @@ -879,50 +713,44 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -932,45 +760,54 @@ 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 0: default: @@ -1034,127 +871,117 @@ 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() @@ -1162,15 +989,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1194,9 +1022,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 @@ -1215,8 +1043,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CallAnnotation result = new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); if (dataCase_ == 10) { if (interruptionDataBuilder_ == null) { result.data_ = data_; @@ -1286,39 +1113,38 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation 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.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; @@ -1326,8 +1152,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()); } @@ -1338,45 +1163,37 @@ 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 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 DATA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1397,8 +1214,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1407,12 +1223,12 @@ public Builder mergeFrom( } 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() { @@ -1422,20 +1238,15 @@ public Builder clearData() { return this; } + 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 @@ -1443,14 +1254,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 @@ -1468,16 +1276,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(); @@ -1491,8 +1296,6 @@ public Builder setInterruptionData( return this; } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1511,26 +1314,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; } @@ -1546,8 +1341,6 @@ public Builder mergeInterruptionData( return this; } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1571,21 +1364,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.
      * 
@@ -1593,8 +1381,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 { @@ -1605,8 +1392,6 @@ public Builder clearInterruptionData() { } } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1614,44 +1399,32 @@ 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()); data_ = null; } dataCase_ = 10; - onChanged(); - ; + onChanged();; return interruptionDataBuilder_; } 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 @@ -1659,14 +1432,11 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return The sentimentData. */ @java.lang.Override @@ -1684,8 +1454,6 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1706,8 +1474,6 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1726,25 +1492,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; } @@ -1760,8 +1519,6 @@ public Builder mergeSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1785,21 +1542,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.
      * 
@@ -1807,8 +1559,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 { @@ -1819,8 +1570,6 @@ public Builder clearSentimentData() { } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1828,44 +1577,32 @@ 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()); data_ = null; } dataCase_ = 11; - onChanged(); - ; + onChanged();; return sentimentDataBuilder_; } 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 @@ -1873,14 +1610,11 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** - * - * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return The silenceData. */ @java.lang.Override @@ -1898,8 +1632,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { } } /** - * - * *
      * Data specifying silence.
      * 
@@ -1920,8 +1652,6 @@ public Builder setSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceD return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1940,8 +1670,6 @@ public Builder setSilenceData( return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1950,14 +1678,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; } @@ -1973,8 +1697,6 @@ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.Silenc return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1998,8 +1720,6 @@ public Builder clearSilenceData() { return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -2010,8 +1730,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD return getSilenceDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying silence.
      * 
@@ -2019,8 +1737,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 { @@ -2031,8 +1748,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD } } /** - * - * *
      * Data specifying silence.
      * 
@@ -2040,44 +1755,32 @@ 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()); data_ = null; } dataCase_ = 12; - onChanged(); - ; + onChanged();; return silenceDataBuilder_; } 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 @@ -2085,14 +1788,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 @@ -2110,8 +1810,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { } } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2132,8 +1830,6 @@ public Builder setHoldData(com.google.cloud.contactcenterinsights.v1.HoldData va return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2152,8 +1848,6 @@ public Builder setHoldData( return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2162,13 +1856,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; } @@ -2184,8 +1875,6 @@ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2209,8 +1898,6 @@ public Builder clearHoldData() { return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2221,8 +1908,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldData.Builder getHoldDataBui return getHoldDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2241,8 +1926,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2250,45 +1933,32 @@ 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()); data_ = null; } dataCase_ = 13; - onChanged(); - ; + onChanged();; return holdDataBuilder_; } 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 @@ -2296,15 +1966,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 @@ -2322,17 +1988,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(); @@ -2346,14 +2008,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) { @@ -2367,27 +2026,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; } @@ -2403,14 +2053,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) { @@ -2429,32 +2076,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 { @@ -2465,54 +2104,39 @@ 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()); data_ = null; } dataCase_ = 15; - onChanged(); - ; + onChanged();; return entityMentionDataBuilder_; } 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 @@ -2520,14 +2144,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 @@ -2545,16 +2166,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(); @@ -2568,8 +2186,6 @@ public Builder setIntentMatchData( return this; } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2588,25 +2204,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; } @@ -2622,8 +2231,6 @@ public Builder mergeIntentMatchData( return this; } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2647,21 +2254,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.
      * 
@@ -2669,8 +2271,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 { @@ -2681,8 +2282,6 @@ public Builder clearIntentMatchData() { } } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2690,44 +2289,32 @@ 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()); data_ = null; } dataCase_ = 16; - onChanged(); - ; + onChanged();; return intentMatchDataBuilder_; } 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 @@ -2735,14 +2322,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 @@ -2760,16 +2344,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(); @@ -2783,8 +2364,6 @@ public Builder setPhraseMatchData( return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2803,25 +2382,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; } @@ -2837,8 +2409,6 @@ public Builder mergePhraseMatchData( return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2862,21 +2432,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.
      * 
@@ -2884,8 +2449,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 { @@ -2896,8 +2460,6 @@ public Builder clearPhraseMatchData() { } } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2905,41 +2467,32 @@ 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()); data_ = null; } dataCase_ = 17; - onChanged(); - ; + onChanged();; return phraseMatchDataBuilder_; } - 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 @@ -2947,38 +2500,32 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -2986,62 +2533,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 annotationStartBoundaryBuilder_ != null || 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. */ - 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(); @@ -3055,15 +2581,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) { @@ -3077,25 +2599,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 (annotationStartBoundary_ != null) { annotationStartBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( - annotationStartBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationStartBoundary_).mergeFrom(value).buildPartial(); } else { annotationStartBoundary_ = value; } @@ -3107,15 +2621,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() { if (annotationStartBoundaryBuilder_ == null) { @@ -3129,66 +2639,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() { + 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_; @@ -3196,58 +2688,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 annotationEndBoundaryBuilder_ != null || 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. */ 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(); @@ -3261,14 +2736,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) { @@ -3282,24 +2754,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 (annotationEndBoundary_ != null) { annotationEndBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( - annotationEndBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationEndBoundary_).mergeFrom(value).buildPartial(); } else { annotationEndBoundary_ = value; } @@ -3311,14 +2776,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() { if (annotationEndBoundaryBuilder_ == null) { @@ -3332,70 +2794,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() { + 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); } @@ -3405,12 +2852,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(); } @@ -3419,16 +2866,16 @@ 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 { - return new CallAnnotation(input, extensionRegistry); - } - }; + 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 { + return new CallAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3443,4 +2890,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java similarity index 83% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java index d584c2a6..865ef46a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java +++ b/owl-bot-staging/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,96 +197,69 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder(); /** - * - * *
    * 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java new file mode 100644 index 00000000..84a9d35e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java @@ -0,0 +1,1121 @@ +// 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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022N\n\014conversation\030\002 \001(" + + "\01323.google.cloud.contactcenterinsights.v" + + "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" + + " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" + + "ent\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.contactcenterinsights.v" + + "1.ConversationView\"\200\001\n\031ListConversations" + + "Response\022J\n\rconversations\030\001 \003(\01323.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" + + "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" + + "contactcenterinsights.googleapis.com/Con" + + "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" + + "ontactcenterinsights.v1.ConversationView" + + "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" + + "sation\030\001 \001(\01323.google.cloud.contactcente" + + "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + + "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" + + "(\tB9\340A\002\372A3\n1contactcenterinsights.google" + + "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" + + "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" + + "\340A\002\372A3\n1contactcenterinsights.googleapis" + + ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" + + "ogle.cloud.contactcenterinsights.v1.Anal" + + "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" + + "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" + + ".googleapis.com/Conversation\022\021\n\tpage_siz" + + "e\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.contactcenterinsigh" + + "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" + + "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + + "\372A/\n-contactcenterinsights.googleapis.co" + + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" + + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" + + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" + + "htsDataRequest\022u\n\025big_query_destination\030" + + "\002 \001(\0132T.google.cloud.contactcenterinsigh" + + "ts.v1.ExportInsightsDataRequest.BigQuery" + + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" + + "ocations.googleapis.com/Location\022\016\n\006filt" + + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" + + "sition\030\005 \001(\0162Q.google.cloud.contactcente" + + "rinsights.v1.ExportInsightsDataRequest.W" + + "riteDisposition\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\035W" + + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" + + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" + + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" + + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" + + "oogle.cloud.contactcenterinsights.v1.Exp" + + "ortInsightsDataRequest\022*\n\016partial_errors" + + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" + + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" + + "uest\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.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" + + "lMetadata\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\022O\n\007re" + + "quest\030\003 \001(\0132>.google.cloud.contactcenter" + + "insights.v1.CreateIssueModelRequest\"\227\001\n\027" + + "UpdateIssueModelRequest\022K\n\013issue_model\030\001" + + " \001(\01321.google.cloud.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" + + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\"b\n\027Li" + + "stIssueModelsResponse\022G\n\014issue_models\030\001 " + + "\003(\01321.google.cloud.contactcenterinsights" + + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" + + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" + + "hts.googleapis.com/IssueModel\"`\n\027DeleteI" + + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "contactcenterinsights.googleapis.com/Iss" + + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" + + "create_time\030\001 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" + + ".google.cloud.contactcenterinsights.v1.D" + + "eleteIssueModelRequest\"`\n\027DeployIssueMod" + + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" + + "centerinsights.googleapis.com/IssueModel" + + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" + + "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.DeployIssueModelRequ" + + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" + + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" + + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" + + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" + + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" + + "\030\003 \001(\0132@.google.cloud.contactcenterinsig" + + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" + + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" + + "ctcenterinsights.googleapis.com/Issue\"\\\n" + + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" + + "A1\n/contactcenterinsights.googleapis.com" + + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" + + "ues\030\001 \003(\0132,.google.cloud.contactcenterin" + + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" + + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" + + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" + + "culateIssueModelStatsRequest\022L\n\013issue_mo" + + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + + ".googleapis.com/IssueModel\"v\n CalculateI" + + "ssueModelStatsResponse\022R\n\rcurrent_stats\030" + + "\004 \001(\0132;.google.cloud.contactcenterinsigh" + + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" + + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022Q\n\016" + + "phrase_matcher\030\002 \001(\01324.google.cloud.cont" + + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" + + "\215\001\n\031ListPhraseMatchersRequest\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_toke" + + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" + + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" + + "4.google.cloud.contactcenterinsights.v1." + + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" + + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" + + ":\340A\002\372A4\n2contactcenterinsights.googleapi" + + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" + + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" + + "centerinsights.googleapis.com/PhraseMatc" + + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" + + "rase_matcher\030\001 \001(\01324.google.cloud.contac" + + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" + + "(\tB5\340A\002\372A/\n-contactcenterinsights.google" + + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" + + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" + + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" + + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" + + "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." + + "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" + + "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" + + "actcenterinsights.googleapis.com/View\"t\n" + + "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" + + "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" + + ".cloud.contactcenterinsights.v1.View\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" + + "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" + + "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" + + "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + + ")contactcenterinsights.googleapis.com/Vi" + + "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" + + "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" + + ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" + + "rsation\022@.google.cloud.contactcenterinsi" + + "ghts.v1.CreateConversationRequest\0323.goog" + + "le.cloud.contactcenterinsights.v1.Conver" + + "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" + + "ocations/*}/conversations:\014conversation\332" + + "A#parent,conversation,conversation_id\022\374\001" + + "\n\022UpdateConversation\022@.google.cloud.cont" + + "actcenterinsights.v1.UpdateConversationR" + + "equest\0323.google.cloud.contactcenterinsig" + + "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" + + "sation.name=projects/*/locations/*/conve" + + "rsations/*}:\014conversation\332A\030conversation" + + ",update_mask\022\307\001\n\017GetConversation\022=.googl" + + "e.cloud.contactcenterinsights.v1.GetConv" + + "ersationRequest\0323.google.cloud.contactce" + + "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" + + "oogle.cloud.contactcenterinsights.v1.Lis" + + "tConversationsRequest\032@.google.cloud.con" + + "tactcenterinsights.v1.ListConversationsR" + + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" + + "locations/*}/conversations\332A\006parent\022\260\001\n\022" + + "DeleteConversation\022@.google.cloud.contac" + + "tcenterinsights.v1.DeleteConversationReq" + + "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" + + "le.cloud.contactcenterinsights.v1.Create" + + "AnalysisRequest\032\035.google.longrunning.Ope" + + "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" + + "loud.contactcenterinsights.v1.CreateIssu" + + "eModelRequest\032\035.google.longrunning.Opera" + + "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" + + "cations/*}/issueModels:\013issue_model\332A\022pa" + + "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" + + "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" + + ".google.cloud.contactcenterinsights.v1.U" + + "pdateIssueModelRequest\0321.google.cloud.co" + + "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" + + "J2;/v1/{issue_model.name=projects/*/loca" + + "tions/*/issueModels/*}:\013issue_model\332A\027is" + + "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" + + ";.google.cloud.contactcenterinsights.v1." + + "GetIssueModelRequest\0321.google.cloud.cont" + + "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" + + "//v1/{name=projects/*/locations/*/issueM" + + "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" + + "ogle.cloud.contactcenterinsights.v1.List" + + "IssueModelsRequest\032>.google.cloud.contac" + + "tcenterinsights.v1.ListIssueModelsRespon" + + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" + + "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" + + "ssueModel\022>.google.cloud.contactcenterin" + + "sights.v1.DeleteIssueModelRequest\032\035.goog" + + "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" + + "ame=projects/*/locations/*/issueModels/*" + + "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" + + "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" + + "l\022>.google.cloud.contactcenterinsights.v" + + "1.DeployIssueModelRequest\032\035.google.longr" + + "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" + + "ects/*/locations/*/issueModels/*}:deploy" + + ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" + + "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" + + "sueModel\022@.google.cloud.contactcenterins" + + "ights.v1.UndeployIssueModelRequest\032\035.goo" + + "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" + + "{name=projects/*/locations/*/issueModels" + + "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" + + "ModelResponse\022\032UndeployIssueModelMetadat" + + "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" + + "terinsights.v1.GetIssueRequest\032,.google." + + "cloud.contactcenterinsights.v1.Issue\"G\202\323" + + "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" + + "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" + + "sues\0228.google.cloud.contactcenterinsight" + + "s.v1.ListIssuesRequest\0329.google.cloud.co" + + "ntactcenterinsights.v1.ListIssuesRespons" + + "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" + + "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" + + "\013UpdateIssue\0229.google.cloud.contactcente" + + "rinsights.v1.UpdateIssueRequest\032,.google" + + ".cloud.contactcenterinsights.v1.Issue\"a\202" + + "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" + + "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" + + "ssue,update_mask\022\222\002\n\030CalculateIssueModel" + + "Stats\022F.google.cloud.contactcenterinsigh" + + "ts.v1.CalculateIssueModelStatsRequest\032G." + + "google.cloud.contactcenterinsights.v1.Ca" + + "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" + + "/v1/{issue_model=projects/*/locations/*/" + + "issueModels/*}:calculateIssueModelStats\332" + + "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." + + "google.cloud.contactcenterinsights.v1.Cr" + + "eatePhraseMatcherRequest\0324.google.cloud." + + "contactcenterinsights.v1.PhraseMatcher\"b" + + "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" + + "/*}/phraseMatchers:\016phrase_matcher\332A\025par" + + "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" + + ">.google.cloud.contactcenterinsights.v1." + + "GetPhraseMatcherRequest\0324.google.cloud.c" + + "ontactcenterinsights.v1.PhraseMatcher\"A\202" + + "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" + + "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" + + "atchers\022@.google.cloud.contactcenterinsi" + + "ghts.v1.ListPhraseMatchersRequest\032A.goog" + + "le.cloud.contactcenterinsights.v1.ListPh" + + "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" + + "t=projects/*/locations/*}/phraseMatchers" + + "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" + + "le.cloud.contactcenterinsights.v1.Delete" + + "PhraseMatcherRequest\032\026.google.protobuf.E" + + "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" + + "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" + + "tePhraseMatcher\022A.google.cloud.contactce" + + "nterinsights.v1.UpdatePhraseMatcherReque" + + "st\0324.google.cloud.contactcenterinsights." + + "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" + + "tcher.name=projects/*/locations/*/phrase" + + "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" + + "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" + + "ogle.cloud.contactcenterinsights.v1.Calc" + + "ulateStatsRequest\032=.google.cloud.contact" + + "centerinsights.v1.CalculateStatsResponse" + + "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" + + "ions/*}/conversations:calculateStats\332A\010l" + + "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" + + "ontactcenterinsights.v1.GetSettingsReque" + + "st\032/.google.cloud.contactcenterinsights." + + "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" + + "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" + + "eSettings\022<.google.cloud.contactcenterin" + + "sights.v1.UpdateSettingsRequest\032/.google" + + ".cloud.contactcenterinsights.v1.Settings" + + "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" + + "locations/*/settings}:\010settings\332A\024settin" + + "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" + + "loud.contactcenterinsights.v1.CreateView" + + "Request\032+.google.cloud.contactcenterinsi" + + "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" + + "ts/*/locations/*}/views:\004view\332A\013parent,v" + + "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" + + "nterinsights.v1.GetViewRequest\032+.google." + + "cloud.contactcenterinsights.v1.View\"8\202\323\344" + + "\223\002+\022)/v1/{name=projects/*/locations/*/vi" + + "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" + + "ud.contactcenterinsights.v1.ListViewsReq" + + "uest\0328.google.cloud.contactcenterinsight" + + "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" + + "ent=projects/*/locations/*}/views\332A\006pare" + + "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" + + "centerinsights.v1.UpdateViewRequest\032+.go" + + "ogle.cloud.contactcenterinsights.v1.View", + "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" + + "tions/*/views/*}:\004view\332A\020view,update_mas" + + "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" + + "enterinsights.v1.DeleteViewRequest\032\026.goo" + + "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" + + "ojects/*/locations/*/views/*}\332A\004name\032X\312A" + + "$contactcenterinsights.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\240\002\n)com.google.cloud.contactcente" + + "rinsights.v1B\032ContactCenterInsightsProto" + + "P\001ZZgoogle.golang.org/genproto/googleapi" + + "s/cloud/contactcenterinsights/v1;contact" + + "centerinsights\252\002%Google.Cloud.ContactCen" + + "terInsights.V1\312\002%Google\\Cloud\\ContactCen" + + "terInsights\\V1\352\002(Google::Cloud::ContactC" + + "enterInsights::V1b\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", }); + 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_CreateAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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_ExportInsightsDataRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + 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(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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_CalculateIssueModelStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + 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(36); + 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(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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(42); + 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(43); + 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(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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(49); + 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(50); + 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java index 22af8dc9..1ea5782f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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; } - private Conversation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,265 +59,216 @@ private Conversation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = null; + if (dataSource_ != null) { + subBuilder = dataSource_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = - null; - if (dataSource_ != null) { - subBuilder = dataSource_.toBuilder(); - } - dataSource_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - - break; + dataSource_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataSource_); + dataSource_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - agentId_ = s; - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + agentId_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder subBuilder = null; + if (metadataCase_ == 7) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_).toBuilder(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder - subBuilder = null; - if (metadataCase_ == 7) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - metadata_) - .toBuilder(); - } - metadata_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - metadata_); - metadata_ = subBuilder.buildPartial(); - } - metadataCase_ = 7; - break; + metadata_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); + metadata_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = - null; - if (transcript_ != null) { - subBuilder = transcript_.toBuilder(); - } - transcript_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transcript_); - transcript_ = subBuilder.buildPartial(); - } - - break; + metadataCase_ = 7; + break; + } + case 66: { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = null; + if (transcript_ != null) { + subBuilder = transcript_.toBuilder(); } - case 72: - { - int rawValue = input.readEnum(); - - medium_ = rawValue; - break; + transcript_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transcript_); + transcript_ = subBuilder.buildPartial(); } - case 82: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 72: { + int rawValue = input.readEnum(); + + medium_ = rawValue; + break; + } + case 82: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); } - case 88: - { - turnCount_ = input.readInt32(); - break; + duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); } - case 98: - { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (latestAnalysis_ != null) { - subBuilder = latestAnalysis_.toBuilder(); - } - latestAnalysis_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(latestAnalysis_); - latestAnalysis_ = subBuilder.buildPartial(); - } - break; + break; + } + case 88: { + + turnCount_ = input.readInt32(); + break; + } + case 98: { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (latestAnalysis_ != null) { + subBuilder = latestAnalysis_.toBuilder(); } - case 106: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - runtimeAnnotations_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation>(); - mutable_bitField0_ |= 0x00000002; - } - runtimeAnnotations_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), - extensionRegistry)); - break; + latestAnalysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(latestAnalysis_); + latestAnalysis_ = subBuilder.buildPartial(); } - case 114: - { - java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; + break; + } + case 106: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + runtimeAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 122: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationCase_ == 15) { - subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); - } - expiration_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); - expiration_ = subBuilder.buildPartial(); - } - expirationCase_ = 15; - break; + runtimeAnnotations_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), extensionRegistry)); + break; + } + case 114: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + case 122: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationCase_ == 15) { + subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); } - case 130: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (expirationCase_ == 16) { - subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); - } - expiration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); - expiration_ = subBuilder.buildPartial(); - } - expirationCase_ = 16; - break; + expiration_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); + expiration_ = subBuilder.buildPartial(); } - case 138: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + expirationCase_ = 15; + break; + } + case 130: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (expirationCase_ == 16) { + subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); } - case 146: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dialogflowIntents_ = - com.google.protobuf.MapField.newMapField( - DialogflowIntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - dialogflowIntents__ = - input.readMessage( - DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - dialogflowIntents_ - .getMutableMap() - .put(dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); - break; + expiration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); + expiration_ = subBuilder.buildPartial(); + } + expirationCase_ = 16; + break; + } + case 138: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 170: - { - java.lang.String s = input.readStringRequireUtf8(); - obfuscatedUserId_ = s; - break; + break; + } + case 146: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dialogflowIntents_ = com.google.protobuf.MapField.newMapField( + DialogflowIntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + dialogflowIntents__ = input.readMessage( + DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + dialogflowIntents_.getMutableMap().put( + dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); + + obfuscatedUserId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -342,7 +276,8 @@ private Conversation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { runtimeAnnotations_ = java.util.Collections.unmodifiableList(runtimeAnnotations_); @@ -351,48 +286,43 @@ private Conversation( makeExtensionsImmutable(); } } - - 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.
      * 
@@ -401,8 +331,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ MEDIUM_UNSPECIFIED(0), /** - * - * *
      * The format for conversations that took place over the phone.
      * 
@@ -411,8 +339,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ PHONE_CALL(1), /** - * - * *
      * The format for conversations that took place over chat.
      * 
@@ -424,8 +350,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -434,8 +358,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.
      * 
@@ -444,8 +366,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.
      * 
@@ -454,6 +374,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( @@ -478,51 +399,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; @@ -539,69 +458,61 @@ 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; } - private CallMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -620,23 +531,23 @@ private CallMetadata( case 0: done = true; break; - case 8: - { - customerChannel_ = input.readInt32(); - break; - } - case 16: - { - agentChannel_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + customerChannel_ = input.readInt32(); + break; + } + case 16: { + + agentChannel_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,39 +555,34 @@ private CallMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; - * * @return The customerChannel. */ @java.lang.Override @@ -687,14 +593,11 @@ public int getCustomerChannel() { public static final int AGENT_CHANNEL_FIELD_NUMBER = 2; private int agentChannel_; /** - * - * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; - * * @return The agentChannel. */ @java.lang.Override @@ -703,7 +606,6 @@ public int getAgentChannel() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -715,7 +617,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_); } @@ -732,10 +635,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -745,16 +650,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -776,95 +682,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 @@ -874,49 +772,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -928,16 +821,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 @@ -951,8 +842,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); result.customerChannel_ = customerChannel_; result.agentChannel_ = agentChannel_; onBuilt(); @@ -963,53 +853,46 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata build 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()); } @@ -1035,9 +918,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1047,16 +928,13 @@ public Builder mergeFrom( return this; } - private int customerChannel_; + private int customerChannel_ ; /** - * - * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; - * * @return The customerChannel. */ @java.lang.Override @@ -1064,51 +942,42 @@ 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; onChanged(); return this; } /** - * - * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; - * * @return This builder for chaining. */ public Builder clearCustomerChannel() { - + customerChannel_ = 0; onChanged(); 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 @@ -1116,41 +985,34 @@ 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; onChanged(); return this; } /** - * - * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; - * * @return This builder for chaining. */ public Builder clearAgentChannel() { - + agentChannel_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1163,32 +1025,30 @@ 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 { - return new CallMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,120 +1060,92 @@ 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; } - private Transcript( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1333,29 +1165,22 @@ private Transcript( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transcriptSegments_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment>(); - mutable_bitField0_ |= 0x00000001; - } - transcriptSegments_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transcriptSegments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transcriptSegments_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1363,7 +1188,8 @@ private Transcript( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transcriptSegments_ = java.util.Collections.unmodifiableList(transcriptSegments_); @@ -1372,54 +1198,42 @@ private Transcript( makeExtensionsImmutable(); } } - - 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.
        * 
@@ -1429,118 +1243,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.
@@ -1548,13 +1325,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.
@@ -1562,14 +1336,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
@@ -1578,125 +1350,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.
        * 
@@ -1706,25 +1436,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(); @@ -1733,15 +1459,16 @@ 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; } - private TranscriptSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1761,124 +1488,96 @@ private TranscriptSegment( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - text_ = s; - break; - } - case 21: - { - confidence_ = input.readFloat(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo>(); - mutable_bitField0_ |= 0x00000001; - } - words_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.parser(), - extensionRegistry)); - break; + text_ = s; + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + words_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.parser(), extensionRegistry)); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; + languageCode_ = s; + break; + } + case 40: { + + channelTag_ = input.readInt32(); + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (messageTime_ != null) { + subBuilder = messageTime_.toBuilder(); } - case 40: - { - channelTag_ = input.readInt32(); - break; + messageTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(messageTime_); + messageTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (messageTime_ != null) { - subBuilder = messageTime_.toBuilder(); - } - messageTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(messageTime_); - messageTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder subBuilder = null; + if (segmentParticipant_ != null) { + subBuilder = segmentParticipant_.toBuilder(); } - case 74: - { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder - subBuilder = null; - if (segmentParticipant_ != null) { - subBuilder = segmentParticipant_.toBuilder(); - } - segmentParticipant_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentParticipant_); - segmentParticipant_ = subBuilder.buildPartial(); - } - - break; + segmentParticipant_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentParticipant_); + segmentParticipant_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.Builder - subBuilder = null; - if (dialogflowSegmentMetadata_ != null) { - subBuilder = dialogflowSegmentMetadata_.toBuilder(); - } - dialogflowSegmentMetadata_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dialogflowSegmentMetadata_); - dialogflowSegmentMetadata_ = subBuilder.buildPartial(); - } - break; + break; + } + case 82: { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder subBuilder = null; + if (dialogflowSegmentMetadata_ != null) { + subBuilder = dialogflowSegmentMetadata_.toBuilder(); + } + dialogflowSegmentMetadata_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dialogflowSegmentMetadata_); + dialogflowSegmentMetadata_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentiment_ != null) { - subBuilder = sentiment_.toBuilder(); - } - sentiment_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentiment_); - sentiment_ = subBuilder.buildPartial(); - } - break; + break; + } + case 90: { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentiment_ != null) { + subBuilder = sentiment_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentiment_); + sentiment_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1886,8 +1585,8 @@ private TranscriptSegment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -1896,58 +1595,44 @@ private TranscriptSegment( makeExtensionsImmutable(); } } - - 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.
@@ -1958,34 +1643,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.
@@ -1996,79 +1673,68 @@ 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; } - private WordInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2087,55 +1753,50 @@ private WordInfo( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startOffset_ != null) { - subBuilder = startOffset_.toBuilder(); - } - startOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startOffset_); - startOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startOffset_ != null) { + subBuilder = startOffset_.toBuilder(); } - case 18: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (endOffset_ != null) { - subBuilder = endOffset_.toBuilder(); - } - endOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endOffset_); - endOffset_ = subBuilder.buildPartial(); - } - - break; + startOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startOffset_); + startOffset_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - word_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endOffset_ != null) { + subBuilder = endOffset_.toBuilder(); } - case 37: - { - confidence_ = input.readFloat(); - break; + endOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOffset_); + endOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + word_ = s; + break; + } + case 37: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2143,43 +1804,35 @@ private WordInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -2187,26 +1840,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.
@@ -2222,15 +1868,12 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
         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 @@ -2238,26 +1881,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.
@@ -2273,14 +1909,11 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
         public static final int WORD_FIELD_NUMBER = 3;
         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 @@ -2289,29 +1922,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 { @@ -2322,15 +1955,12 @@ public com.google.protobuf.ByteString getWordBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 4; 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 @@ -2339,7 +1969,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2352,7 +1981,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()); } @@ -2375,16 +2004,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2394,32 +2026,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2442,125 +2070,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) + unknownFields.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 @@ -2570,53 +2168,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2640,26 +2229,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); } @@ -2667,14 +2249,8 @@ 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); + 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 (startOffsetBuilder_ == null) { result.startOffset_ = startOffset_; } else { @@ -2695,60 +2271,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -2777,16 +2339,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2798,49 +2355,36 @@ public Builder mergeFrom( 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 startOffsetBuilder_ != null || 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. */ 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.
@@ -2862,8 +2406,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.
@@ -2871,7 +2413,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();
               onChanged();
@@ -2882,8 +2425,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.
@@ -2895,9 +2436,7 @@ public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             if (startOffsetBuilder_ == null) {
               if (startOffset_ != null) {
                 startOffset_ =
-                    com.google.protobuf.Duration.newBuilder(startOffset_)
-                        .mergeFrom(value)
-                        .buildPartial();
+                  com.google.protobuf.Duration.newBuilder(startOffset_).mergeFrom(value).buildPartial();
               } else {
                 startOffset_ = value;
               }
@@ -2909,8 +2448,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.
@@ -2930,8 +2467,6 @@ public Builder clearStartOffset() {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2940,13 +2475,11 @@ public Builder clearStartOffset() {
            * .google.protobuf.Duration start_offset = 1;
            */
           public com.google.protobuf.Duration.Builder getStartOffsetBuilder() {
-
+            
             onChanged();
             return getStartOffsetFieldBuilder().getBuilder();
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2958,14 +2491,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.
@@ -2974,17 +2504,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_;
@@ -2992,49 +2519,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 endOffsetBuilder_ != null || 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. */ 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.
@@ -3056,8 +2570,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.
@@ -3065,7 +2577,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();
               onChanged();
@@ -3076,8 +2589,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.
@@ -3089,9 +2600,7 @@ public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             if (endOffsetBuilder_ == null) {
               if (endOffset_ != null) {
                 endOffset_ =
-                    com.google.protobuf.Duration.newBuilder(endOffset_)
-                        .mergeFrom(value)
-                        .buildPartial();
+                  com.google.protobuf.Duration.newBuilder(endOffset_).mergeFrom(value).buildPartial();
               } else {
                 endOffset_ = value;
               }
@@ -3103,8 +2612,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.
@@ -3124,8 +2631,6 @@ public Builder clearEndOffset() {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -3134,13 +2639,11 @@ public Builder clearEndOffset() {
            * .google.protobuf.Duration end_offset = 2;
            */
           public com.google.protobuf.Duration.Builder getEndOffsetBuilder() {
-
+            
             onChanged();
             return getEndOffsetFieldBuilder().getBuilder();
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -3152,14 +2655,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.
@@ -3168,17 +2668,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_;
@@ -3186,20 +2683,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; @@ -3208,21 +2703,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 { @@ -3230,77 +2724,67 @@ 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) { + public Builder setWord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** - * - * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; - * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); 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) { + public Builder setWordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); 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 @@ -3308,43 +2792,36 @@ 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; 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() { - + confidence_ = 0F; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3357,36 +2834,30 @@ 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 { - return new WordInfo(input, extensionRegistry); - } - }; + 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 { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3398,67 +2869,58 @@ 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; } - private DialogflowSegmentMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3477,18 +2939,18 @@ private DialogflowSegmentMetadata( case 0: done = true; break; - case 8: - { - smartReplyAllowlistCovered_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + smartReplyAllowlistCovered_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3496,43 +2958,35 @@ private DialogflowSegmentMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
          * 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 @@ -3541,7 +2995,6 @@ public boolean getSmartReplyAllowlistCovered() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3554,7 +3007,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_); } @@ -3568,9 +3021,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3580,23 +3032,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3609,127 +3053,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) + unknownFields.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 @@ -3739,53 +3151,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3795,26 +3198,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); } @@ -3822,14 +3218,8 @@ 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); + 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); result.smartReplyAllowlistCovered_ = smartReplyAllowlistCovered_; onBuilt(); return result; @@ -3839,60 +3229,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -3911,16 +3287,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3930,17 +3301,14 @@ public Builder mergeFrom( return this; } - 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 @@ -3948,43 +3316,36 @@ 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; 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() { - + smartReplyAllowlistCovered_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3997,36 +3358,30 @@ 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 { - return new DialogflowSegmentMetadata(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSegmentMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4038,24 +3393,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 @@ -4063,25 +3414,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.
        * 
@@ -4096,14 +3440,11 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int TEXT_FIELD_NUMBER = 1; private volatile java.lang.Object text_; /** - * - * *
        * The text of this segment.
        * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -4112,29 +3453,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 { @@ -4145,15 +3486,12 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -4162,102 +3500,68 @@ public float getConfidence() { } public static final int WORDS_FIELD_NUMBER = 3; - 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; 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.
@@ -4265,7 +3569,6 @@ public int getWordsCount() {
        * 
* * string language_code = 4; - * * @return The languageCode. */ @java.lang.Override @@ -4274,15 +3577,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.
@@ -4290,15 +3592,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 { @@ -4309,8 +3612,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int CHANNEL_TAG_FIELD_NUMBER = 5; private int channelTag_; /** - * - * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -4319,7 +3620,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
        * 
* * int32 channel_tag = 5; - * * @return The channelTag. */ @java.lang.Override @@ -4330,16 +3630,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 @@ -4347,57 +3642,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() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder() { return getSegmentParticipant(); } 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 @@ -4405,56 +3680,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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder() { return getDialogflowSegmentMetadata(); } 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 @@ -4462,25 +3718,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.
        * 
@@ -4488,13 +3737,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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { return getSentiment(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4506,7 +3753,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_); } @@ -4547,31 +3795,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4581,39 +3833,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4633,7 +3889,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(); @@ -4659,116 +3916,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 @@ -4778,55 +4007,45 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getWordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4872,23 +4091,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); } @@ -4896,12 +4111,8 @@ 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); int from_bitField0_ = bitField0_; if (messageTimeBuilder_ == null) { result.messageTime_ = messageTime_; @@ -4944,58 +4155,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -5024,10 +4223,9 @@ public Builder mergeFrom( wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWordsFieldBuilder() - : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWordsFieldBuilder() : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -5064,15 +4262,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5081,52 +4275,38 @@ public Builder mergeFrom( } 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 messageTimeBuilder_ != null || messageTime_ != null; } /** - * - * *
          * 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.
          * 
@@ -5147,15 +4327,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(); onChanged(); @@ -5166,8 +4345,6 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5178,9 +4355,7 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { if (messageTime_ != null) { messageTime_ = - com.google.protobuf.Timestamp.newBuilder(messageTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(messageTime_).mergeFrom(value).buildPartial(); } else { messageTime_ = value; } @@ -5192,8 +4367,6 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5212,8 +4385,6 @@ public Builder clearMessageTime() { return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5221,13 +4392,11 @@ public Builder clearMessageTime() { * .google.protobuf.Timestamp message_time = 6; */ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { - + onChanged(); return getMessageTimeFieldBuilder().getBuilder(); } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5238,14 +4407,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.
          * 
@@ -5253,17 +4419,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_; @@ -5271,20 +4434,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; @@ -5293,21 +4454,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 { @@ -5315,77 +4475,67 @@ 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) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
          * The text of this segment.
          * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); 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 @@ -5393,82 +4543,57 @@ 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; 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() { - + confidence_ = 0F; onChanged(); 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_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo>(words_); + words_ = new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -5476,15 +4601,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) { @@ -5494,19 +4615,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 { @@ -5514,21 +4629,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(); @@ -5542,21 +4650,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()); @@ -5567,20 +4668,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(); @@ -5594,21 +4688,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(); @@ -5622,20 +4709,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()); @@ -5646,21 +4727,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()); @@ -5671,25 +4745,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); @@ -5697,15 +4764,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) { @@ -5718,15 +4781,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) { @@ -5739,57 +4798,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 { @@ -5797,80 +4838,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_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); words_ = null; } return wordsBuilder_; @@ -5878,8 +4888,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.
@@ -5887,13 +4895,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; @@ -5902,8 +4910,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.
@@ -5911,14 +4917,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 { @@ -5926,8 +4933,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.
@@ -5935,22 +4940,20 @@ 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) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5958,18 +4961,15 @@ public Builder setLanguageCode(java.lang.String value) {
          * 
* * string language_code = 4; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5977,25 +4977,23 @@ 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) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); 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
@@ -6004,7 +5002,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
          * 
* * int32 channel_tag = 5; - * * @return The channelTag. */ @java.lang.Override @@ -6012,8 +5009,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
@@ -6022,19 +5017,16 @@ 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; onChanged(); return this; } /** - * - * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -6043,76 +5035,52 @@ public Builder setChannelTag(int value) {
          * 
* * int32 channel_tag = 5; - * * @return This builder for chaining. */ public Builder clearChannelTag() { - + channelTag_ = 0; onChanged(); 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 segmentParticipantBuilder_ != null || 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. */ - 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(); @@ -6126,19 +5094,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(); onChanged(); @@ -6149,25 +5112,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 (segmentParticipant_ != null) { segmentParticipant_ = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder( - segmentParticipant_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder(segmentParticipant_).mergeFrom(value).buildPartial(); } else { segmentParticipant_ = value; } @@ -6179,15 +5134,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() { if (segmentParticipantBuilder_ == null) { @@ -6201,139 +5152,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() { + 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 dialogflowSegmentMetadataBuilder_ != null || 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. */ - 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(); @@ -6347,20 +5249,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(); onChanged(); @@ -6371,28 +5267,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 (dialogflowSegmentMetadata_ != null) { dialogflowSegmentMetadata_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.newBuilder( - dialogflowSegmentMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder(dialogflowSegmentMetadata_).mergeFrom(value).buildPartial(); } else { dialogflowSegmentMetadata_ = value; } @@ -6404,15 +5289,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() { if (dialogflowSegmentMetadataBuilder_ == null) { @@ -6426,75 +5307,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() { + 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_; @@ -6502,47 +5356,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 sentimentBuilder_ != null || sentiment_ != null; } /** - * - * *
          * 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.
          * 
@@ -6563,8 +5404,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6583,22 +5422,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 (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); } else { sentiment_ = value; } @@ -6610,8 +5444,6 @@ public Builder mergeSentiment( return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6630,42 +5462,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() { + 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.
          * 
@@ -6673,22 +5496,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) { @@ -6701,36 +5520,30 @@ 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 { - return new TranscriptSegment(input, extensionRegistry); - } - }; + 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 { + return new TranscriptSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6742,103 +5555,73 @@ 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; - 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; @@ -6850,7 +5633,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)); } @@ -6864,8 +5648,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6875,15 +5659,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6905,95 +5689,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 @@ -7003,51 +5779,45 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTranscriptSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7061,16 +5831,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 @@ -7084,8 +5852,7 @@ 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); int from_bitField0_ = bitField0_; if (transcriptSegmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -7104,53 +5871,46 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript buildPa 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()) { @@ -7169,10 +5929,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_); } @@ -7197,9 +5956,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7208,45 +5965,28 @@ public Builder mergeFrom( } 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 { @@ -7254,15 +5994,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) { @@ -7272,18 +6008,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 { @@ -7291,20 +6022,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(); @@ -7318,21 +6043,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()); @@ -7343,19 +6061,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(); @@ -7369,20 +6081,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(); @@ -7396,20 +6102,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()); @@ -7420,21 +6120,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()); @@ -7445,25 +6138,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); @@ -7471,15 +6157,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) { @@ -7492,15 +6174,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) { @@ -7513,57 +6191,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 { @@ -7571,78 +6231,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(), @@ -7651,7 +6278,6 @@ public Builder removeTranscriptSegments(int index) { } return transcriptSegmentsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7664,32 +6290,30 @@ 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 { - return new Transcript(input, extensionRegistry); - } - }; + 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 { + return new Transcript(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7701,23 +6325,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; } @@ -7733,36 +6354,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; } @@ -7778,37 +6394,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 @@ -7816,54 +6425,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 @@ -7871,27 +6469,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.
@@ -7902,22 +6495,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 @@ -7925,27 +6515,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.
@@ -7956,7 +6541,7 @@ 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();
   }
@@ -7964,8 +6549,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -7973,7 +6556,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -7982,15 +6564,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:
@@ -7998,15 +6579,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 { @@ -8017,14 +6599,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 @@ -8032,25 +6611,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.
    * 
@@ -8058,23 +6630,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() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder() { return getDataSource(); } 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 @@ -8082,15 +6649,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 @@ -8098,14 +6661,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() { @@ -8115,15 +6675,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 @@ -8131,15 +6687,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 @@ -8147,14 +6699,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() { @@ -8164,14 +6713,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 @@ -8179,14 +6725,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 @@ -8194,8 +6737,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which the conversation started.
    * 
@@ -8210,14 +6751,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object languageCode_; /** - * - * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; - * * @return The languageCode. */ @java.lang.Override @@ -8226,29 +6764,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 { @@ -8259,15 +6797,12 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int AGENT_ID_FIELD_NUMBER = 5; 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 @@ -8276,30 +6811,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 { @@ -8308,23 +6843,24 @@ 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, + ""); } - - 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_; } @@ -8333,8 +6869,6 @@ 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.
@@ -8342,22 +6876,22 @@ 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.
@@ -8366,12 +6900,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
+
   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.
@@ -8380,16 +6913,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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.
@@ -8398,11 +6931,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -8412,16 +6946,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 @@ -8429,95 +6958,64 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder() { return getTranscript(); } public static final int MEDIUM_FIELD_NUMBER = 9; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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 @@ -8525,15 +7023,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 @@ -8541,14 +7035,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() { @@ -8558,14 +7049,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int TURN_COUNT_FIELD_NUMBER = 11; 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 @@ -8576,16 +7064,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 @@ -8593,34 +7076,23 @@ 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() { @@ -8628,119 +7100,86 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnal } public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER = 13; - 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< - ? 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.
    * 
* - * - * 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()); } - - 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); @@ -8752,95 +7191,78 @@ 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 com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -8850,14 +7272,11 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI public static final int OBFUSCATED_USER_ID_FIELD_NUMBER = 21; 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 @@ -8866,29 +7285,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 { @@ -8897,7 +7316,6 @@ public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8909,7 +7327,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_); } @@ -8925,18 +7344,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) { @@ -8963,7 +7383,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, @@ -8984,81 +7405,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_); @@ -9071,55 +7493,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: @@ -9127,10 +7564,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: @@ -9224,151 +7663,143 @@ 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() @@ -9376,17 +7807,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRuntimeAnnotationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -9460,9 +7891,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 @@ -9481,8 +7912,7 @@ 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); int from_bitField0_ = bitField0_; if (metadataCase_ == 7) { if (callMetadataBuilder_ == null) { @@ -9569,39 +7999,38 @@ public com.google.cloud.contactcenterinsights.v1.Conversation 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.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; @@ -9609,8 +8038,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_; onChanged(); @@ -9635,7 +8063,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation agentId_ = other.agentId_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasTranscript()) { mergeTranscript(other.getTranscript()); } @@ -9669,46 +8098,41 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation runtimeAnnotationsBuilder_ = null; runtimeAnnotations_ = other.runtimeAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - 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()); if (!other.getObfuscatedUserId().isEmpty()) { obfuscatedUserId_ = other.obfuscatedUserId_; 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.unknownFields); onChanged(); @@ -9729,8 +8153,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9739,12 +8162,12 @@ public Builder mergeFrom( } 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() { @@ -9756,9 +8179,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() { @@ -9771,20 +8195,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 @@ -9792,15 +8209,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 @@ -9809,28 +8222,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(); @@ -9844,18 +8251,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(); @@ -9866,28 +8269,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; } @@ -9903,14 +8296,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) { @@ -9929,94 +8319,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()); metadata_ = null; } metadataCase_ = 7; - onChanged(); - ; + onChanged();; return callMetadataBuilder_; } 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 @@ -10024,15 +8388,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 @@ -10050,8 +8411,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.
@@ -10073,8 +8432,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.
@@ -10082,7 +8439,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();
@@ -10093,8 +8451,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.
@@ -10104,12 +8460,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;
         }
@@ -10125,8 +8479,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.
@@ -10151,8 +8503,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.
@@ -10164,8 +8514,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.
@@ -10185,8 +8533,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.
@@ -10195,43 +8541,33 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return expireTimeBuilder_;
     }
 
     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 @@ -10239,15 +8575,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 @@ -10265,8 +8598,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.
@@ -10288,8 +8619,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.
@@ -10297,7 +8626,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();
@@ -10308,8 +8638,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.
@@ -10319,12 +8647,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;
         }
@@ -10340,8 +8666,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.
@@ -10366,8 +8690,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.
@@ -10379,8 +8701,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.
@@ -10400,8 +8720,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.
@@ -10410,32 +8728,26 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return ttlBuilder_;
     }
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10443,13 +8755,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; @@ -10458,8 +8770,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10467,14 +8777,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 { @@ -10482,8 +8793,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10491,22 +8800,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10514,18 +8821,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10533,16 +8837,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -10550,55 +8854,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 dataSourceBuilder_ != null || dataSource_ != null; } /** - * - * *
      * 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(); @@ -10612,8 +8902,6 @@ public Builder setDataSource( return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -10632,23 +8920,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 (dataSource_ != null) { dataSource_ = - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder( - dataSource_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder(dataSource_).mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -10660,8 +8942,6 @@ public Builder mergeDataSource( return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -10680,42 +8960,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() { + 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.
      * 
@@ -10723,17 +8994,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_; @@ -10741,58 +9009,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 createTimeBuilder_ != null || 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. */ 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) { @@ -10808,17 +9057,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(); onChanged(); @@ -10829,21 +9075,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -10855,15 +9097,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() { if (createTimeBuilder_ == null) { @@ -10877,64 +9115,48 @@ 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() { - + onChanged(); 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_; @@ -10942,58 +9164,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -11009,17 +9212,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(); onChanged(); @@ -11030,21 +9230,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -11056,15 +9252,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() { if (updateTimeBuilder_ == null) { @@ -11078,64 +9270,48 @@ 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() { - + onChanged(); 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_; @@ -11143,33 +9319,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -11180,8 +9347,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11202,15 +9367,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(); onChanged(); @@ -11221,8 +9385,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11233,7 +9395,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -11245,8 +9407,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11265,8 +9425,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11274,13 +9432,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 17; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11291,12 +9447,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.
      * 
@@ -11304,17 +9459,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_; @@ -11322,20 +9474,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; @@ -11344,21 +9494,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 { @@ -11366,61 +9515,54 @@ 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) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); 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) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -11428,21 +9570,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; @@ -11451,22 +9591,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 { @@ -11474,84 +9613,78 @@ 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) { + public Builder setAgentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + agentId_ = value; 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() { - + agentId_ = getDefaultInstance().getAgentId(); onChanged(); 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) { + public Builder setAgentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + agentId_ = value; onChanged(); 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -11563,8 +9696,6 @@ 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.
@@ -11572,22 +9703,22 @@ 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.
@@ -11596,12 +9727,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     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.
@@ -11610,17 +9740,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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.
@@ -11629,11 +9758,12 @@ public 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();
       }
@@ -11641,12 +9771,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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.
@@ -11654,21 +9783,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() {
       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.
@@ -11676,20 +9807,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       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.
@@ -11697,68 +9827,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);
       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 transcriptBuilder_ != null || 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. */ 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(); @@ -11772,15 +9885,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) { @@ -11794,25 +9903,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 (transcript_ != null) { transcript_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder( - transcript_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder(transcript_).mergeFrom(value).buildPartial(); } else { transcript_ = value; } @@ -11824,15 +9925,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() { if (transcriptBuilder_ == null) { @@ -11846,66 +9943,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() { + 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_; @@ -11913,75 +9992,51 @@ public Builder clearTranscript() { 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. */ public Builder setMediumValue(int value) { - + medium_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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. */ @@ -11989,26 +10044,21 @@ public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation. if (value == null) { throw new NullPointerException(); } - + medium_ = value.getNumber(); onChanged(); 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() { - + medium_ = 0; onChanged(); return this; @@ -12016,35 +10066,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 durationBuilder_ != null || 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. */ public com.google.protobuf.Duration getDuration() { @@ -12055,14 +10094,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) { @@ -12078,16 +10114,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(); onChanged(); @@ -12098,20 +10132,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 (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -12123,14 +10154,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() { if (durationBuilder_ == null) { @@ -12144,74 +10172,60 @@ 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() { - + onChanged(); 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 @@ -12219,36 +10233,30 @@ 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; 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() { - + turnCount_ = 0; onChanged(); return this; @@ -12256,58 +10264,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 latestAnalysisBuilder_ != null || 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. */ 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) { @@ -12323,15 +10312,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) { @@ -12345,23 +10330,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 (latestAnalysis_ != null) { latestAnalysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_).mergeFrom(value).buildPartial(); } else { latestAnalysis_ = value; } @@ -12373,15 +10352,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() { if (latestAnalysisBuilder_ == null) { @@ -12395,102 +10370,74 @@ 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() { - + onChanged(); 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_ & 0x00000002) != 0)) { - runtimeAnnotations_ = - new java.util.ArrayList( - runtimeAnnotations_); + runtimeAnnotations_ = new java.util.ArrayList(runtimeAnnotations_); bitField0_ |= 0x00000002; - } + } } 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 { @@ -12498,16 +10445,12 @@ private void ensureRuntimeAnnotationsIsMutable() { } } /** - * - * *
      * 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) { @@ -12517,19 +10460,14 @@ 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 { @@ -12537,16 +10475,12 @@ 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) { @@ -12563,20 +10497,15 @@ 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()); @@ -12587,19 +10516,14 @@ 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(); @@ -12613,16 +10537,12 @@ 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 value) { @@ -12639,16 +10559,12 @@ 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) { @@ -12662,20 +10578,15 @@ 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()); @@ -12686,23 +10597,19 @@ 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); @@ -12710,16 +10617,12 @@ 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) { @@ -12732,16 +10635,12 @@ 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) { @@ -12754,56 +10653,42 @@ 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< - ? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> - getRuntimeAnnotationsOrBuilderList() { + public java.util.List + getRuntimeAnnotationsOrBuilderList() { if (runtimeAnnotationsBuilder_ != null) { return runtimeAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -12811,70 +10696,48 @@ public Builder removeRuntimeAnnotations(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]; */ - 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_ & 0x00000002) != 0), getParentForChildren(), @@ -12885,28 +10748,21 @@ 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - internalGetMutableDialogflowIntents() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableDialogflowIntents() { + onChanged();; 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(); @@ -12918,97 +10774,78 @@ 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< - 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:
      * 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:
      * 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 getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -13016,97 +10853,87 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI } public Builder clearDialogflowIntents() { - 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< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - getMutableDialogflowIntents() { + public java.util.Map + getMutableDialogflowIntents() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableDialogflowIntents().getMutableMap().put(key, value); + internalGetMutableDialogflowIntents().getMutableMap() + .put(key, value); 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); 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; @@ -13115,21 +10942,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 { @@ -13137,68 +10963,61 @@ 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) { + public Builder setObfuscatedUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedUserId_ = value; 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() { - + obfuscatedUserId_ = getDefaultInstance().getObfuscatedUserId(); onChanged(); 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) { + public Builder setObfuscatedUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedUserId_ = 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); } @@ -13208,12 +11027,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(); } @@ -13222,16 +11041,16 @@ 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 { - return new Conversation(input, extensionRegistry); - } - }; + 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 { + return new Conversation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13246,4 +11065,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Conversation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java index 09fe0fa8..87e56a68 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ConversationDataSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,41 @@ private ConversationDataSource( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; - if (sourceCase_ == 3) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 3; - break; + source_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; + if (sourceCase_ == 3) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_).toBuilder(); + } + source_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +94,35 @@ private ConversationDataSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; } @@ -169,36 +138,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 @@ -206,26 +169,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.
    * 
@@ -235,21 +193,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 @@ -257,26 +212,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.
    * 
@@ -284,16 +234,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; @@ -305,7 +253,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_); } @@ -322,14 +271,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -339,21 +286,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: @@ -387,127 +335,117 @@ 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() @@ -515,15 +453,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -533,14 +472,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(); } @@ -555,8 +493,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -580,65 +517,58 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource buildPar 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.unknownFields); onChanged(); @@ -659,9 +589,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,12 +598,12 @@ public Builder mergeFrom( } 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() { @@ -685,20 +613,15 @@ public Builder clearSource() { return this; } + 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 @@ -706,14 +629,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 @@ -731,8 +651,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { } } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -753,8 +671,6 @@ public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -773,8 +689,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -783,14 +697,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; } @@ -806,8 +716,6 @@ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSourc return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -831,8 +739,6 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -843,8 +749,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource.Builder getGcsSourceB return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -863,8 +767,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -872,44 +774,32 @@ 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()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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 @@ -917,14 +807,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 @@ -942,16 +829,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(); @@ -965,8 +849,6 @@ public Builder setDialogflowSource( return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -985,26 +867,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; } @@ -1020,8 +894,6 @@ public Builder mergeDialogflowSource( return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -1045,21 +917,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.
      * 
@@ -1067,8 +934,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 { @@ -1079,8 +945,6 @@ public Builder clearDialogflowSource() { } } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -1088,32 +952,26 @@ 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()); source_ = null; } sourceCase_ = 3; - onChanged(); - ; + 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); } @@ -1123,32 +981,30 @@ 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 { - return new ConversationDataSource(input, extensionRegistry); - } - }; + 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 { + return new ConversationDataSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,8 +1016,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java index 307b4423..c20823f9 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java index bee231d7..dffbed5a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ConversationLevelSentiment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,35 +52,31 @@ private ConversationLevelSentiment( case 0: done = true; break; - case 8: - { - channelTag_ = input.readInt32(); - break; + case 8: { + + channelTag_ = input.readInt32(); + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentimentData_ != null) { + subBuilder = sentimentData_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentimentData_ != null) { - subBuilder = sentimentData_.toBuilder(); - } - sentimentData_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentimentData_); - sentimentData_ = subBuilder.buildPartial(); - } - - break; + sentimentData_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentimentData_); + sentimentData_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +84,34 @@ private ConversationLevelSentiment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ @java.lang.Override @@ -147,14 +122,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 @@ -162,25 +134,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.
    * 
@@ -188,13 +153,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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { return getSentimentData(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +169,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_); } @@ -223,10 +187,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,18 +202,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,145 +239,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -426,16 +382,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 @@ -449,8 +403,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); result.channelTag_ = channelTag_; if (sentimentDataBuilder_ == null) { result.sentimentData_ = sentimentData_; @@ -465,51 +418,46 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment 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.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()); } @@ -535,9 +483,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -547,16 +493,13 @@ public Builder mergeFrom( return this; } - 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 @@ -564,36 +507,30 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -601,47 +538,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 sentimentDataBuilder_ != null || sentimentData_ != null; } /** - * - * *
      * 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.
      * 
@@ -662,8 +586,6 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -682,22 +604,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 (sentimentData_ != null) { sentimentData_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_).mergeFrom(value).buildPartial(); } else { sentimentData_ = value; } @@ -709,8 +626,6 @@ public Builder mergeSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -729,42 +644,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() { + 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.
      * 
@@ -772,24 +678,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); } @@ -799,32 +702,30 @@ 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 { - return new ConversationLevelSentiment(input, extensionRegistry); - } - }; + 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 { + return new ConversationLevelSentiment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,8 +737,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java index dabb5dd1..a845256e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java index b3326779..60426fae 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java +++ b/owl-bot-staging/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.
@@ -414,13 +313,11 @@ public interface ConversationOrBuilder
    */
 
   /* 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.
@@ -428,346 +325,254 @@ 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]; - * + * 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:
    * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java index 37fa86ed..7f9d7d99 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ConversationParticipant( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,48 +55,43 @@ private ConversationParticipant( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowParticipant_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + dialogflowParticipant_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - role_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + role_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - obfuscatedExternalUserId_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 5; - participant_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 6; - participant_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + obfuscatedExternalUserId_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 5; + participant_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 6; + participant_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,41 +99,36 @@ private ConversationParticipant( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -164,8 +137,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ ROLE_UNSPECIFIED(0), /** - * - * *
      * Participant is a human agent.
      * 
@@ -174,8 +145,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ HUMAN_AGENT(1), /** - * - * *
      * Participant is an automated agent.
      * 
@@ -184,8 +153,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ AUTOMATED_AGENT(2), /** - * - * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -194,8 +161,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ END_USER(3), /** - * - * *
      * Participant is either a human or automated agent.
      * 
@@ -207,8 +172,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Participant's role is not set.
      * 
@@ -217,8 +180,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Participant is a human agent.
      * 
@@ -227,8 +188,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HUMAN_AGENT_VALUE = 1; /** - * - * *
      * Participant is an automated agent.
      * 
@@ -237,8 +196,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.
      * 
@@ -247,8 +204,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.
      * 
@@ -257,6 +212,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( @@ -281,55 +237,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; @@ -348,16 +300,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; } @@ -373,52 +322,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() { @@ -429,7 +369,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; @@ -438,25 +379,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; } @@ -468,28 +408,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() { @@ -500,7 +434,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; @@ -509,24 +444,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; } @@ -539,8 +473,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER = 1; private volatile java.lang.Object dialogflowParticipant_; /** - * - * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -548,28 +480,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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:
@@ -577,19 +505,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -600,14 +527,11 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() { public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object obfuscatedExternalUserId_; /** - * - * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; - * * @return The obfuscatedExternalUserId. */ @java.lang.Override @@ -616,29 +540,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 { @@ -649,43 +573,31 @@ public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { public static final int ROLE_FIELD_NUMBER = 2; private int role_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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; @@ -697,13 +609,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_)) { @@ -727,14 +638,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_); @@ -750,25 +659,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: @@ -808,145 +719,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -962,14 +862,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(); } @@ -984,8 +883,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); if (participantCase_ == 5) { result.participant_ = participant_; } @@ -1004,50 +902,46 @@ public com.google.cloud.contactcenterinsights.v1.ConversationParticipant buildPa 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_; onChanged(); @@ -1060,24 +954,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.unknownFields); onChanged(); @@ -1098,9 +989,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1109,12 +998,12 @@ public Builder mergeFrom( } 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() { @@ -1124,17 +1013,14 @@ public Builder clearParticipant() { 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 Whether the dialogflowParticipantName field is set. */ @java.lang.Override @@ -1142,16 +1028,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 @@ -1161,7 +1043,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; @@ -1172,27 +1055,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; } @@ -1202,39 +1083,32 @@ 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) { + public Builder setDialogflowParticipantName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 5; + 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() { @@ -1246,24 +1120,21 @@ 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) { + public Builder setDialogflowParticipantNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 5; participant_ = value; onChanged(); @@ -1271,14 +1142,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 @@ -1286,14 +1154,11 @@ public boolean hasUserId() { return participantCase_ == 6; } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @return The userId. */ @java.lang.Override @@ -1303,7 +1168,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; @@ -1314,25 +1180,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; } @@ -1342,35 +1207,30 @@ 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) { + public Builder setUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 6; + 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() { @@ -1382,22 +1242,20 @@ 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) { + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 6; participant_ = value; onChanged(); @@ -1406,8 +1264,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:
@@ -1415,17 +1271,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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; @@ -1434,8 +1288,6 @@ public java.lang.String getDialogflowParticipant() { } } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1443,18 +1295,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -1462,8 +1313,6 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() { } } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1471,26 +1320,22 @@ 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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDialogflowParticipant(java.lang.String value) { + @java.lang.Deprecated public Builder setDialogflowParticipant( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowParticipant_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1498,22 +1343,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearDialogflowParticipant() { - + @java.lang.Deprecated public Builder clearDialogflowParticipant() { + dialogflowParticipant_ = getDefaultInstance().getDialogflowParticipant(); onChanged(); return this; } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1521,20 +1361,18 @@ 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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The bytes for dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setDialogflowParticipantBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowParticipant_ = value; onChanged(); return this; @@ -1542,20 +1380,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; @@ -1564,21 +1400,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 { @@ -1586,61 +1421,54 @@ 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) { + public Builder setObfuscatedExternalUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedExternalUserId_ = value; onChanged(); return this; } /** - * - * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; - * * @return This builder for chaining. */ public Builder clearObfuscatedExternalUserId() { - + obfuscatedExternalUserId_ = getDefaultInstance().getObfuscatedExternalUserId(); onChanged(); 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) { + public Builder setObfuscatedExternalUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedExternalUserId_ = value; onChanged(); return this; @@ -1648,100 +1476,80 @@ 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. */ public Builder setRoleValue(int value) { - + role_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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(); } - + role_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return This builder for chaining. */ public Builder clearRole() { - + role_ = 0; 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); } @@ -1751,32 +1559,30 @@ 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 { - return new ConversationParticipant(input, extensionRegistry); - } - }; + 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 { + return new ConversationParticipant(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1788,8 +1594,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java index a62a540b..8ad1af13 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java +++ b/owl-bot-staging/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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java index e49a1b0d..8810cca3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java index 839045ea..3db5e931 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateAnalysisOperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,50 +53,45 @@ private CreateAnalysisOperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - conversation_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + conversation_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,41 +99,34 @@ private CreateAnalysisOperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -164,15 +134,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 @@ -180,14 +146,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() { @@ -197,15 +160,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 @@ -213,15 +172,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 @@ -229,14 +184,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() { @@ -246,16 +198,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int CONVERSATION_FIELD_NUMBER = 3; 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 @@ -264,31 +211,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 { @@ -297,7 +242,6 @@ public com.google.protobuf.ByteString getConversationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,7 +253,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()); } @@ -329,10 +274,12 @@ 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_); @@ -345,24 +292,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -390,146 +338,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -551,22 +487,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); } @@ -574,10 +507,8 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata buildPartial() { + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -597,52 +528,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata 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()); } @@ -668,14 +593,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -687,58 +609,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -754,17 +657,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(); onChanged(); @@ -775,21 +675,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -801,15 +697,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() { if (createTimeBuilder_ == null) { @@ -823,64 +715,48 @@ 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() { - + onChanged(); 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_; @@ -888,35 +764,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -927,14 +792,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) { @@ -950,16 +812,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(); onChanged(); @@ -970,20 +830,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -995,14 +852,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() { if (endTimeBuilder_ == null) { @@ -1016,59 +870,48 @@ 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() { - + onChanged(); 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_; @@ -1076,22 +919,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; @@ -1100,23 +939,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 { @@ -1124,74 +960,61 @@ 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) { + public Builder setConversation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversation_ = value; 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() { - + conversation_ = getDefaultInstance().getConversation(); 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) = { ... } * @param value The bytes for conversation to set. * @return This builder for chaining. */ - public Builder setConversationBytes(com.google.protobuf.ByteString value) { + public Builder setConversationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversation_ = 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); } @@ -1201,33 +1024,30 @@ 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 { - return new CreateAnalysisOperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1239,8 +1059,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java similarity index 59% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java index 2d0102b6..febfbb08 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java @@ -1,130 +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; -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(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java index 684fa132..6058d1e6 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,37 +53,32 @@ private CreateAnalysisRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (analysis_ != null) { + subBuilder = analysis_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (analysis_ != null) { - subBuilder = analysis_.toBuilder(); - } - analysis_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysis_); - analysis_ = subBuilder.buildPartial(); - } - - break; + analysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysis_); + analysis_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,41 +86,34 @@ private CreateAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -151,31 +122,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 { @@ -186,16 +155,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 @@ -203,34 +167,23 @@ 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() { @@ -238,7 +191,6 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +202,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_); } @@ -270,7 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,18 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,127 +271,117 @@ 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() @@ -444,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -468,14 +414,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(); } @@ -490,8 +435,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); result.parent_ = parent_; if (analysisBuilder_ == null) { result.analysis_ = analysis_; @@ -506,50 +450,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest buildPart 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_; onChanged(); @@ -576,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,22 +528,18 @@ public Builder mergeFrom( 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; @@ -614,23 +548,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 { @@ -638,67 +569,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -706,58 +624,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 analysisBuilder_ != null || 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. */ 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) { @@ -773,15 +672,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) { @@ -795,23 +690,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 (analysis_ != null) { analysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_).mergeFrom(value).buildPartial(); } else { analysis_ = value; } @@ -823,15 +712,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() { if (analysisBuilder_ == null) { @@ -845,71 +730,55 @@ 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() { - + onChanged(); 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); } @@ -919,32 +788,30 @@ 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 { - return new CreateAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -956,8 +823,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..648bc721 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java index 58b0e0c0..cf84eecf 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CreateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateConversationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); - } - - break; + conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - conversationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + conversationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -159,31 +129,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 { @@ -194,16 +162,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 @@ -211,46 +174,32 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { return getConversation(); } public static final int CONVERSATION_ID_FIELD_NUMBER = 3; 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
@@ -260,7 +209,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversation()
    * 
* * string conversation_id = 3; - * * @return The conversationId. */ @java.lang.Override @@ -269,15 +217,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
@@ -287,15 +234,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 { @@ -304,7 +252,6 @@ public com.google.protobuf.ByteString getConversationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +263,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_); } @@ -339,7 +287,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_); @@ -352,20 +301,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -547,16 +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_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 @@ -570,8 +508,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); result.parent_ = parent_; if (conversationBuilder_ == null) { result.conversation_ = conversation_; @@ -587,51 +524,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest build 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_; onChanged(); @@ -662,9 +594,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -676,22 +606,18 @@ public Builder mergeFrom( 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; @@ -700,23 +626,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 { @@ -724,67 +647,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -792,58 +702,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 conversationBuilder_ != null || 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. */ 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) { @@ -859,15 +750,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) { @@ -881,23 +768,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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); } else { conversation_ = value; } @@ -909,15 +790,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() { if (conversationBuilder_ == null) { @@ -931,65 +808,48 @@ 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() { - + onChanged(); 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_; @@ -997,8 +857,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
@@ -1008,13 +866,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; @@ -1023,8 +881,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
@@ -1034,14 +890,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 { @@ -1049,8 +906,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
@@ -1060,22 +915,20 @@ 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) { + public Builder setConversationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversationId_ = value; 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
@@ -1085,18 +938,15 @@ public Builder setConversationId(java.lang.String value) {
      * 
* * string conversation_id = 3; - * * @return This builder for chaining. */ public Builder clearConversationId() { - + conversationId_ = getDefaultInstance().getConversationId(); 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
@@ -1106,23 +956,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) { + public Builder setConversationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversationId_ = 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); } @@ -1132,32 +982,30 @@ 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 { - return new CreateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,8 +1017,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java index 665ce99c..62a507c3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java index 2f01c4e0..4d4da2ce 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private CreateIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = - null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private CreateIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,55 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1147,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for creation.
      * 
@@ -1167,22 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1194,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for creation.
      * 
@@ -1214,42 +1036,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() { + 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.
      * 
@@ -1257,24 +1070,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); } @@ -1284,32 +1094,30 @@ 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 { - return new CreateIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java index 58cbb698..9497c693 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java index 183a83be..241a5a09 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,37 +53,32 @@ private CreateIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); - } - issueModel_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); - } - - break; + issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,41 +86,34 @@ private CreateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -151,31 +122,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 { @@ -186,16 +155,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 @@ -203,34 +167,23 @@ 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() { @@ -238,7 +191,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +202,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_); } @@ -270,7 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,18 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,145 +271,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -470,14 +414,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(); } @@ -492,8 +435,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); result.parent_ = parent_; if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; @@ -508,50 +450,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest buildPa 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_; onChanged(); @@ -578,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -592,22 +528,18 @@ public Builder mergeFrom( 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; @@ -616,23 +548,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 { @@ -640,67 +569,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -708,58 +624,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 issueModelBuilder_ != null || 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. */ 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) { @@ -775,15 +672,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) { @@ -797,23 +690,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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); } else { issueModel_ = value; } @@ -825,15 +712,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() { if (issueModelBuilder_ == null) { @@ -847,71 +730,55 @@ 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() { - + onChanged(); 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); } @@ -921,32 +788,30 @@ 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 { - return new CreateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -958,8 +823,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..b94ecb87 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java index 2af079c9..4e1667ce 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,37 +53,32 @@ private CreatePhraseMatcherRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); - } - phraseMatcher_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); - } - - break; + phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,33 +86,29 @@ private CreatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -142,10 +116,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 @@ -154,15 +125,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 phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -170,18 +140,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 { @@ -192,16 +161,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 @@ -209,43 +173,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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +208,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_); } @@ -277,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -287,18 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -323,145 +277,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,16 +420,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 @@ -500,8 +441,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); result.parent_ = parent_; if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; @@ -516,51 +456,46 @@ public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest 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.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_; onChanged(); @@ -587,9 +522,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -601,8 +534,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -610,16 +541,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; @@ -628,8 +557,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -637,17 +564,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 { @@ -655,8 +581,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -664,25 +588,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -690,21 +610,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -712,19 +627,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -732,58 +645,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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -799,15 +693,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) { @@ -821,24 +711,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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); } else { phraseMatcher_ = value; } @@ -850,15 +733,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() { if (phraseMatcherBuilder_ == null) { @@ -872,73 +751,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() { + 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); } @@ -948,32 +809,30 @@ 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 { - return new CreatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new CreatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -985,8 +844,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java index 49f143f2..bfb2e263 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.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 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.
@@ -33,16 +15,11 @@ public interface CreatePhraseMatcherRequestOrBuilder
    * `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 phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -50,52 +27,36 @@ public interface CreatePhraseMatcherRequestOrBuilder
    * `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 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java index d953631b..3a2a32ab 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateViewRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); - } - view_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); - } - - break; + view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -141,10 +116,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 @@ -153,15 +125,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.
@@ -169,18 +140,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 { @@ -191,16 +161,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 @@ -208,34 +173,23 @@ 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() { @@ -243,7 +197,6 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +208,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 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,127 +277,117 @@ 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() @@ -449,15 +395,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +420,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 @@ -494,8 +441,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); result.parent_ = parent_; if (viewBuilder_ == null) { result.view_ = view_; @@ -510,39 +456,38 @@ public com.google.cloud.contactcenterinsights.v1.CreateViewRequest 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.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; @@ -550,8 +495,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_; onChanged(); @@ -578,8 +522,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,8 +534,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -600,16 +541,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; @@ -618,8 +557,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -627,17 +564,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 { @@ -645,8 +581,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -654,25 +588,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -680,21 +610,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -702,19 +627,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -722,58 +645,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 viewBuilder_ != null || 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. */ 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) { @@ -789,17 +693,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(); onChanged(); @@ -810,23 +711,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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); } else { view_ = value; } @@ -838,15 +733,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() { if (viewBuilder_ == null) { @@ -860,71 +751,55 @@ 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() { - + onChanged(); 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); } @@ -934,12 +809,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(); } @@ -948,16 +823,16 @@ 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 { - return new CreateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java index cfde3343..a28331f2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java index a9438df3..e8bff5e2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteAnalysisRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest buildPart 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_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( 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; @@ -515,23 +467,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 { @@ -539,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -616,32 +552,30 @@ 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 { - return new DeleteAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..932fbf0d --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java index 19741311..382d2f6d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteConversationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,41 +78,34 @@ private DeleteConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -139,31 +114,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 { @@ -174,8 +147,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; 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
@@ -183,7 +154,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -192,7 +162,6 @@ public boolean getForce() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -224,7 +194,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,152 +230,142 @@ 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) + unknownFields.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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -415,16 +377,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 @@ -438,8 +398,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -450,51 +409,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest build 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_; onChanged(); @@ -521,9 +475,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -535,22 +487,18 @@ public Builder mergeFrom( 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; @@ -559,23 +507,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 { @@ -583,76 +528,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -660,7 +590,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -668,8 +597,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
@@ -677,19 +604,16 @@ public boolean getForce() {
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; 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
@@ -697,18 +621,17 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; 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); } @@ -718,32 +641,30 @@ 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 { - return new DeleteConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,8 +676,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java new file mode 100644 index 00000000..d15cd125 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java index a2accb10..68f8dac2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private DeleteIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = - null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private DeleteIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,55 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1147,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deletion.
      * 
@@ -1167,22 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1194,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for deletion.
      * 
@@ -1214,42 +1036,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() { + 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.
      * 
@@ -1257,24 +1070,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); } @@ -1284,32 +1094,30 @@ 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 { - return new DeleteIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java index 540ef300..886dce7d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java index da49a5b2..b7ecd689 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,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(); } @@ -401,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest buildPa 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_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( 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; @@ -517,23 +467,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 { @@ -541,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -618,32 +552,30 @@ 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 { - return new DeleteIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..a643ce70 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java index 64f5926f..e06c9a3e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeletePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePhraseMatcherRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeletePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,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 @@ -402,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest 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.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_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( 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; @@ -519,23 +467,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 { @@ -543,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -620,32 +552,30 @@ 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 { - return new DeletePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new DeletePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..cb8112db --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java index ca629fa6..19aad5f2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteViewRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new DeleteViewRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java new file mode 100644 index 00000000..6b3adefa --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java index 50a143f3..cf51267b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private DeployIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = - null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private DeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,55 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1147,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deployment.
      * 
@@ -1167,22 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1194,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for deployment.
      * 
@@ -1214,42 +1036,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() { + 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.
      * 
@@ -1257,24 +1070,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); } @@ -1284,32 +1094,30 @@ 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 { - return new DeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java index df5ca21f..aee42989 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java index 831b213f..dc5a301a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeployIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,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(); } @@ -401,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest buildPa 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_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( 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; @@ -517,23 +467,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 { @@ -541,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -618,32 +552,30 @@ 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 { - return new DeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..2e51a4de --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java index df079120..6d70c9c8 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private DeployIssueModelResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private DeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,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 @@ -329,8 +297,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; } @@ -339,51 +306,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.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -426,32 +386,30 @@ 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 { - return new DeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..206c8adc --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java index 26e23472..596a8cac 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java +++ b/owl-bot-staging/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,31 +11,31 @@
  *
  * 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;
   }
-
   private DialogflowIntent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DialogflowIntent(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,39 +74,34 @@ private DialogflowIntent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object displayName_;
   /**
-   *
-   *
    * 
    * The human-readable name of the intent.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -133,29 +110,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 { @@ -164,7 +141,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +152,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_); } @@ -200,15 +177,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,104 +205,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.
@@ -333,23 +302,21 @@ 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()
@@ -357,15 +324,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +343,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
@@ -396,8 +364,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result = new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
       result.displayName_ = displayName_;
       onBuilt();
       return result;
@@ -407,39 +374,38 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent 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.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;
@@ -447,8 +413,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_;
         onChanged();
@@ -472,8 +437,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -485,20 +449,18 @@ public Builder mergeFrom(
 
     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; @@ -507,21 +469,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 { @@ -529,68 +490,61 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -600,12 +554,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(); } @@ -614,16 +568,16 @@ 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 { - return new DialogflowIntent(input, extensionRegistry); - } - }; + 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 { + return new DialogflowIntent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java new file mode 100644 index 00000000..9978e6a5 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java index 7f852e32..9d9723e3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DialogflowInteractionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DialogflowInteractionData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowIntentId_ = s; - break; - } - case 21: - { - confidence_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dialogflowIntentId_ = s; + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,40 +78,35 @@ private DialogflowInteractionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -138,30 +115,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 { @@ -172,15 +149,12 @@ public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -189,7 +163,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +174,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_); } @@ -221,7 +195,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,17 +206,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -256,152 +232,142 @@ 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) + unknownFields.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() + // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,16 +379,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 @@ -436,8 +400,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); result.dialogflowIntentId_ = dialogflowIntentId_; result.confidence_ = confidence_; onBuilt(); @@ -448,51 +411,46 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData build 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_; onChanged(); @@ -519,9 +477,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -533,21 +489,19 @@ public Builder mergeFrom( 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; @@ -556,22 +510,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 { @@ -579,80 +532,70 @@ 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) { + public Builder setDialogflowIntentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowIntentId_ = value; 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() { - + dialogflowIntentId_ = getDefaultInstance().getDialogflowIntentId(); onChanged(); 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) { + public Builder setDialogflowIntentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowIntentId_ = value; onChanged(); 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 @@ -660,45 +603,39 @@ 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; 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() { - + confidence_ = 0F; 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); } @@ -708,32 +645,30 @@ 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 { - return new DialogflowInteractionData(input, extensionRegistry); - } - }; + 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 { + return new DialogflowInteractionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,8 +680,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java similarity index 58% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java index d6217d5d..7a5fc37e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java index 156fe21a..8a7c0ca7 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private DialogflowSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DialogflowSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowConversation_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + dialogflowConversation_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + audioUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private DialogflowSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object dialogflowConversation_; /** - * - * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -133,7 +110,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 @@ -142,15 +118,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:
@@ -158,15 +133,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 { @@ -177,15 +153,12 @@ public com.google.protobuf.ByteString getDialogflowConversationBytes() { public static final int AUDIO_URI_FIELD_NUMBER = 3; 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 @@ -194,30 +167,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 { @@ -226,7 +199,6 @@ public com.google.protobuf.ByteString getAudioUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +210,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_); } @@ -268,16 +241,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +273,117 @@ 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() @@ -427,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +412,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 @@ -468,8 +433,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DialogflowSource result = new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); result.dialogflowConversation_ = dialogflowConversation_; result.audioUri_ = audioUri_; onBuilt(); @@ -480,39 +444,38 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource 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.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; @@ -520,8 +483,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_; onChanged(); @@ -549,8 +511,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,8 +523,6 @@ public Builder mergeFrom( private java.lang.Object dialogflowConversation_ = ""; /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -571,13 +530,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; @@ -586,8 +545,6 @@ public java.lang.String getDialogflowConversation() { } } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -595,14 +552,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 { @@ -610,8 +568,6 @@ public com.google.protobuf.ByteString getDialogflowConversationBytes() { } } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -619,22 +575,20 @@ 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) { + public Builder setDialogflowConversation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowConversation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -642,18 +596,15 @@ 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() { - + dialogflowConversation_ = getDefaultInstance().getDialogflowConversation(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -661,16 +612,16 @@ 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) { + public Builder setDialogflowConversationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowConversation_ = value; onChanged(); return this; @@ -678,21 +629,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; @@ -701,22 +650,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 { @@ -724,71 +672,64 @@ 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) { + public Builder setAudioUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = 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); } @@ -798,12 +739,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(); } @@ -812,16 +753,16 @@ 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 { - return new DialogflowSource(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java index 8e3dc711..c3429c3d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java index 6bb2d94e..8ee57d45 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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;
   }
-
   private Entity(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,64 +57,56 @@ private Entity(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            displayName_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
-            }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                metadata_ =
-                    com.google.protobuf.MapField.newMapField(
-                        MetadataDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry metadata__ =
-                  input.readMessage(
-                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
-              break;
+            type_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              metadata_ = com.google.protobuf.MapField.newMapField(
+                  MetadataDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 37:
-            {
-              salience_ = input.readFloat();
-              break;
+            com.google.protobuf.MapEntry
+            metadata__ = input.readMessage(
+                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            metadata_.getMutableMap().put(
+                metadata__.getKey(), metadata__.getValue());
+            break;
+          }
+          case 37: {
+
+            salience_ = input.readFloat();
+            break;
+          }
+          case 42: {
+            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+            if (sentiment_ != null) {
+              subBuilder = sentiment_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-              if (sentiment_ != null) {
-                subBuilder = sentiment_.toBuilder();
-              }
-              sentiment_ =
-                  input.readMessage(
-                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sentiment_);
-                sentiment_ = subBuilder.buildPartial();
-              }
-
-              break;
+            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sentiment_);
+              sentiment_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -139,42 +114,39 @@ private Entity(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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
@@ -184,10 +156,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.
      * 
@@ -196,8 +167,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Person.
      * 
@@ -206,8 +175,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PERSON(1), /** - * - * *
      * Location.
      * 
@@ -216,8 +183,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION(2), /** - * - * *
      * Organization.
      * 
@@ -226,8 +191,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ORGANIZATION(3), /** - * - * *
      * Event.
      * 
@@ -236,8 +199,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ EVENT(4), /** - * - * *
      * Artwork.
      * 
@@ -246,8 +207,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ WORK_OF_ART(5), /** - * - * *
      * Consumer product.
      * 
@@ -256,8 +215,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CONSUMER_GOOD(6), /** - * - * *
      * Other types of entities.
      * 
@@ -266,8 +223,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ OTHER(7), /** - * - * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -284,8 +239,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     PHONE_NUMBER(9),
     /**
-     *
-     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -306,8 +259,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ADDRESS(10),
     /**
-     *
-     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -320,8 +271,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     DATE(11),
     /**
-     *
-     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -331,8 +280,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     NUMBER(12),
     /**
-     *
-     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -345,8 +292,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified.
      * 
@@ -355,8 +300,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Person.
      * 
@@ -365,8 +308,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSON_VALUE = 1; /** - * - * *
      * Location.
      * 
@@ -375,8 +316,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_VALUE = 2; /** - * - * *
      * Organization.
      * 
@@ -385,8 +324,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORGANIZATION_VALUE = 3; /** - * - * *
      * Event.
      * 
@@ -395,8 +332,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 4; /** - * - * *
      * Artwork.
      * 
@@ -405,8 +340,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORK_OF_ART_VALUE = 5; /** - * - * *
      * Consumer product.
      * 
@@ -415,8 +348,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONSUMER_GOOD_VALUE = 6; /** - * - * *
      * Other types of entities.
      * 
@@ -425,8 +356,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
@@ -443,8 +372,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
@@ -465,8 +392,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:
@@ -479,8 +404,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DATE_VALUE = 11;
     /**
-     *
-     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -490,8 +413,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NUMBER_VALUE = 12;
     /**
-     *
-     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -501,6 +422,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(
@@ -525,69 +447,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;
@@ -607,14 +519,11 @@ private Type(int value) {
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object displayName_;
   /**
-   *
-   *
    * 
    * The representative name for the entity.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -623,29 +532,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 { @@ -656,59 +565,49 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = - com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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, + ""); } - - 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_; } @@ -717,8 +616,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -728,22 +625,22 @@ 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`)
@@ -754,12 +651,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   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`)
@@ -770,17 +666,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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`)
@@ -791,11 +686,12 @@ public 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();
     }
@@ -805,8 +701,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int SALIENCE_FIELD_NUMBER = 4;
   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
@@ -816,7 +710,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * float salience = 4; - * * @return The salience. */ @java.lang.Override @@ -827,14 +720,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 @@ -842,25 +732,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.
    * 
@@ -873,7 +756,6 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -885,16 +767,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_); } @@ -913,25 +799,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -941,22 +829,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -978,7 +869,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(); @@ -988,104 +880,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
@@ -1094,43 +979,43 @@ 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()
@@ -1138,15 +1023,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1167,9 +1053,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
@@ -1188,8 +1074,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.Entity result = new com.google.cloud.contactcenterinsights.v1.Entity(this);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.type_ = type_;
@@ -1209,39 +1094,38 @@ public com.google.cloud.contactcenterinsights.v1.Entity 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.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;
@@ -1249,8 +1133,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_;
         onChanged();
@@ -1258,7 +1141,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());
       if (other.getSalience() != 0F) {
         setSalience(other.getSalience());
       }
@@ -1293,25 +1177,22 @@ public Builder mergeFrom(
       }
       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; @@ -1320,21 +1201,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 { @@ -1342,61 +1222,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The representative name for the entity.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1404,67 +1277,51 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = - com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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. */ @@ -1472,45 +1329,42 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.Entity.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -1522,8 +1376,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1533,22 +1385,22 @@ 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`)
@@ -1559,12 +1411,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     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`)
@@ -1575,17 +1426,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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`)
@@ -1596,11 +1446,12 @@ public 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();
       }
@@ -1608,12 +1459,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      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`)
@@ -1623,21 +1473,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1647,20 +1499,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1670,15 +1521,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);
       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
@@ -1688,7 +1540,6 @@ public Builder putAllMetadata(java.util.Map
      * 
* * float salience = 4; - * * @return The salience. */ @java.lang.Override @@ -1696,8 +1547,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
@@ -1707,19 +1556,16 @@ public float getSalience() {
      * 
* * float salience = 4; - * * @param value The salience to set. * @return This builder for chaining. */ public Builder setSalience(float value) { - + salience_ = value; 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
@@ -1729,11 +1575,10 @@ public Builder setSalience(float value) {
      * 
* * float salience = 4; - * * @return This builder for chaining. */ public Builder clearSalience() { - + salience_ = 0F; onChanged(); return this; @@ -1741,47 +1586,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 sentimentBuilder_ != null || sentiment_ != null; } /** - * - * *
      * 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.
      * 
@@ -1802,8 +1634,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1822,8 +1652,6 @@ public Builder setSentiment( return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1834,9 +1662,7 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); } else { sentiment_ = value; } @@ -1848,8 +1674,6 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1868,8 +1692,6 @@ public Builder clearSentiment() { return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1877,32 +1699,26 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1910,24 +1726,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); } @@ -1937,12 +1750,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(); } @@ -1951,16 +1764,16 @@ 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 { - return new Entity(input, extensionRegistry); - } - }; + 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 { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1975,4 +1788,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java index 50af599c..66b43556 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private EntityMentionData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,44 +55,38 @@ private EntityMentionData(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              entityUniqueId_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            entityUniqueId_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
+            type_ = rawValue;
+            break;
+          }
+          case 26: {
+            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+            if (sentiment_ != null) {
+              subBuilder = sentiment_.toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-              if (sentiment_ != null) {
-                subBuilder = sentiment_.toBuilder();
-              }
-              sentiment_ =
-                  input.readMessage(
-                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sentiment_);
-                sentiment_ = subBuilder.buildPartial();
-              }
-
-              break;
+            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sentiment_);
+              sentiment_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,41 +94,36 @@ private EntityMentionData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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.
      * 
@@ -160,8 +132,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ MENTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Proper noun.
      * 
@@ -170,8 +140,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ PROPER(1), /** - * - * *
      * Common noun (or noun compound).
      * 
@@ -183,8 +151,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -193,8 +159,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MENTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Proper noun.
      * 
@@ -203,8 +167,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPER_VALUE = 1; /** - * - * *
      * Common noun (or noun compound).
      * 
@@ -213,6 +175,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( @@ -237,51 +200,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< + MentionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MentionType findValueByNumber(int number) { + return MentionType.forNumber(number); + } + }; - 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() { + 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; @@ -301,15 +262,12 @@ private MentionType(int value) { public static final int ENTITY_UNIQUE_ID_FIELD_NUMBER = 1; 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 @@ -318,30 +276,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 { @@ -352,52 +310,38 @@ public com.google.protobuf.ByteString getEntityUniqueIdBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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 @@ -405,25 +349,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.
    * 
@@ -436,7 +373,6 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,14 +384,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) { @@ -473,14 +407,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -490,19 +423,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -529,104 +463,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.
@@ -634,23 +560,21 @@ 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()
@@ -658,15 +582,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -684,9 +609,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
@@ -705,8 +630,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.EntityMentionData result = new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
       result.entityUniqueId_ = entityUniqueId_;
       result.type_ = type_;
       if (sentimentBuilder_ == null) {
@@ -722,39 +646,38 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData 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.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;
@@ -762,8 +685,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_;
         onChanged();
@@ -793,8 +715,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -806,21 +727,19 @@ public Builder mergeFrom(
 
     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; @@ -829,22 +748,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 { @@ -852,64 +770,57 @@ 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) { + public Builder setEntityUniqueId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityUniqueId_ = value; 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() { - + entityUniqueId_ = getDefaultInstance().getEntityUniqueId(); 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; - * * @param value The bytes for entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value) { + public Builder setEntityUniqueIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityUniqueId_ = value; onChanged(); return this; @@ -917,93 +828,73 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1011,47 +902,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 sentimentBuilder_ != null || sentiment_ != null; } /** - * - * *
      * 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.
      * 
@@ -1072,8 +950,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1092,8 +968,6 @@ public Builder setSentiment( return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1104,9 +978,7 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); } else { sentiment_ = value; } @@ -1118,8 +990,6 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1138,8 +1008,6 @@ public Builder clearSentiment() { return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1147,32 +1015,26 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1180,24 +1042,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); } @@ -1207,12 +1066,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(); } @@ -1221,16 +1080,16 @@ 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 { - return new EntityMentionData(input, extensionRegistry); - } - }; + 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 { + return new EntityMentionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,4 +1104,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.EntityMentionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java index 998caaca..c9d5746e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java similarity index 78% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java index ab05234b..65ea6820 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java +++ b/owl-bot-staging/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`)
@@ -129,13 +99,11 @@ public interface EntityOrBuilder
    */
 
   /* 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`)
@@ -145,11 +113,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
@@ -159,38 +127,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java index 9734ef17..20a3c560 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ExactMatchConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,18 +52,18 @@ private ExactMatchConfig( case 0: done = true; break; - case 8: - { - caseSensitive_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + caseSensitive_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,39 +71,34 @@ private ExactMatchConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * Whether to consider case sensitivity when performing an exact match.
    * 
* * bool case_sensitive = 1; - * * @return The caseSensitive. */ @java.lang.Override @@ -128,7 +107,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +118,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_); } @@ -154,7 +133,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -164,15 +144,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -185,134 +165,125 @@ 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) + unknownFields.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() @@ -320,15 +291,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -338,9 +310,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 @@ -359,8 +331,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); result.caseSensitive_ = caseSensitive_; onBuilt(); return result; @@ -370,39 +341,38 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig 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.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; @@ -410,8 +380,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()); } @@ -434,8 +403,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,16 +413,13 @@ public Builder mergeFrom( return this; } - 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 @@ -462,43 +427,37 @@ 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; 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() { - + caseSensitive_ = false; 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); } @@ -508,12 +467,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(); } @@ -522,16 +481,16 @@ 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 { - return new ExactMatchConfig(input, extensionRegistry); - } - }; + 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 { + return new ExactMatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -546,4 +505,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java new file mode 100644 index 00000000..46f96da9 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java index 074ff17b..8d22f573 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ExportInsightsDataMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,71 +54,61 @@ private ExportInsightsDataMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder - subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - partialErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - partialErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + partialErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + partialErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -143,7 +116,8 @@ private ExportInsightsDataMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); @@ -152,34 +126,27 @@ private ExportInsightsDataMetadata( makeExtensionsImmutable(); } } - - 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 @@ -187,15 +154,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 @@ -203,14 +166,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() { @@ -220,15 +180,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 @@ -236,15 +192,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 @@ -252,14 +204,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() { @@ -269,14 +218,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 @@ -284,25 +230,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.
    * 
@@ -310,16 +249,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder() { return getRequest(); } public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; private java.util.List partialErrors_; /** - * - * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -332,8 +268,6 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -342,12 +276,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.
@@ -360,8 +293,6 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -374,8 +305,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.
@@ -384,12 +313,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;
@@ -401,7 +330,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());
     }
@@ -424,16 +354,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -443,27 +377,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -497,147 +434,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPartialErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -669,16 +594,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 @@ -692,8 +615,7 @@ 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); int from_bitField0_ = bitField0_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -727,51 +649,46 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata 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.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()); } @@ -799,10 +716,9 @@ public Builder mergeFrom( partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000001); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartialErrorsFieldBuilder() - : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartialErrorsFieldBuilder() : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -827,9 +743,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -838,63 +752,43 @@ public Builder mergeFrom( } 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 createTimeBuilder_ != null || 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. */ 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) { @@ -910,17 +804,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(); onChanged(); @@ -931,21 +822,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -957,15 +844,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() { if (createTimeBuilder_ == null) { @@ -979,64 +862,48 @@ 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() { - + onChanged(); 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_; @@ -1044,35 +911,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1083,14 +939,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) { @@ -1106,16 +959,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(); onChanged(); @@ -1126,20 +977,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1151,14 +999,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() { if (endTimeBuilder_ == null) { @@ -1172,59 +1017,48 @@ 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() { - + onChanged(); 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_; @@ -1232,56 +1066,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1295,8 +1114,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for export.
      * 
@@ -1304,8 +1121,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(); onChanged(); @@ -1316,23 +1132,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder( - request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1344,8 +1154,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for export.
      * 
@@ -1364,43 +1172,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() { + 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.
      * 
@@ -1408,39 +1206,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_ & 0x00000001) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -1456,8 +1247,6 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1473,8 +1262,6 @@ public int getPartialErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1490,8 +1277,6 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1499,7 +1284,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();
@@ -1513,8 +1299,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.
@@ -1522,7 +1306,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());
@@ -1533,8 +1318,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.
@@ -1556,8 +1339,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.
@@ -1565,7 +1346,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();
@@ -1579,8 +1361,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.
@@ -1588,7 +1368,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());
@@ -1599,8 +1380,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.
@@ -1608,7 +1387,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());
@@ -1619,8 +1399,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.
@@ -1628,10 +1406,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);
@@ -1639,8 +1419,6 @@ public Builder addAllPartialErrors(java.lang.Iterable
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1659,8 +1437,6 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1679,8 +1455,6 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1688,12 +1462,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.
@@ -1701,16 +1474,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.
@@ -1718,8 +1489,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 {
@@ -1727,8 +1498,6 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1737,11 +1506,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.
@@ -1749,13 +1517,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.
@@ -1763,19 +1530,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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1784,9 +1548,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);
     }
 
@@ -1796,32 +1560,30 @@ 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 {
-          return new ExportInsightsDataMetadata(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new ExportInsightsDataMetadata(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1833,8 +1595,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
similarity index 72%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
index f7975a42..64ecfb1a 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
+++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
similarity index 64%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
index fea7d248..ec3d1308 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
+++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ExportInsightsDataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,68 +56,51 @@ private ExportInsightsDataRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_).toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.Builder - subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_) - .toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 2; - break; + destination_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); + destination_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 2; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - kmsKey_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + kmsKey_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); - writeDisposition_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + writeDisposition_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,42 +108,36 @@ private ExportInsightsDataRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -186,8 +146,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.
@@ -197,8 +155,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum
      */
     WRITE_TRUNCATE(1),
     /**
-     *
-     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -210,8 +166,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -220,8 +174,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.
@@ -231,8 +183,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.
      * 
@@ -241,6 +191,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( @@ -265,45 +216,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(); @@ -311,7 +257,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; @@ -328,14 +275,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,
@@ -343,13 +287,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,
@@ -357,14 +298,12 @@ 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
@@ -372,13 +311,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * 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
@@ -386,14 +322,12 @@ public interface BigQueryDestinationOrBuilder
      * 
* * 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
@@ -401,13 +335,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
@@ -415,31 +346,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_ = ""; @@ -448,15 +375,16 @@ 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; } - private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -475,34 +403,31 @@ private BigQueryDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + table_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + projectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -510,35 +435,29 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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,
@@ -546,7 +465,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string project_id = 3; - * * @return The projectId. */ @java.lang.Override @@ -555,15 +473,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,
@@ -571,15 +488,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 { @@ -590,8 +508,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int DATASET_FIELD_NUMBER = 1; 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
@@ -599,7 +515,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -608,15 +523,14 @@ 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
@@ -624,15 +538,16 @@ 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 { @@ -643,8 +558,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int TABLE_FIELD_NUMBER = 2; 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
@@ -652,7 +565,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string table = 2; - * * @return The table. */ @java.lang.Override @@ -661,15 +573,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
@@ -677,15 +588,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 { @@ -694,7 +606,6 @@ public com.google.protobuf.ByteString getTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -706,7 +617,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_); } @@ -742,23 +654,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -781,114 +689,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 @@ -898,53 +780,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -958,23 +831,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); } @@ -982,12 +851,8 @@ 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); + 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); result.projectId_ = projectId_; result.dataset_ = dataset_; result.table_ = table_; @@ -999,59 +864,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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_; onChanged(); @@ -1079,15 +931,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1099,8 +947,6 @@ public Builder mergeFrom( 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,
@@ -1108,13 +954,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; @@ -1123,8 +969,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,
@@ -1132,14 +976,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 { @@ -1147,8 +992,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,
@@ -1156,22 +999,20 @@ 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) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; 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,
@@ -1179,18 +1020,15 @@ public Builder setProjectId(java.lang.String value) {
        * 
* * string project_id = 3; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); 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,
@@ -1198,16 +1036,16 @@ 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) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1215,8 +1053,6 @@ 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
@@ -1224,13 +1060,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
        * 
* * 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; @@ -1239,8 +1075,6 @@ 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
@@ -1248,14 +1082,15 @@ 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 { @@ -1263,8 +1098,6 @@ 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
@@ -1272,22 +1105,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
        * 
* * 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) { + public Builder setDataset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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
@@ -1295,18 +1126,15 @@ public Builder setDataset(java.lang.String value) {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); 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
@@ -1314,16 +1142,16 @@ 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) { + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -1331,8 +1159,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
@@ -1340,13 +1166,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; @@ -1355,8 +1181,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
@@ -1364,14 +1188,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 { @@ -1379,8 +1204,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
@@ -1388,22 +1211,20 @@ 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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
@@ -1411,18 +1232,15 @@ public Builder setTable(java.lang.String value) {
        * 
* * string table = 2; - * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); 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
@@ -1430,21 +1248,20 @@ 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) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1457,36 +1274,30 @@ 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 { - return new BigQueryDestination(input, extensionRegistry); - } - }; + 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 { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1498,23 +1309,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; } @@ -1530,36 +1338,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 @@ -1567,66 +1368,43 @@ 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; 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 @@ -1635,31 +1413,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 { @@ -1670,15 +1446,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -1687,30 +1460,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 { @@ -1721,8 +1494,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int KMS_KEY_FIELD_NUMBER = 4; private volatile java.lang.Object kmsKey_; /** - * - * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1730,7 +1501,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string kms_key = 4; - * * @return The kmsKey. */ @java.lang.Override @@ -1739,15 +1509,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:
@@ -1755,15 +1524,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 { @@ -1774,50 +1544,31 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { public static final int WRITE_DISPOSITION_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .valueOf(writeDisposition_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(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; @@ -1829,15 +1580,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_); @@ -1845,10 +1594,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_); } unknownFields.writeTo(output); @@ -1864,12 +1610,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_); @@ -1877,11 +1619,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1891,22 +1631,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: @@ -1944,145 +1687,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2100,16 +1832,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 @@ -2123,8 +1853,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); if (destinationCase_ == 2) { if (bigQueryDestinationBuilder_ == null) { result.destination_ = destination_; @@ -2145,51 +1874,46 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest build 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_; onChanged(); @@ -2206,15 +1930,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.unknownFields); onChanged(); @@ -2235,9 +1957,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2246,12 +1966,12 @@ public Builder mergeFrom( } 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() { @@ -2261,24 +1981,15 @@ public Builder clearDestination() { return this; } + 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 @@ -2286,51 +1997,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(); @@ -2344,20 +2039,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(); @@ -2368,32 +2057,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; } @@ -2409,15 +2084,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) { @@ -2436,111 +2107,73 @@ 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; } destinationCase_ = 2; - onChanged(); - ; + onChanged();; return bigQueryDestinationBuilder_; } 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; @@ -2549,23 +2182,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 { @@ -2573,67 +2203,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -2641,21 +2258,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; @@ -2664,22 +2279,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 { @@ -2687,64 +2301,57 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -2752,8 +2359,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:
@@ -2761,13 +2366,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; @@ -2776,8 +2381,6 @@ public java.lang.String getKmsKey() { } } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2785,14 +2388,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 { @@ -2800,8 +2404,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2809,22 +2411,20 @@ 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) { + public Builder setKmsKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKey_ = value; onChanged(); return this; } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2832,18 +2432,15 @@ public Builder setKmsKey(java.lang.String value) {
      * 
* * string kms_key = 4; - * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = getDefaultInstance().getKmsKey(); onChanged(); return this; } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2851,16 +2448,16 @@ 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) { + public Builder setKmsKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKey_ = value; onChanged(); return this; @@ -2868,114 +2465,80 @@ 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. */ public Builder setWriteDispositionValue(int value) { - + writeDisposition_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .valueOf(writeDisposition_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(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(); } - + writeDisposition_ = value.getNumber(); onChanged(); 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() { - + writeDisposition_ = 0; 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); } @@ -2985,32 +2548,30 @@ 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 { - return new ExportInsightsDataRequest(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3022,8 +2583,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java index d49fc829..52741507 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java index 9bb2ce79..8a0cfd2b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ExportInsightsDataResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ExportInsightsDataResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ExportInsightsDataResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,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 @@ -329,8 +297,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; } @@ -339,51 +306,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.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -426,32 +386,30 @@ 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 { - return new ExportInsightsDataResponse(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java new file mode 100644 index 00000000..9971c70c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java index 39fabb52..3d909e54 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private FaqAnswerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,61 +57,55 @@ private FaqAnswerData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - answer_ = s; - break; - } - case 21: - { - confidenceScore_ = input.readFloat(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + answer_ = s; + break; + } + case 21: { - question_ = s; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + confidenceScore_ = input.readFloat(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; + question_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + queryRecord_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + source_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,50 +113,46 @@ private FaqAnswerData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -188,29 +161,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 { @@ -221,8 +194,6 @@ public com.google.protobuf.ByteString getAnswerBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -230,7 +201,6 @@ public com.google.protobuf.ByteString getAnswerBytes() {
    * 
* * float confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -241,14 +211,11 @@ public float getConfidenceScore() { public static final int QUESTION_FIELD_NUMBER = 3; private volatile java.lang.Object question_; /** - * - * *
    * The corresponding FAQ question.
    * 
* * string question = 3; - * * @return The question. */ @java.lang.Override @@ -257,29 +224,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 { @@ -288,23 +255,24 @@ 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, + ""); } - - 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_; } @@ -313,8 +281,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -322,22 +288,22 @@ 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.
@@ -346,12 +312,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -360,17 +325,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -379,11 +343,12 @@ public 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();
     }
@@ -393,8 +358,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -402,7 +365,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 5; - * * @return The queryRecord. */ @java.lang.Override @@ -411,15 +373,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:
@@ -427,15 +388,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 { @@ -446,8 +408,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -455,7 +415,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
    * 
* * string source = 6; - * * @return The source. */ @java.lang.Override @@ -464,15 +423,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:
@@ -480,15 +438,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 { @@ -497,7 +456,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,7 +467,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_); } @@ -519,8 +478,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_); } @@ -540,20 +503,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_); @@ -569,21 +533,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -598,7 +567,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()) { @@ -615,147 +585,139 @@ 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() @@ -763,15 +725,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -790,9 +753,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 @@ -811,8 +774,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); int from_bitField0_ = bitField0_; result.answer_ = answer_; result.confidenceScore_ = confidenceScore_; @@ -829,39 +791,38 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData 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.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; @@ -869,8 +830,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_; onChanged(); @@ -882,7 +842,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData question_ = other.question_; onChanged(); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -910,8 +871,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -920,25 +880,22 @@ public Builder mergeFrom( } 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; @@ -947,21 +904,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 { @@ -969,70 +925,61 @@ 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) { + public Builder setAnswer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + answer_ = value; onChanged(); return this; } /** - * - * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; - * * @return This builder for chaining. */ public Builder clearAnswer() { - + answer_ = getDefaultInstance().getAnswer(); onChanged(); 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) { + public Builder setAnswerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + answer_ = value; onChanged(); 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
@@ -1040,7 +987,6 @@ public Builder setAnswerBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -1048,8 +994,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
@@ -1057,19 +1001,16 @@ 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; 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
@@ -1077,11 +1018,10 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); return this; @@ -1089,20 +1029,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; @@ -1111,21 +1049,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 { @@ -1133,82 +1070,75 @@ 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) { + public Builder setQuestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + question_ = value; onChanged(); return this; } /** - * - * *
      * The corresponding FAQ question.
      * 
* * string question = 3; - * * @return This builder for chaining. */ public Builder clearQuestion() { - + question_ = getDefaultInstance().getQuestion(); onChanged(); 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) { + public Builder setQuestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + question_ = value; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -1220,8 +1150,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1229,22 +1157,22 @@ 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.
@@ -1253,12 +1181,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1267,17 +1194,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1286,11 +1212,12 @@ public 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();
       }
@@ -1298,12 +1225,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1311,21 +1237,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1333,20 +1261,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1354,15 +1281,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1370,13 +1298,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 +1313,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1394,14 +1320,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 +1336,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1418,22 +1343,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1441,18 +1364,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 5; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1460,16 +1380,16 @@ 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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1477,8 +1397,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 +1404,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 +1419,6 @@ public java.lang.String getSource() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1510,14 +1426,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 +1442,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1534,22 +1449,20 @@ 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) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1557,18 +1470,15 @@ public Builder setSource(java.lang.String value) {
      * 
* * string source = 6; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1576,23 +1486,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) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1602,12 +1512,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(); } @@ -1616,16 +1526,16 @@ 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 { - return new FaqAnswerData(input, extensionRegistry); - } - }; + 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 { + return new FaqAnswerData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1640,4 +1550,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java index c1516b0c..0ab35191 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -136,13 +104,11 @@ public interface FaqAnswerDataOrBuilder
    */
 
   /* 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.
@@ -150,11 +116,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:
@@ -162,13 +128,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -176,14 +139,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:
@@ -191,13 +152,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:
@@ -205,8 +163,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java index 2e3fd646..264abf83 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private GcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + audioUri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - transcriptUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transcriptUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,40 +80,35 @@ private GcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -141,30 +117,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 { @@ -175,15 +151,12 @@ public com.google.protobuf.ByteString getAudioUriBytes() { public static final int TRANSCRIPT_URI_FIELD_NUMBER = 2; 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 @@ -192,30 +165,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 { @@ -224,7 +197,6 @@ public com.google.protobuf.ByteString getTranscriptUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +208,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_); } @@ -266,16 +239,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,126 +271,117 @@ 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() @@ -424,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +410,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 @@ -465,8 +431,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GcsSource result = new com.google.cloud.contactcenterinsights.v1.GcsSource(this); result.audioUri_ = audioUri_; result.transcriptUri_ = transcriptUri_; onBuilt(); @@ -477,39 +442,38 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource 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.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; @@ -517,8 +481,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_; onChanged(); @@ -546,8 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -559,21 +521,19 @@ public Builder mergeFrom( 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; @@ -582,22 +542,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 { @@ -605,64 +564,57 @@ 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) { + public Builder setAudioUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = value; onChanged(); return this; @@ -670,21 +622,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.
      * 
* * 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; @@ -693,22 +643,21 @@ 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 { @@ -716,71 +665,64 @@ public com.google.protobuf.ByteString getTranscriptUriBytes() { } } /** - * - * *
      * 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) { + public Builder setTranscriptUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcriptUri_ = value; 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() { - + transcriptUri_ = getDefaultInstance().getTranscriptUri(); 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]; - * * @param value The bytes for transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUriBytes(com.google.protobuf.ByteString value) { + public Builder setTranscriptUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcriptUri_ = 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); } @@ -790,12 +732,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(); } @@ -804,16 +746,16 @@ 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 { - return new GcsSource(input, extensionRegistry); - } - }; + 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 { + return new GcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java index 509047f4..d83b0bd8 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java +++ b/owl-bot-staging/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.
    * 
* * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java index cb6faeb7..90501294 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAnalysisRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest 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.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; @@ -450,9 +411,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_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( 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; @@ -513,23 +467,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 { @@ -537,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -614,13 +552,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(); } @@ -629,16 +566,16 @@ 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 { - return new GetAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..d438a1fa --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java index efd0e027..924b421e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private GetConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetConversationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private GetConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -142,31 +116,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 { @@ -177,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -225,13 +185,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_); } unknownFields.writeTo(output); @@ -246,10 +205,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,15 +217,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -290,127 +248,117 @@ 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() @@ -418,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -438,14 +387,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(); } @@ -460,8 +408,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -472,50 +419,46 @@ public com.google.cloud.contactcenterinsights.v1.GetConversationRequest buildPar 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_; onChanged(); @@ -542,9 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,22 +497,18 @@ public Builder mergeFrom( 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; @@ -580,23 +517,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 { @@ -604,67 +538,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -672,67 +593,51 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -740,31 +645,28 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -774,32 +676,30 @@ 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 { - return new GetConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new GetConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -811,8 +711,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java index 754361b1..94a3e47a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java index 12ecac1f..f36394b9 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest buildParti 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; @@ -450,9 +411,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_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( 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; @@ -514,23 +467,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 { @@ -538,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -615,32 +552,30 @@ 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 { - return new GetIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..bd12548f --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java index 5c8fd73d..2f3f8e8d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetIssueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new GetIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java new file mode 100644 index 00000000..8997efd0 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java index 3bd768cd..04a63567 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetPhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPhraseMatcherRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetPhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,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(); } @@ -401,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest buildPa 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_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( 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; @@ -517,23 +467,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 { @@ -541,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -618,32 +552,30 @@ 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 { - return new GetPhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new GetPhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..cab6c263 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java index e18b706a..fc8c5b9c 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest 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.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; @@ -450,9 +411,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_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( 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; @@ -513,23 +467,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 { @@ -537,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -614,13 +552,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(); } @@ -629,16 +566,16 @@ 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 { - return new GetSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java new file mode 100644 index 00000000..85f0a8f8 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java index e876b639..2bd8d172 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetViewRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetViewRequest result = new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetViewRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new GetViewRequest(input, extensionRegistry); - } - }; + 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 { + return new GetViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java new file mode 100644 index 00000000..b6c09961 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java index 13a7defa..81136db5 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private HoldData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private HoldData( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private HoldData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,126 +141,117 @@ 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() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,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 @@ -324,8 +297,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; } @@ -334,39 +306,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; @@ -374,8 +345,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.unknownFields); onChanged(); return this; @@ -395,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -405,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -417,12 +386,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(); } @@ -431,16 +400,16 @@ 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 { - return new HoldData(input, extensionRegistry); - } - }; + 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 { + return new HoldData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -455,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java new file mode 100644 index 00000000..069cce42 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java index bdc9356e..85245c92 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private Intent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Intent(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            id_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private Intent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object id_;
   /**
-   *
-   *
    * 
    * The unique identifier of the intent.
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -141,29 +117,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 { @@ -174,14 +150,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -190,29 +163,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 { @@ -221,7 +194,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +205,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_); } @@ -263,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,104 +267,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.
@@ -398,23 +365,21 @@ 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()
@@ -422,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -442,9 +408,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
@@ -463,8 +429,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.Intent result = new com.google.cloud.contactcenterinsights.v1.Intent(this);
       result.id_ = id_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -475,39 +440,38 @@ public com.google.cloud.contactcenterinsights.v1.Intent 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.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;
@@ -515,8 +479,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_;
         onChanged();
@@ -556,20 +519,18 @@ public Builder mergeFrom(
 
     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; @@ -578,21 +539,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 { @@ -600,61 +560,54 @@ 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) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the intent.
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -662,20 +615,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; @@ -684,21 +635,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 { @@ -706,68 +656,61 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -777,12 +720,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(); } @@ -791,16 +734,16 @@ 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 { - return new Intent(input, extensionRegistry); - } - }; + 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 { + return new Intent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java index 1f012cd6..772221f4 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java +++ b/owl-bot-staging/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,31 +13,31 @@
  *
  * 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;
   }
-
   private IntentMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,20 +56,19 @@ private IntentMatchData(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              intentUniqueId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            intentUniqueId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,40 +76,35 @@ private IntentMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -136,30 +113,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 { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getIntentUniqueIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,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(intentUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intentUniqueId_); } @@ -204,15 +181,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,104 +209,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
@@ -339,23 +308,21 @@ 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()
@@ -363,15 +330,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -381,9 +349,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
@@ -402,8 +370,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.IntentMatchData result = new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
       result.intentUniqueId_ = intentUniqueId_;
       onBuilt();
       return result;
@@ -413,39 +380,38 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData 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.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;
@@ -453,8 +419,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_;
         onChanged();
@@ -478,8 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -491,21 +455,19 @@ public Builder mergeFrom(
 
     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; @@ -514,22 +476,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 { @@ -537,71 +498,64 @@ 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) { + public Builder setIntentUniqueId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + intentUniqueId_ = value; 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() { - + intentUniqueId_ = getDefaultInstance().getIntentUniqueId(); onChanged(); 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) { + public Builder setIntentUniqueIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intentUniqueId_ = 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); } @@ -611,12 +565,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(); } @@ -625,16 +579,16 @@ 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 { - return new IntentMatchData(input, extensionRegistry); - } - }; + 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 { + return new IntentMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +603,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java similarity index 52% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java index e62221e8..8775dedd 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java similarity index 55% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java index 398131ce..803f52de 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java index b69d67df..2becdf9b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private InterruptionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private InterruptionData( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private InterruptionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ 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() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,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 @@ -325,8 +297,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; } @@ -335,39 +306,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; @@ -375,8 +345,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.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,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(); } @@ -432,16 +400,16 @@ 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 { - return new InterruptionData(input, extensionRegistry); - } - }; + 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 { + return new InterruptionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.InterruptionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java new file mode 100644 index 00000000..5e379cd6 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java index 439f7250..a056e25a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java +++ b/owl-bot-staging/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_ = ""; @@ -44,15 +26,16 @@ 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; } - private Issue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Issue( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,33 +106,29 @@ private Issue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -163,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -172,15 +144,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:
@@ -188,15 +159,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 { @@ -207,14 +179,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The representative name for the issue.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -223,29 +192,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 { @@ -256,15 +225,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 @@ -272,15 +237,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 @@ -288,14 +249,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() { @@ -305,15 +263,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 @@ -321,15 +275,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 @@ -337,14 +287,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() { @@ -352,7 +299,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,7 +310,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_); } @@ -393,10 +340,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -406,23 +355,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -452,127 +404,118 @@ 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() @@ -580,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -612,9 +556,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 @@ -633,8 +577,7 @@ 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); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -655,39 +598,38 @@ public com.google.cloud.contactcenterinsights.v1.Issue 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.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; @@ -695,8 +637,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_; onChanged(); @@ -742,8 +683,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -751,13 +690,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; @@ -766,8 +705,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -775,14 +712,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 { @@ -790,8 +728,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -799,22 +735,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -822,18 +756,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -841,16 +772,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -858,20 +789,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; @@ -880,21 +809,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 { @@ -902,61 +830,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The representative name for the issue.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -964,58 +885,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1031,17 +933,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(); onChanged(); @@ -1052,21 +951,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1078,15 +973,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() { if (createTimeBuilder_ == null) { @@ -1100,64 +991,48 @@ 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() { - + onChanged(); 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_; @@ -1165,58 +1040,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1232,17 +1088,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(); onChanged(); @@ -1253,21 +1106,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1279,15 +1128,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() { if (updateTimeBuilder_ == null) { @@ -1301,71 +1146,55 @@ 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() { - + onChanged(); 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_; } - @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); } @@ -1375,12 +1204,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(); } @@ -1389,16 +1218,16 @@ 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 { - return new Issue(input, extensionRegistry); - } - }; + 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 { + return new Issue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1413,4 +1242,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java index d52531ac..d329e884 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private IssueAssignment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private IssueAssignment( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issue_ = s; - break; - } - case 17: - { - score_ = input.readDouble(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 17: { - displayName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + score_ = input.readDouble(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private IssueAssignment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object issue_; /** - * - * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; - * * @return The issue. */ @java.lang.Override @@ -145,29 +121,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 { @@ -178,15 +154,12 @@ public com.google.protobuf.ByteString getIssueBytes() { public static final int SCORE_FIELD_NUMBER = 2; 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 @@ -197,15 +170,12 @@ public double getScore() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -214,30 +184,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 { @@ -246,7 +216,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,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(issue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issue_); } @@ -281,7 +251,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_); @@ -294,18 +265,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -320,9 +293,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) + unknownFields.hashCode(); @@ -331,127 +303,117 @@ 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() @@ -459,15 +421,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +444,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 @@ -502,8 +465,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueAssignment result = new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); result.issue_ = issue_; result.score_ = score_; result.displayName_ = displayName_; @@ -515,39 +477,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment 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.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; @@ -555,8 +516,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_; onChanged(); @@ -587,8 +547,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,20 +559,18 @@ public Builder mergeFrom( 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; @@ -622,21 +579,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 { @@ -644,77 +600,67 @@ 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) { + public Builder setIssue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; - * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); 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) { + public Builder setIssueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -722,38 +668,32 @@ 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; 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() { - + score_ = 0D; onChanged(); return this; @@ -761,21 +701,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.
      * 
* * 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; @@ -784,22 +722,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.
      * 
* * 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 { @@ -807,71 +744,64 @@ 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.
      * 
* * 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -881,12 +811,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(); } @@ -895,16 +825,16 @@ 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 { - return new IssueAssignment(input, extensionRegistry); - } - }; + 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 { + return new IssueAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java index 5d71fae4..68b7209d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java +++ b/owl-bot-staging/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.
    * 
* * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java index 632c72c6..b5f50eb4 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private IssueModel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,100 +55,83 @@ private IssueModel( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 40: - { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder - subBuilder = null; - if (inputDataConfig_ != null) { - subBuilder = inputDataConfig_.toBuilder(); - } - inputDataConfig_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputDataConfig_); - inputDataConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 40: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 50: { + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder subBuilder = null; + if (inputDataConfig_ != null) { + subBuilder = inputDataConfig_.toBuilder(); + } + inputDataConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputDataConfig_); + inputDataConfig_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = - null; - if (trainingStats_ != null) { - subBuilder = trainingStats_.toBuilder(); - } - trainingStats_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trainingStats_); - trainingStats_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; + if (trainingStats_ != null) { + subBuilder = trainingStats_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + trainingStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trainingStats_); + trainingStats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -173,41 +139,36 @@ private IssueModel( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -216,8 +177,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -226,8 +185,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNDEPLOYED(1), /** - * - * *
      * Model is being deployed.
      * 
@@ -236,8 +193,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.
@@ -247,8 +202,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DEPLOYED(3),
     /**
-     *
-     *
      * 
      * Model is being undeployed.
      * 
@@ -257,8 +210,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNDEPLOYING(4), /** - * - * *
      * Model is being deleted.
      * 
@@ -270,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -280,8 +229,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.
      * 
@@ -290,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNDEPLOYED_VALUE = 1; /** - * - * *
      * Model is being deployed.
      * 
@@ -300,8 +245,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.
@@ -311,8 +254,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEPLOYED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Model is being undeployed.
      * 
@@ -321,8 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNDEPLOYING_VALUE = 4; /** - * - * *
      * Model is being deleted.
      * 
@@ -331,6 +270,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( @@ -355,57 +295,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; @@ -422,110 +357,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=593 + * .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=593 * @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=593 + * .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=593 * @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_ = ""; @@ -533,15 +443,16 @@ 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; } - private InputDataConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -560,32 +471,30 @@ private InputDataConfig( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); + + medium_ = rawValue; + break; + } + case 16: { - medium_ = rawValue; - break; - } - case 16: - { - trainingConversationsCount_ = input.readInt64(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + trainingConversationsCount_ = input.readInt64(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -593,92 +502,69 @@ private InputDataConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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=593 + * .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=593 * @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=593 + * .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=593 * @return The medium. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Override @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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_; /** - * - * *
      * 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 @@ -689,15 +575,12 @@ public long getTrainingConversationsCount() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -706,30 +589,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 { @@ -738,7 +621,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -750,10 +632,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) { @@ -771,14 +652,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_); @@ -791,17 +671,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -816,7 +697,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) + unknownFields.hashCode(); @@ -825,95 +707,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 @@ -923,49 +797,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -979,22 +848,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); } @@ -1003,8 +869,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); result.medium_ = medium_; result.trainingConversationsCount_ = trainingConversationsCount_; result.filter_ = filter_; @@ -1016,53 +881,46 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig 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) { + 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()); } @@ -1092,9 +950,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1106,144 +962,105 @@ public Builder mergeFrom( 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=593 + * .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=593 * @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=593 + * .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=593 * @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; 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=593 + * .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=593 * @return The medium. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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=593 + * .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=593 * @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(); } - + medium_ = value.getNumber(); 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=593 + * .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=593 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMedium() { - + @java.lang.Deprecated public Builder clearMedium() { + 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 @@ -1251,38 +1068,30 @@ 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; 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() { - + trainingConversationsCount_ = 0L; onChanged(); return this; @@ -1290,21 +1099,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; @@ -1313,22 +1120,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 { @@ -1336,69 +1142,61 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1411,32 +1209,30 @@ 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 { - return new InputDataConfig(input, extensionRegistry); - } - }; + 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 { + return new InputDataConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1448,17 +1244,15 @@ 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; private volatile java.lang.Object name_; - /** - * - * + /** *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1466,7 +1260,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -1475,15 +1268,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:
@@ -1491,15 +1283,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 { @@ -1510,14 +1303,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1526,29 +1316,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 { @@ -1559,15 +1349,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 @@ -1575,15 +1361,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 @@ -1591,14 +1373,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() { @@ -1608,15 +1387,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 @@ -1624,15 +1399,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 @@ -1640,14 +1411,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 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() { @@ -1657,57 +1425,38 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = - com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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 @@ -1715,52 +1464,37 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder() { return getInputDataConfig(); } 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 @@ -1768,43 +1502,30 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder() { return getTrainingStats(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1816,7 +1537,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_); } @@ -1829,9 +1551,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) { @@ -1856,21 +1576,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1880,32 +1603,37 @@ 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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1946,126 +1674,117 @@ 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() @@ -2073,15 +1792,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2119,9 +1839,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 @@ -2140,8 +1860,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModel result = new com.google.cloud.contactcenterinsights.v1.IssueModel(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -2173,39 +1892,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel 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.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; @@ -2213,8 +1931,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_; onChanged(); @@ -2257,8 +1974,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2270,8 +1986,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2279,13 +1993,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; @@ -2294,8 +2008,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2303,14 +2015,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 { @@ -2318,8 +2031,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2327,22 +2038,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2350,18 +2059,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2369,16 +2075,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2386,20 +2092,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; @@ -2408,21 +2112,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 { @@ -2430,61 +2133,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2492,58 +2188,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2559,17 +2236,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(); onChanged(); @@ -2580,21 +2254,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2606,15 +2276,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() { if (createTimeBuilder_ == null) { @@ -2628,64 +2294,48 @@ 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() { - + onChanged(); 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_; @@ -2693,58 +2343,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2760,17 +2391,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(); onChanged(); @@ -2781,21 +2409,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2807,15 +2431,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() { if (updateTimeBuilder_ == null) { @@ -2829,64 +2449,48 @@ 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() { - + onChanged(); 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_; @@ -2894,75 +2498,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = - com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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. */ @@ -2970,26 +2550,21 @@ public Builder setState(com.google.cloud.contactcenterinsights.v1.IssueModel.Sta if (value == null) { throw new NullPointerException(); } - + 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() { - + state_ = 0; onChanged(); return this; @@ -2997,63 +2572,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 inputDataConfigBuilder_ != null || 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. */ - 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(); @@ -3067,19 +2620,14 @@ 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 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(); onChanged(); @@ -3090,25 +2638,17 @@ 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 (inputDataConfig_ != null) { inputDataConfig_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder( - inputDataConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder(inputDataConfig_).mergeFrom(value).buildPartial(); } else { inputDataConfig_ = value; } @@ -3120,15 +2660,11 @@ public Builder mergeInputDataConfig( 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() { if (inputDataConfigBuilder_ == null) { @@ -3142,67 +2678,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() { - + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder getInputDataConfigBuilder() { + 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_; @@ -3210,61 +2727,41 @@ 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.
      * 
* - * - * .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 trainingStatsBuilder_ != null || 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. */ 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(); @@ -3278,15 +2775,11 @@ 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 setTrainingStats( com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder builderForValue) { @@ -3300,25 +2793,17 @@ 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 (trainingStats_ != null) { trainingStats_ = - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder( - trainingStats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(trainingStats_).mergeFrom(value).buildPartial(); } else { trainingStats_ = value; } @@ -3330,15 +2815,11 @@ public Builder mergeTrainingStats( 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() { if (trainingStatsBuilder_ == null) { @@ -3352,73 +2833,55 @@ 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() { + 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); } @@ -3428,12 +2891,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(); } @@ -3442,16 +2905,16 @@ 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 { - return new IssueModel(input, extensionRegistry); - } - }; + 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 { + return new IssueModel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3466,4 +2929,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java index 8811a892..1ee08b3a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private IssueModelLabelStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,41 +53,36 @@ private IssueModelLabelStats( case 0: done = true; break; - case 8: - { - analyzedConversationsCount_ = input.readInt64(); - break; - } - case 16: - { - unclassifiedConversationsCount_ = input.readInt64(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueStats_ = - com.google.protobuf.MapField.newMapField( - IssueStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueStats__ = - input.readMessage( - IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - issueStats_.getMutableMap().put(issueStats__.getKey(), issueStats__.getValue()); - break; + case 8: { + + analyzedConversationsCount_ = input.readInt64(); + break; + } + case 16: { + + unclassifiedConversationsCount_ = input.readInt64(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueStats_ = com.google.protobuf.MapField.newMapField( + IssueStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + issueStats__ = input.readMessage( + IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + issueStats_.getMutableMap().put( + issueStats__.getKey(), issueStats__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,47 +90,43 @@ private IssueModelLabelStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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:
@@ -159,13 +134,10 @@ public interface IssueStatsOrBuilder
      * 
* * string issue = 1; - * * @return The issue. */ java.lang.String getIssue(); /** - * - * *
      * Issue resource.
      * Format:
@@ -173,68 +145,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_ = ""; @@ -242,15 +203,16 @@ 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; } - private IssueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -269,32 +231,30 @@ private IssueStats( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issue_ = s; - break; - } - case 16: - { - labeledConversationsCount_ = input.readInt64(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 16: { - displayName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + labeledConversationsCount_ = input.readInt64(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -302,34 +262,29 @@ private IssueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object issue_; /** - * - * *
      * Issue resource.
      * Format:
@@ -337,7 +292,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string issue = 1; - * * @return The issue. */ @java.lang.Override @@ -346,15 +300,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:
@@ -362,15 +315,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 { @@ -381,14 +335,11 @@ public com.google.protobuf.ByteString getIssueBytes() { public static final int LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -399,14 +350,11 @@ public long getLabeledConversationsCount() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** - * - * *
      * Display name of the issue.
      * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -415,29 +363,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 { @@ -446,7 +394,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -458,7 +405,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_); } @@ -481,8 +429,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_); @@ -495,18 +443,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -521,7 +470,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) + unknownFields.hashCode(); @@ -529,101 +479,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 @@ -633,50 +570,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -690,22 +621,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); } @@ -713,10 +641,8 @@ 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); + 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); result.issue_ = issue_; result.labeledConversationsCount_ = labeledConversationsCount_; result.displayName_ = displayName_; @@ -728,54 +654,46 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats 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_; onChanged(); @@ -802,14 +720,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -821,8 +736,6 @@ public Builder mergeFrom( private java.lang.Object issue_ = ""; /** - * - * *
        * Issue resource.
        * Format:
@@ -830,13 +743,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; @@ -845,8 +758,6 @@ public java.lang.String getIssue() { } } /** - * - * *
        * Issue resource.
        * Format:
@@ -854,14 +765,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 { @@ -869,8 +781,6 @@ public com.google.protobuf.ByteString getIssueBytes() { } } /** - * - * *
        * Issue resource.
        * Format:
@@ -878,22 +788,20 @@ 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) { + public Builder setIssue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** - * - * *
        * Issue resource.
        * Format:
@@ -901,18 +809,15 @@ public Builder setIssue(java.lang.String value) {
        * 
* * string issue = 1; - * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); return this; } /** - * - * *
        * Issue resource.
        * Format:
@@ -920,31 +825,28 @@ 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) { + public Builder setIssueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -952,36 +854,30 @@ 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; 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() { - + labeledConversationsCount_ = 0L; onChanged(); return this; @@ -989,20 +885,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; @@ -1011,21 +905,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 { @@ -1033,66 +926,58 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * Display name of the issue.
        * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1105,33 +990,30 @@ 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 { - return new IssueStats(input, extensionRegistry); - } - }; + 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 { + return new IssueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,23 +1025,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_; /** - * - * *
    * Number of conversations the issue model has analyzed at this point in time.
    * 
* * int64 analyzed_conversations_count = 1; - * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -1170,15 +1049,12 @@ public long getAnalyzedConversationsCount() { public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -1187,36 +1063,24 @@ 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()); } - - 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_; } @@ -1225,96 +1089,70 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1322,7 +1160,6 @@ public boolean containsIssueStats(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1334,15 +1171,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); unknownFields.writeTo(output); } @@ -1353,28 +1195,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1384,18 +1220,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1408,9 +1245,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(); @@ -1421,147 +1260,139 @@ 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() @@ -1569,15 +1400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1590,14 +1422,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(); } @@ -1612,8 +1443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); int from_bitField0_ = bitField0_; result.analyzedConversationsCount_ = analyzedConversationsCount_; result.unclassifiedConversationsCount_ = unclassifiedConversationsCount_; @@ -1627,39 +1457,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats buildParti 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; @@ -1667,16 +1496,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()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1696,9 +1524,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1707,19 +1533,15 @@ public Builder mergeFrom( } 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 @@ -1727,52 +1549,43 @@ 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; 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() { - + analyzedConversationsCount_ = 0L; onChanged(); 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 @@ -1780,68 +1593,53 @@ 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; 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() { - + unclassifiedConversationsCount_ = 0L; onChanged(); return this; } 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 issueStats_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - internalGetMutableIssueStats() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableIssueStats() { + onChanged();; 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(); @@ -1853,97 +1651,70 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1951,81 +1722,69 @@ public boolean containsIssueStats(java.lang.String key) { } public Builder clearIssueStats() { - 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> - getMutableIssueStats() { + public java.util.Map + getMutableIssueStats() { 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 (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableIssueStats().getMutableMap().put(key, value); + internalGetMutableIssueStats().getMutableMap() + .put(key, value); 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); 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); } @@ -2035,32 +1794,30 @@ 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 { - return new IssueModelLabelStats(input, extensionRegistry); - } - }; + 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 { + return new IssueModelLabelStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2072,8 +1829,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java new file mode 100644 index 00000000..c120a8ae --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java @@ -0,0 +1,86 @@ +// 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java index 89d4e48f..8055bc6d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java +++ b/owl-bot-staging/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,155 @@ 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. 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java index c03e981e..676eafbe 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private IssueModelResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private IssueModelResult( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.IssueAssignment>(); - mutable_bitField0_ |= 0x00000001; - } - issues_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), - extensionRegistry)); - break; + issueModel_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issues_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private IssueModelResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -116,34 +94,28 @@ private IssueModelResult( makeExtensionsImmutable(); } } - - 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; 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 @@ -152,30 +124,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 { @@ -186,8 +158,6 @@ public com.google.protobuf.ByteString getIssueModelBytes() { public static final int ISSUES_FIELD_NUMBER = 2; private java.util.List issues_; /** - * - * *
    * All the matched issues.
    * 
@@ -199,8 +169,6 @@ public java.util.List return issues_; } /** - * - * *
    * All the matched issues.
    * 
@@ -208,14 +176,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.
    * 
@@ -227,8 +192,6 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * All the matched issues.
    * 
@@ -240,8 +203,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i return issues_.get(index); } /** - * - * *
    * All the matched issues.
    * 
@@ -255,7 +216,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,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(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -287,7 +248,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +293,117 @@ 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() @@ -458,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,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 @@ -505,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; result.issueModel_ = issueModel_; if (issuesBuilder_ == null) { @@ -526,39 +478,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult 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.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; @@ -566,8 +517,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_; onChanged(); @@ -590,10 +540,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelRes 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_); } @@ -618,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,26 +576,23 @@ public Builder mergeFrom( } 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; @@ -656,22 +601,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 { @@ -679,98 +623,82 @@ 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) { + public Builder setIssueModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } - * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = value; onChanged(); return this; } 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_); + issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -778,8 +706,6 @@ private void ensureIssuesIsMutable() { } } /** - * - * *
      * All the matched issues.
      * 
@@ -794,8 +720,6 @@ public int getIssuesCount() { } } /** - * - * *
      * All the matched issues.
      * 
@@ -810,8 +734,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i } } /** - * - * *
      * All the matched issues.
      * 
@@ -833,8 +755,6 @@ public Builder setIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -842,8 +762,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()); @@ -854,8 +773,6 @@ public Builder setIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -876,8 +793,6 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.IssueAssignme return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -899,8 +814,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -919,8 +832,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -928,8 +839,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()); @@ -940,8 +850,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -949,11 +857,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); @@ -961,8 +869,6 @@ public Builder addAllIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -980,8 +886,6 @@ public Builder clearIssues() { return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -999,8 +903,6 @@ public Builder removeIssues(int index) { return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -1012,8 +914,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu return getIssuesFieldBuilder().getBuilder(index); } /** - * - * *
      * All the matched issues.
      * 
@@ -1023,23 +923,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 { @@ -1047,8 +943,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } } /** - * - * *
      * All the matched issues.
      * 
@@ -1056,13 +950,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.
      * 
@@ -1071,44 +962,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_ & 0x00000001) != 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_ & 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); } @@ -1118,12 +1002,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(); } @@ -1132,16 +1016,16 @@ 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 { - return new IssueModelResult(input, extensionRegistry); - } - }; + 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 { + return new IssueModelResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java index ae71726a..42f59e84 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java index 86d884d5..821dd050 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java +++ b/owl-bot-staging/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,109 +26,82 @@ 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(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java index 8d6457bc..e79fc153 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListAnalysesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListAnalysesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +92,34 @@ private ListAnalysesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -155,31 +128,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 { @@ -190,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -200,7 +169,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -211,8 +179,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -220,7 +186,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,15 +194,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
@@ -245,15 +209,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 { @@ -264,15 +229,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -281,30 +243,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 { @@ -313,7 +275,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +286,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_); } @@ -351,7 +313,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_); @@ -367,18 +330,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -404,127 +370,117 @@ 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() @@ -532,15 +488,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -556,14 +513,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(); } @@ -578,8 +534,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -592,39 +547,38 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest buildPartia 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; @@ -632,9 +586,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_; onChanged(); @@ -669,9 +621,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,22 +633,18 @@ public Builder mergeFrom( 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; @@ -707,23 +653,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 { @@ -731,76 +674,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -809,7 +737,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -817,8 +744,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
@@ -827,19 +752,16 @@ 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; 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
@@ -848,11 +770,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -860,8 +781,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
@@ -869,13 +788,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; @@ -884,8 +803,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
@@ -893,14 +810,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 { @@ -908,8 +826,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
@@ -917,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -940,18 +854,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -959,16 +870,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -976,21 +887,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; @@ -999,22 +908,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 { @@ -1022,71 +930,64 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1096,13 +997,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(); } @@ -1111,16 +1011,16 @@ 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 { - return new ListAnalysesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java index 09eec901..6b6a7056 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java index da59f266..57bd6f38 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListAnalysesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListAnalysesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analyses_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - analyses_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analyses_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + analyses_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListAnalysesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { analyses_ = java.util.Collections.unmodifiableList(analyses_); @@ -115,27 +94,22 @@ private ListAnalysesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List analyses_; /** - * - * *
    * The analyses that match the request.
    * 
@@ -147,8 +121,6 @@ public java.util.List getAna return analyses_; } /** - * - * *
    * The analyses that match the request.
    * 
@@ -156,13 +128,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.
    * 
@@ -174,8 +144,6 @@ public int getAnalysesCount() { return analyses_.size(); } /** - * - * *
    * The analyses that match the request.
    * 
@@ -187,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) return analyses_.get(index); } /** - * - * *
    * The analyses that match the request.
    * 
@@ -204,15 +170,12 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -221,30 +184,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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,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 { for (int i = 0; i < analyses_.size(); i++) { output.writeMessage(1, analyses_.get(i)); } @@ -282,7 +245,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_); @@ -295,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ 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() @@ -456,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAnalysesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,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(); } @@ -504,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (analysesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +478,38 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse buildParti 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; @@ -565,9 +517,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()) { @@ -586,10 +536,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_); } @@ -618,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,29 +576,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -666,8 +605,6 @@ public java.util.List getAna } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -682,8 +619,6 @@ public int getAnalysesCount() { } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -698,8 +633,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -721,8 +654,6 @@ public Builder setAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -741,8 +672,6 @@ public Builder setAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -763,8 +692,6 @@ public Builder addAnalyses(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -786,8 +713,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -806,8 +731,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -826,8 +749,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -838,7 +759,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); @@ -846,8 +768,6 @@ public Builder addAllAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -865,8 +785,6 @@ public Builder clearAnalyses() { return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -884,8 +802,6 @@ public Builder removeAnalyses(int index) { return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -897,8 +813,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui return getAnalysesFieldBuilder().getBuilder(index); } /** - * - * *
      * The analyses that match the request.
      * 
@@ -908,22 +822,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 { @@ -931,8 +842,6 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -940,12 +849,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.
      * 
@@ -954,36 +861,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_; @@ -991,21 +892,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; @@ -1014,22 +913,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 { @@ -1037,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1111,32 +1002,30 @@ 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 { - return new ListAnalysesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,8 +1037,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java index 6a12df1b..69b4f19d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java index 8de30a9b..a4b07a7f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ListConversationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListConversationsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListConversationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -163,31 +135,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 { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -228,7 +193,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -237,15 +201,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
@@ -253,15 +216,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 { @@ -272,15 +236,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -289,30 +250,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 { @@ -323,43 +284,31 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int VIEW_FIELD_NUMBER = 5; private int view_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -371,7 +320,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_); } @@ -384,9 +334,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_); } unknownFields.writeTo(output); @@ -402,7 +350,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_); @@ -410,10 +359,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,18 +371,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; + 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -463,145 +414,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,16 +559,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 @@ -642,8 +580,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -657,51 +594,46 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest 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.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_; onChanged(); @@ -739,9 +671,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -753,22 +683,18 @@ public Builder mergeFrom( 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; @@ -777,23 +703,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 { @@ -801,76 +724,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -879,7 +787,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +794,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
@@ -897,19 +802,16 @@ 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; 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
@@ -918,11 +820,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +831,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
@@ -939,13 +838,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; @@ -954,8 +853,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
@@ -963,14 +860,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 { @@ -978,8 +876,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
@@ -987,22 +883,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -1010,18 +904,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -1029,16 +920,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1046,21 +937,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; @@ -1069,22 +958,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 { @@ -1092,64 +980,57 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1157,67 +1038,51 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -1225,31 +1090,28 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -1259,32 +1121,30 @@ 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 { - return new ListConversationsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1296,8 +1156,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java index 0d4608e8..7b83921e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java index a2661aa9..07d3c19d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListConversationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListConversationsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conversations_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation>(); - mutable_bitField0_ |= 0x00000001; - } - conversations_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conversations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + conversations_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListConversationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conversations_ = java.util.Collections.unmodifiableList(conversations_); @@ -116,27 +94,22 @@ private ListConversationsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List conversations_; /** - * - * *
    * The conversations that match the request.
    * 
@@ -144,13 +117,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.
    * 
@@ -158,13 +128,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.
    * 
@@ -176,8 +144,6 @@ public int getConversationsCount() { return conversations_.size(); } /** - * - * *
    * The conversations that match the request.
    * 
@@ -189,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i return conversations_.get(index); } /** - * - * *
    * The conversations that match the request.
    * 
@@ -206,8 +170,6 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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
@@ -215,7 +177,6 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -224,15 +185,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
@@ -240,15 +200,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 { @@ -257,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +229,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)); } @@ -286,7 +247,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_); @@ -299,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,147 +295,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConversationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,16 +439,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 @@ -511,8 +460,7 @@ 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); int from_bitField0_ = bitField0_; if (conversationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -532,51 +480,46 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse build 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()) { @@ -595,10 +538,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_); } @@ -627,9 +569,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -638,38 +578,28 @@ public Builder mergeFrom( } 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 { @@ -677,8 +607,6 @@ private void ensureConversationsIsMutable() { } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -693,8 +621,6 @@ public int getConversationsCount() { } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -709,8 +635,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -732,8 +656,6 @@ public Builder setConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -752,8 +674,6 @@ public Builder setConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -774,8 +694,6 @@ public Builder addConversations(com.google.cloud.contactcenterinsights.v1.Conver return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -797,8 +715,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -817,8 +733,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -837,8 +751,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -846,11 +758,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); @@ -858,8 +770,6 @@ public Builder addAllConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -877,8 +787,6 @@ public Builder clearConversations() { return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -896,8 +804,6 @@ public Builder removeConversations(int index) { return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -909,33 +815,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 { @@ -943,22 +844,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.
      * 
@@ -967,35 +863,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(), @@ -1007,8 +894,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
@@ -1016,13 +901,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; @@ -1031,8 +916,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
@@ -1040,14 +923,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 { @@ -1055,8 +939,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
@@ -1064,22 +946,20 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1087,18 +967,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1106,23 +983,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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1132,32 +1009,30 @@ 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 { - return new ListConversationsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,8 +1044,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java index c0748e01..6dd89e46 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java index 79f7f147..87fe8620 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssueModelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ListIssueModelsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private ListIssueModelsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest buildPar 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_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( 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; @@ -515,23 +467,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 { @@ -539,74 +488,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -616,32 +552,30 @@ 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 { - return new ListIssueModelsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java new file mode 100644 index 00000000..23b0abcf --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java index aeda2c71..225f0b04 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssueModelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private ListIssueModelsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueModels_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - issueModels_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueModels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issueModels_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private ListIssueModelsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issueModels_ = java.util.Collections.unmodifiableList(issueModels_); @@ -107,27 +87,22 @@ private ListIssueModelsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List issueModels_; /** - * - * *
    * The issue models that match the request.
    * 
@@ -139,8 +114,6 @@ public java.util.List getI return issueModels_; } /** - * - * *
    * The issue models that match the request.
    * 
@@ -148,13 +121,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.
    * 
@@ -166,8 +137,6 @@ public int getIssueModelsCount() { return issueModels_.size(); } /** - * - * *
    * The issue models that match the request.
    * 
@@ -179,8 +148,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i return issueModels_.get(index); } /** - * - * *
    * The issue models that match the request.
    * 
@@ -194,7 +161,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +172,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)); } @@ -220,7 +187,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -230,15 +198,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -260,147 +228,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIssueModelsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,14 +370,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(); } @@ -436,8 +391,7 @@ 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); int from_bitField0_ = bitField0_; if (issueModelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -456,50 +410,46 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse buildPa 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()) { @@ -518,10 +468,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_); } @@ -546,9 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -557,38 +504,28 @@ public Builder mergeFrom( } 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 { @@ -596,8 +533,6 @@ private void ensureIssueModelsIsMutable() { } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -612,8 +547,6 @@ public int getIssueModelsCount() { } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -628,8 +561,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -651,8 +582,6 @@ public Builder setIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -671,8 +600,6 @@ public Builder setIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -693,8 +620,6 @@ public Builder addIssueModels(com.google.cloud.contactcenterinsights.v1.IssueMod return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -716,8 +641,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -736,8 +659,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -756,8 +677,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -768,7 +687,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); @@ -776,8 +696,6 @@ public Builder addAllIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -795,8 +713,6 @@ public Builder clearIssueModels() { return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -814,8 +730,6 @@ public Builder removeIssueModels(int index) { return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -827,8 +741,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelsFieldBuilder().getBuilder(index); } /** - * - * *
      * The issue models that match the request.
      * 
@@ -838,22 +750,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 { @@ -861,8 +770,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -870,12 +777,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.
      * 
@@ -884,43 +789,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); } @@ -930,32 +829,30 @@ 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 { - return new ListIssueModelsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -967,8 +864,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java index 283c8863..103f31aa 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java index 61af9e35..fb307519 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ListIssuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private ListIssuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new ListIssuesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java new file mode 100644 index 00000000..b1393cf5 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java index b00211e9..4f6ac7ee 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private ListIssuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - issues_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issues_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private ListIssuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -106,27 +87,22 @@ private ListIssuesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List issues_; /** - * - * *
    * The issues that match the request.
    * 
@@ -138,8 +114,6 @@ public java.util.List getIssues return issues_; } /** - * - * *
    * The issues that match the request.
    * 
@@ -147,13 +121,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.
    * 
@@ -165,8 +137,6 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * The issues that match the request.
    * 
@@ -178,8 +148,6 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { return issues_.get(index); } /** - * - * *
    * The issues that match the request.
    * 
@@ -187,12 +155,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; @@ -204,7 +172,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)); } @@ -218,7 +187,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -228,15 +198,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,127 +228,117 @@ 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() @@ -386,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +370,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(); } @@ -432,8 +391,7 @@ 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); int from_bitField0_ = bitField0_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -452,39 +410,38 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse 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.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; @@ -492,9 +449,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()) { @@ -513,10 +468,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_); } @@ -541,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -551,28 +504,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -587,8 +533,6 @@ public java.util.List getIssues } } /** - * - * *
      * The issues that match the request.
      * 
@@ -603,8 +547,6 @@ public int getIssuesCount() { } } /** - * - * *
      * The issues that match the request.
      * 
@@ -619,15 +561,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(); @@ -641,8 +582,6 @@ public Builder setIssues(int index, com.google.cloud.contactcenterinsights.v1.Is return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -661,8 +600,6 @@ public Builder setIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -683,15 +620,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(); @@ -705,8 +641,6 @@ public Builder addIssues(int index, com.google.cloud.contactcenterinsights.v1.Is return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -725,8 +659,6 @@ public Builder addIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -745,8 +677,6 @@ public Builder addIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -757,7 +687,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); @@ -765,8 +696,6 @@ public Builder addAllIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -784,8 +713,6 @@ public Builder clearIssues() { return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -803,44 +730,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 { @@ -848,8 +770,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild } } /** - * - * *
      * The issues that match the request.
      * 
@@ -857,55 +777,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); } @@ -915,13 +829,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(); } @@ -930,16 +843,16 @@ 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 { - return new ListIssuesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java index 11fb517f..47d11797 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java index 1be89107..0ec6358f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListPhraseMatchersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListPhraseMatchersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +92,34 @@ private ListPhraseMatchersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -155,31 +128,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 { @@ -190,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -200,7 +169,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -211,8 +179,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -220,7 +186,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,15 +194,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
@@ -245,15 +209,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 { @@ -264,15 +229,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -281,30 +243,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 { @@ -313,7 +275,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +286,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_); } @@ -351,7 +313,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_); @@ -367,18 +330,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -404,145 +370,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -558,16 +513,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 @@ -581,8 +534,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -595,51 +547,46 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest build 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_; onChanged(); @@ -674,9 +621,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,22 +633,18 @@ public Builder mergeFrom( 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; @@ -712,23 +653,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 { @@ -736,76 +674,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -814,7 +737,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -822,8 +744,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
@@ -832,19 +752,16 @@ 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; 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
@@ -853,11 +770,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -865,8 +781,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
@@ -874,13 +788,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; @@ -889,8 +803,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
@@ -898,14 +810,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 { @@ -913,8 +826,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
@@ -922,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -945,18 +854,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -964,16 +870,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -981,21 +887,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; @@ -1004,22 +908,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 { @@ -1027,71 +930,64 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1101,32 +997,30 @@ 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 { - return new ListPhraseMatchersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,8 +1032,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java index fc6c4aec..e3553062 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java index c8f7a57e..25650c58 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListPhraseMatchersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListPhraseMatchersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchers_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>(); - mutable_bitField0_ |= 0x00000001; - } - phraseMatchers_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + phraseMatchers_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListPhraseMatchersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchers_ = java.util.Collections.unmodifiableList(phraseMatchers_); @@ -116,27 +94,22 @@ private ListPhraseMatchersResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List phraseMatchers_; /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -144,13 +117,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.
    * 
@@ -158,13 +128,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.
    * 
@@ -176,8 +144,6 @@ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -189,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers return phraseMatchers_.get(index); } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -198,23 +162,20 @@ 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; 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 @@ -223,30 +184,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 { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,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 { for (int i = 0; i < phraseMatchers_.size(); i++) { output.writeMessage(1, phraseMatchers_.get(i)); } @@ -284,7 +245,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_); @@ -297,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,147 +293,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPhraseMatchersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,16 +437,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 @@ -509,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (phraseMatchersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -530,51 +478,46 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse 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.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()) { @@ -593,10 +536,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_); } @@ -625,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,39 +576,28 @@ public Builder mergeFrom( } 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 { @@ -676,14 +605,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) { @@ -693,14 +619,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) { @@ -710,14 +633,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) { @@ -734,18 +654,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()); @@ -756,17 +672,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(); @@ -780,14 +692,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) { @@ -804,14 +713,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) { @@ -825,18 +731,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()); @@ -847,21 +749,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); @@ -869,14 +768,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) { @@ -889,14 +785,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) { @@ -909,50 +802,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 { @@ -960,62 +842,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(), @@ -1027,21 +892,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; @@ -1050,22 +913,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 { @@ -1073,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1147,32 +1002,30 @@ 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 { - return new ListPhraseMatchersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,8 +1037,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java index 3cc8ae94..0a61b739 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java index 078b23a9..4cf01d08 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListViewsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListViewsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListViewsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -147,31 +121,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 { @@ -182,8 +154,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -192,7 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -203,8 +172,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -212,7 +179,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -221,15 +187,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
@@ -237,15 +202,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 { @@ -254,7 +220,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +231,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_); } @@ -289,7 +255,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_); @@ -302,17 +269,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,127 +305,117 @@ 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() @@ -464,15 +423,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +446,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 @@ -507,8 +467,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,39 +479,38 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsRequest 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.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; @@ -560,8 +518,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_; onChanged(); @@ -592,8 +549,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,22 +561,18 @@ public Builder mergeFrom( 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; @@ -629,23 +581,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 { @@ -653,76 +602,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -731,7 +665,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -739,8 +672,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
@@ -749,19 +680,16 @@ 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; 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
@@ -770,11 +698,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -782,8 +709,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
@@ -791,13 +716,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; @@ -806,8 +731,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
@@ -815,14 +738,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 { @@ -830,8 +754,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
@@ -839,22 +761,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -862,18 +782,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -881,23 +798,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -907,12 +824,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(); } @@ -921,16 +838,16 @@ 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 { - return new ListViewsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListViewsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -945,4 +862,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java index ea56b54c..30af1d72 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java similarity index 74% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java index 25f9979c..503e9a51 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListViewsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListViewsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - views_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - views_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + views_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + views_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListViewsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { views_ = java.util.Collections.unmodifiableList(views_); @@ -113,27 +94,22 @@ private ListViewsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List views_; /** - * - * *
    * The views that match the request.
    * 
@@ -145,8 +121,6 @@ public java.util.List getViewsLi return views_; } /** - * - * *
    * The views that match the request.
    * 
@@ -154,13 +128,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.
    * 
@@ -172,8 +144,6 @@ public int getViewsCount() { return views_.size(); } /** - * - * *
    * The views that match the request.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { return views_.get(index); } /** - * - * *
    * The views that match the request.
    * 
@@ -194,22 +162,20 @@ 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; 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 @@ -218,30 +184,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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,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 { for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } @@ -279,7 +245,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_); @@ -292,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ 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() @@ -453,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getViewsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,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 @@ -500,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (viewsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsResponse 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.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; @@ -561,8 +517,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()) { @@ -581,10 +536,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_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -659,8 +605,6 @@ public java.util.List getViewsLi } } /** - * - * *
      * The views that match the request.
      * 
@@ -675,8 +619,6 @@ public int getViewsCount() { } } /** - * - * *
      * The views that match the request.
      * 
@@ -691,15 +633,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(); @@ -713,8 +654,6 @@ public Builder setViews(int index, com.google.cloud.contactcenterinsights.v1.Vie return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -733,8 +672,6 @@ public Builder setViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -755,15 +692,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(); @@ -777,8 +713,6 @@ public Builder addViews(int index, com.google.cloud.contactcenterinsights.v1.Vie return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -797,8 +731,6 @@ public Builder addViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -817,8 +749,6 @@ public Builder addViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -829,7 +759,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); @@ -837,8 +768,6 @@ public Builder addAllViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -856,8 +785,6 @@ public Builder clearViews() { return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -875,44 +802,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 { @@ -920,8 +842,6 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder } } /** - * - * *
      * The views that match the request.
      * 
@@ -929,48 +849,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_; @@ -978,21 +892,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; @@ -1001,22 +913,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 { @@ -1024,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1098,12 +1002,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(); } @@ -1112,16 +1016,16 @@ 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 { - return new ListViewsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListViewsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java index 7bdecae0..864c9352 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java index eccc901e..6afcbcfd 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private PhraseMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private PhraseMatchData(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              phraseMatcher_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            phraseMatcher_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private PhraseMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -141,29 +117,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 { @@ -174,14 +150,11 @@ public com.google.protobuf.ByteString getPhraseMatcherBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -190,29 +163,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 { @@ -221,7 +194,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +205,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_); } @@ -263,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,104 +268,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.
@@ -399,23 +365,21 @@ 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()
@@ -423,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -443,9 +408,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
@@ -464,8 +429,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
       result.phraseMatcher_ = phraseMatcher_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -476,39 +440,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData 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.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;
@@ -516,8 +479,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_;
         onChanged();
@@ -545,8 +507,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -558,20 +519,18 @@ public Builder mergeFrom(
 
     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; @@ -580,21 +539,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 { @@ -602,61 +560,54 @@ 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) { + public Builder setPhraseMatcher( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phraseMatcher_ = value; 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() { - + phraseMatcher_ = getDefaultInstance().getPhraseMatcher(); onChanged(); 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) { + public Builder setPhraseMatcherBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phraseMatcher_ = value; onChanged(); return this; @@ -664,20 +615,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; @@ -686,21 +635,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 { @@ -708,68 +656,61 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -779,12 +720,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(); } @@ -793,16 +734,16 @@ 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 { - return new PhraseMatchData(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java index 0367f2ef..b751257f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java index e9574d5c..a09eba4a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private PhraseMatchRule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,43 +53,37 @@ private PhraseMatchRule( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + query_ = s; + break; + } + case 16: { - query_ = s; - break; + negated_ = input.readBool(); + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 16: - { - negated_ = input.readBool(); - break; + config_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = - null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +91,34 @@ private PhraseMatchRule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -155,29 +127,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 { @@ -188,15 +160,12 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int NEGATED_FIELD_NUMBER = 2; 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 @@ -207,15 +176,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 @@ -223,26 +189,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.
@@ -251,13 +210,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() {
+  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder getConfigOrBuilder() {
     return getConfig();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -269,7 +226,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_);
     }
@@ -292,10 +250,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -305,19 +265,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -333,7 +295,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();
@@ -344,127 +307,117 @@ 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() @@ -472,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +452,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 @@ -519,8 +473,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); result.query_ = query_; result.negated_ = negated_; if (configBuilder_ == null) { @@ -536,39 +489,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule 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.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; @@ -576,8 +528,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_; onChanged(); @@ -607,8 +558,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,20 +570,18 @@ public Builder mergeFrom( 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; @@ -642,21 +590,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 { @@ -664,77 +611,67 @@ 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) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; 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() { - + query_ = getDefaultInstance().getQuery(); onChanged(); 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) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); 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 @@ -742,38 +679,32 @@ 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; 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() { - + negated_ = false; onChanged(); return this; @@ -781,49 +712,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 configBuilder_ != null || 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. */ 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.
@@ -831,8 +749,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();
@@ -846,8 +763,6 @@ public Builder setConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -867,8 +782,6 @@ public Builder setConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -876,14 +789,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 (config_ != null) {
           config_ =
-              com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_).mergeFrom(value).buildPartial();
         } else {
           config_ = value;
         }
@@ -895,8 +805,6 @@ public Builder mergeConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -916,8 +824,6 @@ public Builder clearConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -925,15 +831,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() {
+      
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -941,19 +844,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.
@@ -962,24 +861,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);
     }
 
@@ -989,12 +885,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();
   }
@@ -1003,16 +899,16 @@ 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 {
-          return new PhraseMatchRule(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new PhraseMatchRule(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1027,4 +923,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
similarity index 67%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
index fa362dbc..32569ebb 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
+++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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; } - private PhraseMatchRuleConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,27 @@ private PhraseMatchRuleConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; - if (configCase_ == 1) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) - .toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); - config_ = subBuilder.buildPartial(); - } - configCase_ = 1; - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; + if (configCase_ == 1) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + config_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); + config_ = subBuilder.buildPartial(); } + configCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,39 +80,34 @@ private PhraseMatchRuleConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; } @@ -150,34 +123,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 @@ -185,26 +153,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.
    * 
@@ -212,16 +175,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; @@ -233,7 +194,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_); } @@ -247,9 +209,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,18 +220,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: @@ -300,127 +261,117 @@ 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() @@ -428,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,14 +398,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(); } @@ -468,8 +419,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); if (configCase_ == 1) { if (exactMatchConfigBuilder_ == null) { result.config_ = config_; @@ -486,60 +436,54 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig buildPart 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.unknownFields); onChanged(); @@ -560,9 +504,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,12 +513,12 @@ public Builder mergeFrom( } 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() { @@ -586,20 +528,15 @@ public Builder clearConfig() { return this; } + 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 @@ -607,14 +544,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 @@ -632,16 +566,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(); @@ -655,8 +586,6 @@ public Builder setExactMatchConfig( return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -675,26 +604,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; } @@ -710,8 +631,6 @@ public Builder mergeExactMatchConfig( return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -735,21 +654,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.
      * 
@@ -757,8 +671,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 { @@ -769,8 +682,6 @@ public Builder clearExactMatchConfig() { } } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -778,32 +689,26 @@ 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()); config_ = null; } configCase_ = 1; - onChanged(); - ; + 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); } @@ -813,32 +718,30 @@ 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 { - return new PhraseMatchRuleConfig(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,8 +753,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java index d14c4657..d3c30df2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java index 9a9382ea..0c7e340f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private PhraseMatchRuleGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private PhraseMatchRuleGroup( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRules_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule>(); - mutable_bitField0_ |= 0x00000001; - } - phraseMatchRules_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), - extensionRegistry)); - break; + type_ = rawValue; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRules_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + phraseMatchRules_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private PhraseMatchRuleGroup( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRules_ = java.util.Collections.unmodifiableList(phraseMatchRules_); @@ -116,37 +94,30 @@ private PhraseMatchRuleGroup( makeExtensionsImmutable(); } } - - 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.
      * 
@@ -155,8 +126,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.
      * 
@@ -165,8 +134,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.
      * 
@@ -178,8 +145,6 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess ; /** - * - * *
      * Unspecified.
      * 
@@ -188,8 +153,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.
      * 
@@ -198,8 +161,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.
      * 
@@ -208,6 +169,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( @@ -232,14 +194,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; } } @@ -247,31 +205,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(); @@ -279,7 +235,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; @@ -299,128 +256,91 @@ private PhraseMatchRuleGroupType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .valueOf(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; } public static final int PHRASE_MATCH_RULES_FIELD_NUMBER = 2; - 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; @@ -432,11 +352,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++) { @@ -451,14 +369,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -468,16 +385,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -501,127 +418,117 @@ 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() @@ -629,17 +536,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPhraseMatchRulesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -655,14 +562,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(); } @@ -677,8 +583,7 @@ 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); int from_bitField0_ = bitField0_; result.type_ = type_; if (phraseMatchRulesBuilder_ == null) { @@ -698,39 +603,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup buildParti 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; @@ -738,9 +642,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()); } @@ -762,10 +664,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRu phraseMatchRulesBuilder_ = null; phraseMatchRules_ = other.phraseMatchRules_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPhraseMatchRulesFieldBuilder() - : null; + phraseMatchRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPhraseMatchRulesFieldBuilder() : null; } else { phraseMatchRulesBuilder_.addAllMessages(other.phraseMatchRules_); } @@ -790,9 +691,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -801,148 +700,102 @@ public Builder mergeFrom( } 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - result = - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup - .PhraseMatchRuleGroupType.valueOf(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRules_ = - new java.util.ArrayList( - phraseMatchRules_); + phraseMatchRules_ = new java.util.ArrayList(phraseMatchRules_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -950,14 +803,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) { @@ -967,17 +817,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 { @@ -985,14 +831,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) { @@ -1009,18 +852,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()); @@ -1031,17 +870,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(); @@ -1055,14 +890,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) { @@ -1079,14 +911,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) { @@ -1100,18 +929,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()); @@ -1122,21 +947,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); @@ -1144,14 +966,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) { @@ -1164,14 +983,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) { @@ -1184,50 +1000,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 { @@ -1235,64 +1040,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1301,9 +1087,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); } @@ -1313,32 +1099,30 @@ 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 { - return new PhraseMatchRuleGroup(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,8 +1134,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java index ae910d8e..12f8accf 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java index f53d29c9..bb429f12 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
similarity index 65%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
index 5c7509cf..eebebcb4 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
+++ b/owl-bot-staging/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,15 +31,16 @@ 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; } - private PhraseMatcher( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,119 +60,102 @@ private PhraseMatcher( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - revisionId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + revisionId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - versionTag_ = s; - break; + versionTag_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (revisionCreateTime_ != null) { + subBuilder = revisionCreateTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (revisionCreateTime_ != null) { - subBuilder = revisionCreateTime_.toBuilder(); - } - revisionCreateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(revisionCreateTime_); - revisionCreateTime_ = subBuilder.buildPartial(); - } - - break; + revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(revisionCreateTime_); + revisionCreateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 48: - { - int rawValue = input.readEnum(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - type_ = rawValue; - break; - } - case 56: - { - active_ = input.readBool(); - break; + displayName_ = s; + break; + } + case 48: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 56: { + + active_ = input.readBool(); + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRuleGroups_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 66: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup>(); - mutable_bitField0_ |= 0x00000001; - } - phraseMatchRuleGroups_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), - extensionRegistry)); - break; + phraseMatchRuleGroups_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), extensionRegistry)); + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (activationUpdateTime_ != null) { + subBuilder = activationUpdateTime_.toBuilder(); } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (activationUpdateTime_ != null) { - subBuilder = activationUpdateTime_.toBuilder(); - } - activationUpdateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(activationUpdateTime_); - activationUpdateTime_ = subBuilder.buildPartial(); - } - - break; + activationUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(activationUpdateTime_); + activationUpdateTime_ = subBuilder.buildPartial(); } - case 80: - { - int rawValue = input.readEnum(); - roleMatch_ = rawValue; - break; + break; + } + case 80: { + int rawValue = input.readEnum(); + + roleMatch_ = rawValue; + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -197,7 +163,8 @@ private PhraseMatcher( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRuleGroups_ = java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); @@ -206,25 +173,20 @@ private PhraseMatcher( makeExtensionsImmutable(); } } - - 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.
@@ -232,10 +194,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.
      * 
@@ -244,8 +205,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.
      * 
@@ -254,8 +213,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.
      * 
@@ -267,8 +224,6 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Unspecified.
      * 
@@ -277,8 +232,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.
      * 
@@ -287,8 +240,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.
      * 
@@ -297,6 +248,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( @@ -321,14 +273,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; } } @@ -336,31 +284,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(); @@ -368,7 +314,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; @@ -388,8 +335,6 @@ private PhraseMatcherType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the phrase matcher.
    * Format:
@@ -397,7 +342,6 @@ private PhraseMatcherType(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -406,15 +350,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:
@@ -422,15 +365,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 { @@ -441,8 +385,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REVISION_ID_FIELD_NUMBER = 2; 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
@@ -450,10 +392,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 @@ -462,15 +401,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
@@ -478,18 +416,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 { @@ -500,15 +437,12 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public static final int VERSION_TAG_FIELD_NUMBER = 3; 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 @@ -517,30 +451,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 { @@ -551,17 +485,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.
    * 
* - * - * .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 @@ -569,36 +498,25 @@ 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() { @@ -608,14 +526,11 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; - * * @return The displayName. */ @java.lang.Override @@ -624,29 +539,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 { @@ -657,56 +572,38 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED : result; } public static final int ACTIVE_FIELD_NUMBER = 7; private boolean active_; /** - * - * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; - * * @return The active. */ @java.lang.Override @@ -715,102 +612,73 @@ public boolean getActive() { } public static final int PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER = 8; - 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.
    * 
* - * - * .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 @@ -818,34 +686,23 @@ 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() { @@ -855,59 +712,42 @@ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() public static final int ROLE_MATCH_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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 @@ -915,15 +755,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 @@ -931,14 +767,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() { @@ -946,7 +779,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -958,7 +790,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_); } @@ -974,10 +807,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) { @@ -989,9 +819,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) { @@ -1016,36 +844,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1055,33 +882,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1109,7 +944,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(); @@ -1130,127 +966,117 @@ 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() @@ -1258,17 +1084,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPhraseMatchRuleGroupsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1314,9 +1140,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 @@ -1335,8 +1161,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.revisionId_ = revisionId_; @@ -1377,39 +1202,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher 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.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; @@ -1417,8 +1241,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_; onChanged(); @@ -1462,10 +1285,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatchRuleGroupsBuilder_ = null; phraseMatchRuleGroups_ = other.phraseMatchRuleGroups_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRuleGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPhraseMatchRuleGroupsFieldBuilder() - : null; + phraseMatchRuleGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPhraseMatchRuleGroupsFieldBuilder() : null; } else { phraseMatchRuleGroupsBuilder_.addAllMessages(other.phraseMatchRuleGroups_); } @@ -1499,8 +1321,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1509,13 +1330,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1523,13 +1341,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; @@ -1538,8 +1356,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1547,14 +1363,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 { @@ -1562,8 +1379,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1571,22 +1386,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1594,18 +1407,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1613,16 +1423,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1630,8 +1440,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
@@ -1639,16 +1447,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; @@ -1657,8 +1463,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
@@ -1666,17 +1470,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 { @@ -1684,8 +1487,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
@@ -1693,25 +1494,21 @@ 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) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; 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
@@ -1719,21 +1516,16 @@ 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() { - + revisionId_ = getDefaultInstance().getRevisionId(); 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
@@ -1741,19 +1533,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) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -1761,21 +1551,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; @@ -1784,22 +1572,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 { @@ -1807,64 +1594,57 @@ 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) { + public Builder setVersionTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionTag_ = value; 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() { - + versionTag_ = getDefaultInstance().getVersionTag(); 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; - * * @param value The bytes for versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { + public Builder setVersionTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionTag_ = value; onChanged(); return this; @@ -1872,61 +1652,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.
      * 
* - * - * .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 revisionCreateTimeBuilder_ != null || 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. */ 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) { @@ -1942,18 +1703,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.
      * 
* - * - * .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(); onChanged(); @@ -1964,24 +1722,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.
      * 
* - * - * .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 (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); } else { revisionCreateTime_ = value; } @@ -1993,16 +1745,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.
      * 
* - * - * .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() { if (revisionCreateTimeBuilder_ == null) { @@ -2016,67 +1764,51 @@ 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() { - + onChanged(); 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_; @@ -2084,20 +1816,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; @@ -2106,21 +1836,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 { @@ -2128,61 +1857,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2190,118 +1912,85 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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 @@ -2309,72 +1998,55 @@ 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; onChanged(); return this; } /** - * - * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; - * * @return This builder for chaining. */ public Builder clearActive() { - + active_ = false; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = - new java.util.ArrayList( - phraseMatchRuleGroups_); + phraseMatchRuleGroups_ = new java.util.ArrayList(phraseMatchRuleGroups_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2382,15 +2054,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) { @@ -2400,18 +2068,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 { @@ -2419,15 +2082,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) { @@ -2444,19 +2103,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()); @@ -2467,18 +2121,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(); @@ -2492,15 +2141,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) { @@ -2517,15 +2162,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) { @@ -2539,19 +2180,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()); @@ -2562,22 +2198,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); @@ -2585,15 +2217,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) { @@ -2606,15 +2234,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) { @@ -2627,53 +2251,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 { @@ -2681,67 +2291,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2753,58 +2341,39 @@ 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.
      * 
* - * - * .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 activationUpdateTimeBuilder_ != null || 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. */ 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) { @@ -2820,17 +2389,14 @@ 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(); onChanged(); @@ -2841,23 +2407,17 @@ public Builder setActivationUpdateTime(com.google.protobuf.Timestamp.Builder bui 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 (activationUpdateTime_ != null) { activationUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_).mergeFrom(value).buildPartial(); } else { activationUpdateTime_ = value; } @@ -2869,15 +2429,11 @@ 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() { if (activationUpdateTimeBuilder_ == null) { @@ -2891,64 +2447,48 @@ 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() { - + onChanged(); 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_; @@ -2956,109 +2496,83 @@ 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. */ public Builder setRoleMatchValue(int value) { - + roleMatch_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf( - 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.valueOf(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(); } - + roleMatch_ = value.getNumber(); onChanged(); 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() { - + roleMatch_ = 0; onChanged(); return this; @@ -3066,58 +2580,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -3133,17 +2628,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(); onChanged(); @@ -3154,21 +2646,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3180,15 +2668,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() { if (updateTimeBuilder_ == null) { @@ -3202,71 +2686,55 @@ 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() { - + onChanged(); 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); } @@ -3276,12 +2744,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(); } @@ -3290,16 +2758,16 @@ 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 { - return new PhraseMatcher(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatcher(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3314,4 +2782,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java index d116f89d..03a7c88e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java +++ b/owl-bot-staging/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,231 @@ 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.
    * 
* - * - * .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/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java new file mode 100644 index 00000000..4322f57c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java @@ -0,0 +1,1054 @@ +// 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_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; + + 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." + + "googleapis.com/Analysis\022Xprojects/{proje" + + "ct}/locations/{location}/conversations/{" + + "conversation}/analyses/{analysis}\"\300\001\n\026Co" + + "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" + + "20.google.cloud.contactcenterinsights.v1" + + ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" + + "7.google.cloud.contactcenterinsights.v1." + + "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" + + "e\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\027dialogf" + + "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" + + "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" + + "is_metadata\030\002 \001(\0132J.google.cloud.contact" + + "centerinsights.v1.AnalysisResult.CallAna" + + "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" + + "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" + + "ud.contactcenterinsights.v1.CallAnnotati" + + "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" + + "actcenterinsights.v1.AnalysisResult.Call" + + "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" + + "ents\030\004 \003(\0132A.google.cloud.contactcenteri" + + "nsights.v1.ConversationLevelSentiment\022h\n" + + "\007intents\030\006 \003(\0132W.google.cloud.contactcen" + + "terinsights.v1.AnalysisResult.CallAnalys" + + "isMetadata.IntentsEntry\022w\n\017phrase_matche" + + "rs\030\007 \003(\0132^.google.cloud.contactcenterins" + + "ights.v1.AnalysisResult.CallAnalysisMeta" + + "data.PhraseMatchersEntry\022S\n\022issue_model_" + + "result\030\010 \001(\01327.google.cloud.contactcente" + + "rinsights.v1.IssueModelResult\032^\n\rEntitie" + + "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" + + "gle.cloud.contactcenterinsights.v1.Entit" + + "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" + + "lue\030\002 \001(\0132-.google.cloud.contactcenterin" + + "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" + + "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" + + "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" + + "enterinsights.googleapis.com/IssueModel\022" + + "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" + + "nterinsights.v1.IssueAssignment\"\177\n\032Conve" + + "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" + + "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" + + "d.contactcenterinsights.v1.SentimentData" + + "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" + + "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" + + "\016CallAnnotation\022T\n\021interruption_data\030\n \001" + + "(\01327.google.cloud.contactcenterinsights." + + "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" + + "\013 \001(\01324.google.cloud.contactcenterinsigh" + + "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " + + "\001(\01322.google.cloud.contactcenterinsights" + + ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Hol" + + "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" + + "oogle.cloud.contactcenterinsights.v1.Ent" + + "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " + + "\001(\01326.google.cloud.contactcenterinsights" + + ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" + + "ta\030\021 \001(\01326.google.cloud.contactcenterins" + + "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" + + "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" + + "(\01329.google.cloud.contactcenterinsights." + + "v1.AnnotationBoundary\022Z\n\027annotation_end_" + + "boundary\030\005 \001(\01329.google.cloud.contactcen" + + "terinsights.v1.AnnotationBoundaryB\006\n\004dat" + + "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " + + "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" + + "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" + + "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" + + "ctcenterinsights.v1.Entity.Type\022M\n\010metad" + + "ata\030\003 \003(\0132;.google.cloud.contactcenterin" + + "sights.v1.Entity.MetadataEntry\022\020\n\010salien" + + "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" + + "ud.contactcenterinsights.v1.SentimentDat" + + "a\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_UNSPECIFIED\020" + + "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" + + "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" + + "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" + + "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" + + "PRICE\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\020" + + "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" + + "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" + + "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" + + "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" + + "ud.contactcenterinsights.v1.EntityMentio" + + "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" + + "oogle.cloud.contactcenterinsights.v1.Sen" + + "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" + + "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" + + "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" + + " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" + + "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" + + "gle.cloud.contactcenterinsights.v1.Issue" + + "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " + + "\001(\0132A.google.cloud.contactcenterinsights" + + ".v1.IssueModel.InputDataConfig\022[\n\016traini" + + "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" + + "terinsights.v1.IssueModelLabelStatsB\006\340A\003" + + "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" + + ":.google.cloud.contactcenterinsights.v1." + + "Conversation.MediumB\002\030\001\022)\n\034training_conv" + + "ersations_count\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\nUN" + + "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" + + "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" + + "tactcenterinsights.googleapis.com/IssueM" + + "odel\022Aprojects/{project}/locations/{loca" + + "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" + + "e\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.protobu" + + "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" + + "ntactcenterinsights.googleapis.com/Issue" + + "\022Pprojects/{project}/locations/{location" + + "}/issueModels/{issue_model}/issues/{issu" + + "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" + + "conversations_count\030\001 \001(\003\022(\n unclassifie" + + "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" + + "ts\030\003 \003(\0132K.google.cloud.contactcenterins" + + "ights.v1.IssueModelLabelStats.IssueStats" + + "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" + + "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" + + "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" + + "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" + + "actcenterinsights.v1.IssueModelLabelStat" + + "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" + + "me\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_create_ti" + + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." + + "google.cloud.contactcenterinsights.v1.Ph" + + "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" + + "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" + + " \003(\0132;.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" + + "update_time\030\t \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." + + "cloud.contactcenterinsights.v1.Conversat" + + "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" + + "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" + + "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" + + "}\n2contactcenterinsights.googleapis.com/" + + "PhraseMatcher\022Gprojects/{project}/locati" + + "ons/{location}/phraseMatchers/{phrase_ma" + + "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" + + "\001 \001(\0162T.google.cloud.contactcenterinsigh" + + "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" + + "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" + + " \003(\01326.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" + + "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" + + "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" + + "\n\022exact_match_config\030\001 \001(\01327.google.clou" + + "d.contactcenterinsights.v1.ExactMatchCon" + + "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" + + "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" + + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" + + "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" + + "ubsub_notification_settings\030\006 \003(\0132O.goog" + + "le.cloud.contactcenterinsights.v1.Settin" + + "gs.PubsubNotificationSettingsEntry\022W\n\017an" + + "alysis_config\030\007 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.Settings.AnalysisCon" + + "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" + + "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" + + "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" + + "ights.googleapis.com/Settings\0220projects/" + + "{project}/locations/{location}/settings\"" + + "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" + + "ion\030\006 \001(\0132<.google.cloud.contactcenterin" + + "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" + + "_answer\030\007 \001(\01324.google.cloud.contactcent" + + "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" + + "eply\030\010 \001(\01325.google.cloud.contactcenteri" + + "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" + + "pose_suggestion\030\t \001(\0132A.google.cloud.con" + + "tactcenterinsights.v1.SmartComposeSugges" + + "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" + + "(\0132@.google.cloud.contactcenterinsights." + + "v1.DialogflowInteractionDataH\000\022\025\n\rannota" + + "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022Q\n\016start_boundary" + + "\030\003 \001(\01329.google.cloud.contactcenterinsig" + + "hts.v1.AnnotationBoundary\022O\n\014end_boundar" + + "y\030\004 \001(\01329.google.cloud.contactcenterinsi" + + "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" + + "dback\030\005 \001(\01325.google.cloud.contactcenter" + + "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" + + "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" + + "2F.google.cloud.contactcenterinsights.v1" + + ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" + + "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" + + "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" + + "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" + + "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" + + "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" + + "2J.google.cloud.contactcenterinsights.v1" + + ".ArticleSuggestionData.MetadataEntry\022\024\n\014" + + "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" + + "tadataEntry\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\006answer\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.google.cloud.conta" + + "ctcenterinsights.v1.FaqAnswerData.Metada" + + "taEntry\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\005v" + + "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" + + "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" + + "tadata\030\003 \003(\0132C.google.cloud.contactcente" + + "rinsights.v1.SmartReplyData.MetadataEntr" + + "y\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\032Sma" + + "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " + + "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" + + "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" + + "ghts.v1.SmartComposeSuggestionData.Metad" + + "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" + + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" + + "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" + + "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" + + "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" + + "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" + + "nterinsights.v1.ConversationParticipant." + + "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" + + "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" + + "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" + + "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" + + "ogleapis.com/View\0224projects/{project}/lo" + + "cations/{location}/views/{view}B\354\003\n)com." + + "google.cloud.contactcenterinsights.v1B\016R" + + "esourcesProtoP\001ZZgoogle.golang.org/genpr" + + "oto/googleapis/cloud/contactcenterinsigh" + + "ts/v1;contactcenterinsights\252\002%Google.Clo" + + "ud.ContactCenterInsights.V1\312\002%Google\\Clo" + + "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" + + "oud::ContactCenterInsights::V1\352A\324\001\n%dial" + + "ogflow.googleapis.com/Participant\022Jproje" + + "cts/{project}/conversations/{conversatio" + + "n}/participants/{participant}\022_projects/" + + "{project}/locations/{location}/conversat" + + "ions/{conversation}/participants/{partic" + + "ipant}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", }); + 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", "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_IssueModel_descriptor = + getDescriptor().getMessageTypes().get(21); + 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(22); + 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", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = + getDescriptor().getMessageTypes().get(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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", }); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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(36); + 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(37); + 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(38); + 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", }); + 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java index a4c07193..f44ba4ae 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private RuntimeAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,189 +53,141 @@ private RuntimeAnnotation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - annotationId_ = s; - break; + annotationId_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (startBoundary_ != null) { - subBuilder = startBoundary_.toBuilder(); - } - startBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startBoundary_); - startBoundary_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (startBoundary_ != null) { + subBuilder = startBoundary_.toBuilder(); } - case 34: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (endBoundary_ != null) { - subBuilder = endBoundary_.toBuilder(); - } - endBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endBoundary_); - endBoundary_ = subBuilder.buildPartial(); - } - - break; + startBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startBoundary_); + startBoundary_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; - if (answerFeedback_ != null) { - subBuilder = answerFeedback_.toBuilder(); - } - answerFeedback_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(answerFeedback_); - answerFeedback_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (endBoundary_ != null) { + subBuilder = endBoundary_.toBuilder(); } - case 50: - { - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = - null; - if (dataCase_ == 6) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 6; - break; + endBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endBoundary_); + endBoundary_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; - if (dataCase_ == 7) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 7; - break; + + break; + } + case 42: { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; + if (answerFeedback_ != null) { + subBuilder = answerFeedback_.toBuilder(); } - case 66: - { - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; - if (dataCase_ == 8) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 8; - break; + answerFeedback_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(answerFeedback_); + answerFeedback_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder - subBuilder = null; - if (dataCase_ == 9) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 9; - break; + + break; + } + case 50: { + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = null; + if (dataCase_ == 6) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + data_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder - subBuilder = null; - if (dataCase_ == 10) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; + dataCase_ = 6; + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; + if (dataCase_ == 7) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); + data_ = subBuilder.buildPartial(); } + dataCase_ = 7; + break; + } + case 66: { + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; + if (dataCase_ == 8) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 8; + break; + } + case 74: { + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder subBuilder = null; + if (dataCase_ == 9) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 9; + break; + } + case 82: { + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder subBuilder = null; + if (dataCase_ == 10) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -260,34 +195,30 @@ private RuntimeAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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), @@ -296,7 +227,6 @@ public enum DataCase DIALOGFLOW_INTERACTION(10), DATA_NOT_SET(0); private final int value; - private DataCase(int value) { this.value = value; } @@ -312,43 +242,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 @@ -356,53 +276,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 @@ -410,26 +319,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.
    * 
@@ -439,21 +343,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 @@ -461,26 +362,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.
    * 
@@ -488,26 +384,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 @@ -515,60 +405,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 @@ -576,42 +448,31 @@ 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(); } @@ -619,8 +480,6 @@ public boolean hasDialogflowInteraction() { public static final int ANNOTATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object annotationId_; /** - * - * *
    * The unique identifier of the annotation.
    * Format:
@@ -628,7 +487,6 @@ public boolean hasDialogflowInteraction() {
    * 
* * string annotation_id = 1; - * * @return The annotationId. */ @java.lang.Override @@ -637,15 +495,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:
@@ -653,15 +510,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 { @@ -672,14 +530,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 @@ -687,14 +542,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 @@ -702,8 +554,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time at which this annotation was created.
    * 
@@ -718,14 +568,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 @@ -733,25 +580,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.
    * 
@@ -759,22 +599,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder() { return getStartBoundary(); } 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 @@ -782,25 +618,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.
    * 
@@ -808,22 +637,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder() { return getEndBoundary(); } 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 @@ -831,25 +656,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`.
    * 
@@ -857,13 +675,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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder() { return getAnswerFeedback(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -875,7 +691,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_); } @@ -892,8 +709,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_); @@ -902,12 +718,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_); } unknownFields.writeTo(output); } @@ -922,41 +736,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -966,47 +779,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: @@ -1070,127 +892,117 @@ 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() @@ -1198,15 +1010,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1242,9 +1055,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 @@ -1263,8 +1076,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); if (dataCase_ == 6) { if (articleSuggestionBuilder_ == null) { result.data_ = data_; @@ -1330,39 +1142,38 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation 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.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; @@ -1370,8 +1181,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_; onChanged(); @@ -1389,35 +1199,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.unknownFields); onChanged(); @@ -1438,8 +1242,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1448,12 +1251,12 @@ public Builder mergeFrom( } 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() { @@ -1463,21 +1266,15 @@ public Builder clearData() { return this; } + 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 @@ -1485,15 +1282,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 @@ -1511,17 +1304,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(); @@ -1535,14 +1324,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) { @@ -1556,27 +1342,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; } @@ -1592,14 +1369,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) { @@ -1618,32 +1392,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 { @@ -1654,55 +1420,39 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 6; - onChanged(); - ; + onChanged();; return articleSuggestionBuilder_; } 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 @@ -1710,14 +1460,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 @@ -1735,8 +1482,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { } } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1757,8 +1502,6 @@ public Builder setFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerD return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1777,8 +1520,6 @@ public Builder setFaqAnswer( return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1787,14 +1528,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; } @@ -1810,8 +1547,6 @@ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswe return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1835,8 +1570,6 @@ public Builder clearFaqAnswer() { return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1847,8 +1580,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns return getFaqAnswerFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1856,8 +1587,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 { @@ -1868,8 +1598,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns } } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1877,44 +1605,32 @@ 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()); data_ = null; } dataCase_ = 7; - onChanged(); - ; + onChanged();; return faqAnswerBuilder_; } 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 @@ -1922,14 +1638,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 @@ -1947,8 +1660,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() } } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1969,8 +1680,6 @@ public Builder setSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRepl return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1989,8 +1698,6 @@ public Builder setSmartReply( return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1999,14 +1706,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; } @@ -2022,8 +1725,6 @@ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRe return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2047,8 +1748,6 @@ public Builder clearSmartReply() { return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2059,8 +1758,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart return getSmartReplyFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2068,8 +1765,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 { @@ -2080,8 +1776,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart } } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2089,46 +1783,32 @@ 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()); data_ = null; } dataCase_ = 8; - onChanged(); - ; + onChanged();; return smartReplyBuilder_; } 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 @@ -2136,48 +1816,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(); @@ -2191,19 +1858,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(); @@ -2214,28 +1876,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; } @@ -2251,15 +1903,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) { @@ -2278,98 +1926,67 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 9; - onChanged(); - ; + onChanged();; return smartComposeSuggestionBuilder_; } 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 @@ -2377,48 +1994,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(); @@ -2432,19 +2036,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(); @@ -2455,28 +2054,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; } @@ -2492,15 +2081,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) { @@ -2519,86 +2104,61 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 10; - onChanged(); - ; + onChanged();; return dialogflowInteractionBuilder_; } private java.lang.Object annotationId_ = ""; /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2606,13 +2166,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; @@ -2621,8 +2181,6 @@ public java.lang.String getAnnotationId() { } } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2630,14 +2188,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 { @@ -2645,8 +2204,6 @@ public com.google.protobuf.ByteString getAnnotationIdBytes() { } } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2654,22 +2211,20 @@ 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) { + public Builder setAnnotationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationId_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2677,18 +2232,15 @@ public Builder setAnnotationId(java.lang.String value) {
      * 
* * string annotation_id = 1; - * * @return This builder for chaining. */ public Builder clearAnnotationId() { - + annotationId_ = getDefaultInstance().getAnnotationId(); onChanged(); return this; } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2696,16 +2248,16 @@ 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) { + public Builder setAnnotationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationId_ = value; onChanged(); return this; @@ -2713,47 +2265,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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -2774,15 +2313,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(); onChanged(); @@ -2793,8 +2331,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2805,7 +2341,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2817,8 +2353,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2837,8 +2371,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2846,13 +2378,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2863,14 +2393,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.
      * 
@@ -2878,17 +2405,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_; @@ -2896,55 +2420,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 startBoundaryBuilder_ != null || startBoundary_ != null; } /** - * - * *
      * 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(); @@ -2958,8 +2468,6 @@ public Builder setStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2978,23 +2486,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 (startBoundary_ != null) { startBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( - startBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(startBoundary_).mergeFrom(value).buildPartial(); } else { startBoundary_ = value; } @@ -3006,8 +2508,6 @@ public Builder mergeStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -3026,42 +2526,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() { + 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.
      * 
@@ -3069,17 +2560,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_; @@ -3087,55 +2575,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 endBoundaryBuilder_ != null || endBoundary_ != null; } /** - * - * *
      * 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(); @@ -3149,8 +2623,6 @@ public Builder setEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -3169,22 +2641,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 (endBoundary_ != null) { endBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_).mergeFrom(value).buildPartial(); } else { endBoundary_ = value; } @@ -3196,8 +2663,6 @@ public Builder mergeEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -3216,42 +2681,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() { + 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.
      * 
@@ -3259,17 +2715,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_; @@ -3277,55 +2730,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 answerFeedbackBuilder_ != null || answerFeedback_ != null; } /** - * - * *
      * 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(); @@ -3339,8 +2778,6 @@ public Builder setAnswerFeedback( return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -3359,22 +2796,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 (answerFeedback_ != null) { answerFeedback_ = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_).mergeFrom(value).buildPartial(); } else { answerFeedback_ = value; } @@ -3386,8 +2818,6 @@ public Builder mergeAnswerFeedback( return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -3406,42 +2836,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() { + 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`.
      * 
@@ -3449,24 +2870,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); } @@ -3476,12 +2894,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(); } @@ -3490,16 +2908,16 @@ 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 { - return new RuntimeAnnotation(input, extensionRegistry); - } - }; + 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 { + return new RuntimeAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3514,4 +2932,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java similarity index 78% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java index 4e2082e3..55d891c7 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java index a973ff59..106e2adc 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private SentimentData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,23 +52,23 @@ private SentimentData( case 0: done = true; break; - case 13: - { - magnitude_ = input.readFloat(); - break; - } - case 21: - { - score_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 13: { + + magnitude_ = input.readFloat(); + break; + } + case 21: { + + score_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,40 +76,35 @@ private SentimentData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * 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 @@ -136,14 +115,11 @@ public float getMagnitude() { public static final int SCORE_FIELD_NUMBER = 2; private float score_; /** - * - * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; - * * @return The score. */ @java.lang.Override @@ -152,7 +128,6 @@ public float getScore() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,7 +139,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_); } @@ -181,10 +157,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -194,18 +172,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -218,136 +197,128 @@ 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) + unknownFields.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() @@ -355,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +347,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 @@ -396,8 +368,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.SentimentData result = new com.google.cloud.contactcenterinsights.v1.SentimentData(this); result.magnitude_ = magnitude_; result.score_ = score_; onBuilt(); @@ -408,39 +379,38 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData 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.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; @@ -448,8 +418,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()); } @@ -475,8 +444,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,17 +454,14 @@ public Builder mergeFrom( return this; } - 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 @@ -504,53 +469,44 @@ 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; 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() { - + magnitude_ = 0F; onChanged(); 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 @@ -558,43 +514,37 @@ 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; 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() { - + score_ = 0F; 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); } @@ -604,12 +554,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(); } @@ -618,16 +568,16 @@ 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 { - return new SentimentData(input, extensionRegistry); - } - }; + 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 { + return new SentimentData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SentimentData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java similarity index 53% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java index 1c905b00..b3ce797b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java index 8e174232..7433ac50 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private Settings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,111 +55,90 @@ private Settings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (conversationTtl_ != null) { - subBuilder = conversationTtl_.toBuilder(); - } - conversationTtl_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationTtl_); - conversationTtl_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + case 42: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (conversationTtl_ != null) { + subBuilder = conversationTtl_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pubsubNotificationSettings_ = - com.google.protobuf.MapField.newMapField( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - pubsubNotificationSettings__ = - input.readMessage( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - pubsubNotificationSettings_ - .getMutableMap() - .put( - pubsubNotificationSettings__.getKey(), - pubsubNotificationSettings__.getValue()); - break; + conversationTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationTtl_); + conversationTtl_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = - null; - if (analysisConfig_ != null) { - subBuilder = analysisConfig_.toBuilder(); - } - analysisConfig_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisConfig_); - analysisConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pubsubNotificationSettings_ = com.google.protobuf.MapField.newMapField( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + pubsubNotificationSettings__ = input.readMessage( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + pubsubNotificationSettings_.getMutableMap().put( + pubsubNotificationSettings__.getKey(), pubsubNotificationSettings__.getValue()); + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = null; + if (analysisConfig_ != null) { + subBuilder = analysisConfig_.toBuilder(); + } + analysisConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisConfig_); + analysisConfig_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -184,90 +146,84 @@ private Settings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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(); } /** - * - * *
    * 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; } - private AnalysisConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -286,18 +242,18 @@ private AnalysisConfig( case 0: done = true; break; - case 9: - { - runtimeIntegrationAnalysisPercentage_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 9: { + + runtimeIntegrationAnalysisPercentage_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -305,40 +261,35 @@ private AnalysisConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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 @@ -347,7 +298,6 @@ public double getRuntimeIntegrationAnalysisPercentage() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -359,7 +309,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_); } @@ -373,9 +324,8 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -385,17 +335,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,105 +357,95 @@ 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())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -516,49 +455,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -568,16 +502,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 @@ -591,8 +523,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); result.runtimeIntegrationAnalysisPercentage_ = runtimeIntegrationAnalysisPercentage_; onBuilt(); return result; @@ -602,53 +533,46 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig buildPa 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()); } @@ -671,9 +595,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,17 +605,14 @@ public Builder mergeFrom( return this; } - 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 @@ -701,43 +620,36 @@ 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; 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() { - + runtimeIntegrationAnalysisPercentage_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -750,32 +662,30 @@ 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 { - return new AnalysisConfig(input, extensionRegistry); - } - }; + 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 { + return new AnalysisConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -787,17 +697,15 @@ 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -805,7 +713,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -814,15 +721,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:
@@ -830,15 +736,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 { @@ -849,15 +756,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 @@ -865,15 +768,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 @@ -881,14 +780,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() { @@ -898,15 +794,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 @@ -914,15 +806,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 @@ -930,14 +818,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() { @@ -947,8 +832,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; 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
@@ -956,7 +839,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string language_code = 4; - * * @return The languageCode. */ @java.lang.Override @@ -965,15 +847,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
@@ -981,15 +862,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 { @@ -1000,8 +882,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
@@ -1010,7 +890,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return Whether the conversationTtl field is set. */ @java.lang.Override @@ -1018,8 +897,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
@@ -1028,18 +905,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
@@ -1055,23 +927,21 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
   }
 
   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,
+                "");
   }
-
+  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);
@@ -1083,8 +953,6 @@ 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
@@ -1102,22 +970,22 @@ 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
@@ -1136,12 +1004,11 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
+
   public java.util.Map getPubsubNotificationSettingsMap() {
     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
@@ -1160,18 +1027,16 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
+
   public java.lang.String getPubsubNotificationSettingsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String 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
@@ -1190,10 +1055,10 @@ public 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)) {
@@ -1205,15 +1070,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 @@ -1221,41 +1082,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() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder() { return getAnalysisConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1267,7 +1117,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_); } @@ -1283,7 +1134,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, @@ -1304,31 +1156,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1338,33 +1192,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1407,146 +1266,139 @@ 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() @@ -1554,15 +1406,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1599,9 +1452,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 @@ -1620,8 +1473,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Settings result = new com.google.cloud.contactcenterinsights.v1.Settings(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -1655,39 +1507,38 @@ public com.google.cloud.contactcenterinsights.v1.Settings 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.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; @@ -1695,8 +1546,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_; onChanged(); @@ -1714,8 +1564,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()); if (other.hasAnalysisConfig()) { mergeAnalysisConfig(other.getAnalysisConfig()); } @@ -1738,8 +1588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1748,13 +1597,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1762,13 +1608,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; @@ -1777,8 +1623,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1786,14 +1630,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 { @@ -1801,8 +1646,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1810,22 +1653,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1833,18 +1674,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1852,16 +1690,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1869,58 +1707,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1936,17 +1755,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(); onChanged(); @@ -1957,21 +1773,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1983,15 +1795,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() { if (createTimeBuilder_ == null) { @@ -2005,64 +1813,48 @@ 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() { - + onChanged(); 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_; @@ -2070,58 +1862,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2137,17 +1910,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(); onChanged(); @@ -2158,21 +1928,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2184,15 +1950,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() { if (updateTimeBuilder_ == null) { @@ -2206,64 +1968,48 @@ 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() { - + onChanged(); 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_; @@ -2271,8 +2017,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
@@ -2280,13 +2024,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; @@ -2295,8 +2039,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
@@ -2304,14 +2046,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 { @@ -2319,8 +2062,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
@@ -2328,22 +2069,20 @@ 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) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; 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
@@ -2351,18 +2090,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 4; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); 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
@@ -2370,16 +2106,16 @@ 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) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -2387,13 +2123,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
@@ -2402,15 +2133,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 conversationTtlBuilder_ != null || conversationTtl_ != null; } /** - * - * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2419,21 +2147,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
@@ -2457,8 +2180,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
@@ -2468,7 +2189,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();
         onChanged();
@@ -2479,8 +2201,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
@@ -2494,9 +2214,7 @@ public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       if (conversationTtlBuilder_ == null) {
         if (conversationTtl_ != null) {
           conversationTtl_ =
-              com.google.protobuf.Duration.newBuilder(conversationTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(conversationTtl_).mergeFrom(value).buildPartial();
         } else {
           conversationTtl_ = value;
         }
@@ -2508,8 +2226,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
@@ -2531,8 +2247,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
@@ -2543,13 +2257,11 @@ public Builder clearConversationTtl() {
      * .google.protobuf.Duration conversation_ttl = 5;
      */
     public com.google.protobuf.Duration.Builder getConversationTtlBuilder() {
-
+      
       onChanged();
       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
@@ -2563,14 +2275,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
@@ -2581,42 +2290,35 @@ 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() {
+    internalGetPubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
       }
       return pubsubNotificationSettings_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutablePubsubNotificationSettings() {
-      onChanged();
-      ;
+    internalGetMutablePubsubNotificationSettings() {
+      onChanged();;
       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();
@@ -2628,8 +2330,6 @@ 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
@@ -2647,22 +2347,22 @@ 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
@@ -2681,12 +2381,11 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
+
     public java.util.Map getPubsubNotificationSettingsMap() {
       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
@@ -2705,18 +2404,16 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
+
     public java.lang.String getPubsubNotificationSettingsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String 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
@@ -2735,10 +2432,10 @@ public 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)) {
@@ -2748,12 +2445,11 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String ke
     }
 
     public Builder clearPubsubNotificationSettings() {
-      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
@@ -2771,22 +2467,23 @@ 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() {
+    getMutablePubsubNotificationSettings() {
       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
@@ -2804,20 +2501,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutablePubsubNotificationSettings().getMutableMap().put(key, value);
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .put(key, value);
       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
@@ -2835,66 +2531,51 @@ public Builder putPubsubNotificationSettings(java.lang.String key, java.lang.Str
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
+
     public Builder putAllPubsubNotificationSettings(
         java.util.Map values) {
-      internalGetMutablePubsubNotificationSettings().getMutableMap().putAll(values);
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .putAll(values);
       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 analysisConfigBuilder_ != null || 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. */ 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(); @@ -2908,14 +2589,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) { @@ -2929,24 +2607,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 (analysisConfig_ != null) { analysisConfig_ = - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder( - analysisConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder(analysisConfig_).mergeFrom(value).buildPartial(); } else { analysisConfig_ = value; } @@ -2958,14 +2629,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() { if (analysisConfigBuilder_ == null) { @@ -2979,70 +2647,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() { + 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); } @@ -3052,12 +2705,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(); } @@ -3066,16 +2719,16 @@ 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 { - return new Settings(input, extensionRegistry); - } - }; + 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 { + return new Settings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3090,4 +2743,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Settings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java similarity index 82% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java index 55e6f5ae..06c8750f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java +++ b/owl-bot-staging/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
@@ -289,13 +230,11 @@ public interface SettingsOrBuilder
    */
 
   /* 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
@@ -313,44 +252,34 @@ 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java index 1b820b55..bd7dba18 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private SilenceData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private SilenceData( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private SilenceData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ 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() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,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 @@ -325,8 +297,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; } @@ -335,39 +306,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; @@ -375,8 +345,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.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,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(); } @@ -432,16 +400,16 @@ 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 { - return new SilenceData(input, extensionRegistry); - } - }; + 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 { + return new SilenceData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java new file mode 100644 index 00000000..c865e05a --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java index 2ab6f9e3..790c1de2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private SmartComposeSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,47 +55,43 @@ private SmartComposeSuggestionData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - suggestion_ = s; - break; - } - case 17: - { - confidenceScore_ = input.readDouble(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + suggestion_ = s; + break; + } + case 17: { - queryRecord_ = s; - break; + confidenceScore_ = input.readDouble(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + queryRecord_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,50 +99,46 @@ private SmartComposeSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object suggestion_; /** - * - * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; - * * @return The suggestion. */ @java.lang.Override @@ -172,29 +147,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 { @@ -205,8 +180,6 @@ public com.google.protobuf.ByteString getSuggestionBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -214,7 +187,6 @@ public com.google.protobuf.ByteString getSuggestionBytes() {
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -223,23 +195,24 @@ 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, + ""); } - - 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_; } @@ -248,8 +221,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -257,22 +228,22 @@ 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.
@@ -281,12 +252,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -295,17 +265,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -314,11 +283,12 @@ public 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();
     }
@@ -328,8 +298,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -337,7 +305,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 4; - * * @return The queryRecord. */ @java.lang.Override @@ -346,15 +313,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:
@@ -362,15 +328,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 { @@ -379,7 +346,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,15 +357,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_); } @@ -416,17 +387,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_); @@ -439,19 +411,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -466,10 +441,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(); @@ -482,165 +455,156 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -655,16 +619,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 @@ -678,8 +640,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); int from_bitField0_ = bitField0_; result.suggestion_ = suggestion_; result.confidenceScore_ = confidenceScore_; @@ -694,51 +655,46 @@ public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData 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.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_; onChanged(); @@ -746,7 +702,8 @@ public Builder mergeFrom( if (other.getConfidenceScore() != 0D) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -770,9 +727,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -781,25 +736,22 @@ public Builder mergeFrom( } 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; @@ -808,21 +760,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 { @@ -830,70 +781,61 @@ 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) { + public Builder setSuggestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** - * - * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; - * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); 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) { + public Builder setSuggestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); 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
@@ -901,7 +843,6 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) {
      * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -909,8 +850,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
@@ -918,19 +857,16 @@ 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; 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
@@ -938,32 +874,31 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -975,8 +910,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -984,22 +917,22 @@ 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.
@@ -1008,12 +941,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1022,17 +954,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1041,11 +972,12 @@ public 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();
       }
@@ -1053,12 +985,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1066,21 +997,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1088,20 +1021,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1109,15 +1041,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1125,13 +1058,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; @@ -1140,8 +1073,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1149,14 +1080,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 { @@ -1164,8 +1096,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1173,22 +1103,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1196,18 +1124,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 4; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1215,23 +1140,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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1241,32 +1166,30 @@ 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 { - return new SmartComposeSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new SmartComposeSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1278,8 +1201,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java index efd04393..ec4de4b5 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -111,13 +84,11 @@ public interface SmartComposeSuggestionDataOrBuilder
    */
 
   /* 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.
@@ -125,11 +96,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:
@@ -137,13 +108,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -151,8 +119,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java index 30a31825..528c4ece 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private SmartReplyData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,47 +55,43 @@ private SmartReplyData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - reply_ = s; - break; - } - case 17: - { - confidenceScore_ = input.readDouble(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + reply_ = s; + break; + } + case 17: { - queryRecord_ = s; - break; + confidenceScore_ = input.readDouble(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + queryRecord_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,50 +99,46 @@ private SmartReplyData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object reply_; /** - * - * *
    * The content of the reply.
    * 
* * string reply = 1; - * * @return The reply. */ @java.lang.Override @@ -172,29 +147,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 { @@ -205,8 +180,6 @@ public com.google.protobuf.ByteString getReplyBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -214,7 +187,6 @@ public com.google.protobuf.ByteString getReplyBytes() {
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -223,23 +195,24 @@ 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, + ""); } - - 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_; } @@ -248,8 +221,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -257,22 +228,22 @@ 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.
@@ -281,12 +252,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -295,17 +265,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -314,11 +283,12 @@ public 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();
     }
@@ -328,8 +298,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -337,7 +305,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 4; - * * @return The queryRecord. */ @java.lang.Override @@ -346,15 +313,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:
@@ -362,15 +328,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 { @@ -379,7 +346,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,15 +357,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_); } @@ -416,17 +387,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_); @@ -439,19 +411,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -466,10 +441,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(); @@ -482,147 +455,139 @@ 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() @@ -630,15 +595,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -653,9 +619,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 @@ -674,8 +640,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.SmartReplyData result = new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); int from_bitField0_ = bitField0_; result.reply_ = reply_; result.confidenceScore_ = confidenceScore_; @@ -690,39 +655,38 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData 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.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; @@ -730,8 +694,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_; onChanged(); @@ -739,7 +702,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -763,8 +727,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -773,25 +736,22 @@ public Builder mergeFrom( } 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; @@ -800,21 +760,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 { @@ -822,70 +781,61 @@ 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) { + public Builder setReply( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reply_ = value; onChanged(); return this; } /** - * - * *
      * The content of the reply.
      * 
* * string reply = 1; - * * @return This builder for chaining. */ public Builder clearReply() { - + reply_ = getDefaultInstance().getReply(); onChanged(); 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) { + public Builder setReplyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reply_ = value; onChanged(); 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
@@ -893,7 +843,6 @@ public Builder setReplyBytes(com.google.protobuf.ByteString value) {
      * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -901,8 +850,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
@@ -910,19 +857,16 @@ 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; 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
@@ -930,32 +874,31 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -967,8 +910,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -976,22 +917,22 @@ 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.
@@ -1000,12 +941,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1014,17 +954,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1033,11 +972,12 @@ public 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();
       }
@@ -1045,12 +985,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1058,21 +997,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1080,20 +1021,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1101,15 +1041,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1117,13 +1058,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; @@ -1132,8 +1073,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1141,14 +1080,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 { @@ -1156,8 +1096,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1165,22 +1103,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1188,18 +1124,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 4; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1207,23 +1140,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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1233,12 +1166,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(); } @@ -1247,16 +1180,16 @@ 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 { - return new SmartReplyData(input, extensionRegistry); - } - }; + 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 { + return new SmartReplyData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1271,4 +1204,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java index dde4f8e6..59dae0cd 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -111,13 +84,11 @@ public interface SmartReplyDataOrBuilder
    */
 
   /* 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.
@@ -125,11 +96,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:
@@ -137,13 +108,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -151,8 +119,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java index 4e3bc499..e2cf4095 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UndeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private UndeployIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder - subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private UndeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,56 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1148,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for undeployment.
      * 
@@ -1157,8 +985,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(); onChanged(); @@ -1169,23 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder( - request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1197,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for undeployment.
      * 
@@ -1217,43 +1036,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() { + 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.
      * 
@@ -1261,24 +1070,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); } @@ -1288,32 +1094,30 @@ 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 { - return new UndeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java index 2f35b185..5e656936 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java index dfb32d6f..a0736023 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UndeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private UndeployIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private UndeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,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 @@ -402,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest build 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_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( 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; @@ -519,23 +467,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 { @@ -543,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -620,32 +552,30 @@ 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 { - return new UndeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..52d1662c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java index 7ea7f44a..f454b27f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UndeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private UndeployIssueModelResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private UndeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,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 @@ -329,8 +297,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; } @@ -339,51 +306,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.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -426,32 +386,30 @@ 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 { - return new UndeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..77ed1a9e --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java index 1dafc28f..7a4ec025 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateConversationRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); + } + conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,52 +127,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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { return getConversation(); } 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 @@ -209,14 +165,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 @@ -224,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -238,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +200,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()); } @@ -267,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,145 +275,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,16 +422,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 @@ -502,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); if (conversationBuilder_ == null) { result.conversation_ = conversation_; } else { @@ -522,51 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest build 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()); } @@ -592,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,58 +539,39 @@ public Builder mergeFrom( 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 conversationBuilder_ != null || 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. */ 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) { @@ -673,15 +587,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) { @@ -695,23 +605,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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); } else { conversation_ = value; } @@ -723,15 +627,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() { if (conversationBuilder_ == null) { @@ -745,65 +645,48 @@ 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() { - + onChanged(); 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_; @@ -811,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -872,15 +742,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(); onChanged(); @@ -891,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -903,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -915,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -935,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -944,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -961,14 +822,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.
      * 
@@ -976,24 +834,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); } @@ -1003,32 +858,30 @@ 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 { - return new UpdateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java index 31ea847a..8790423a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java index a0c59c7e..99199490 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateIssueModelRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); - } - issueModel_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); + } + issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,34 +127,23 @@ 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() { @@ -193,14 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod 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 @@ -208,14 +165,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 @@ -223,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -237,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +200,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()); } @@ -266,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,145 +275,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,14 +422,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(); } @@ -500,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; } else { @@ -520,50 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest buildPa 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()); } @@ -589,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -603,58 +539,39 @@ public Builder mergeFrom( 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 issueModelBuilder_ != null || 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. */ 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) { @@ -670,15 +587,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) { @@ -692,23 +605,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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); } else { issueModel_ = value; } @@ -720,15 +627,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() { if (issueModelBuilder_ == null) { @@ -742,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -807,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -868,15 +742,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(); onChanged(); @@ -887,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -899,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -911,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -931,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -940,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -957,14 +822,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.
      * 
@@ -972,24 +834,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); } @@ -999,32 +858,30 @@ 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 { - return new UpdateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1036,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java index c94e49ea..b6afb01f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java index ec8f36b3..c0a2f7d4 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateIssueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; - if (issue_ != null) { - subBuilder = issue_.toBuilder(); - } - issue_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issue_); - issue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; + if (issue_ != null) { + subBuilder = issue_.toBuilder(); + } + issue_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issue_); + issue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,41 +92,34 @@ private UpdateIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -155,34 +127,23 @@ 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() { @@ -192,14 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilde 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 @@ -207,14 +165,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 @@ -222,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -236,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +200,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()); } @@ -265,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +275,117 @@ 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() @@ -447,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +422,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(); } @@ -497,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); if (issueBuilder_ == null) { result.issue_ = issue_; } else { @@ -517,39 +462,38 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest 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.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; @@ -557,9 +501,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()); } @@ -585,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,58 +539,39 @@ public Builder mergeFrom( 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 issueBuilder_ != null || 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. */ 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) { @@ -665,15 +587,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) { @@ -687,23 +605,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 (issue_ != null) { issue_ = - com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_).mergeFrom(value).buildPartial(); } else { issue_ = value; } @@ -715,15 +627,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() { if (issueBuilder_ == null) { @@ -737,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -802,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -863,15 +742,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(); onChanged(); @@ -882,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -894,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -906,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -926,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -935,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -952,14 +822,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.
      * 
@@ -967,24 +834,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); } @@ -994,13 +858,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(); } @@ -1009,16 +872,16 @@ 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 { - return new UpdateIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java index 852c3ad3..b4aec186 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java index a775ab21..e9cd099f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdatePhraseMatcherRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); - } - phraseMatcher_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); + } + phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,52 +127,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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } 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 @@ -209,14 +165,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 @@ -224,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -238,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +200,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()); } @@ -267,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,145 +275,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,16 +422,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 @@ -502,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; } else { @@ -522,51 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest 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.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()); } @@ -592,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,58 +539,39 @@ public Builder mergeFrom( 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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -673,15 +587,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) { @@ -695,24 +605,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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); } else { phraseMatcher_ = value; } @@ -724,15 +627,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() { if (phraseMatcherBuilder_ == null) { @@ -746,66 +645,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() { + 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_; @@ -813,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -874,15 +742,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(); onChanged(); @@ -893,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -905,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -917,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -937,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -946,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -963,14 +822,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.
      * 
@@ -978,24 +834,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); } @@ -1005,32 +858,30 @@ 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 { - return new UpdatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java index dba885b1..2652a669 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java index 9a93bc57..9e7744f1 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateSettingsRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; - if (settings_ != null) { - subBuilder = settings_.toBuilder(); - } - settings_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Settings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(settings_); - settings_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,34 +127,23 @@ 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() { @@ -193,15 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOr 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 @@ -209,15 +165,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 @@ -225,14 +177,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() { @@ -240,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +200,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()); } @@ -269,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -282,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -323,127 +275,117 @@ 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() @@ -451,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +422,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(); } @@ -501,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); if (settingsBuilder_ == null) { result.settings_ = settings_; } else { @@ -521,50 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest buildPart 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()); } @@ -590,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -604,58 +539,39 @@ public Builder mergeFrom( 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 settingsBuilder_ != null || 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. */ 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) { @@ -671,15 +587,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) { @@ -693,23 +605,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 (settings_ != null) { settings_ = - com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } @@ -721,15 +627,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() { if (settingsBuilder_ == null) { @@ -743,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -808,55 +694,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -872,16 +742,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(); onChanged(); @@ -892,20 +760,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -917,14 +782,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() { if (updateMaskBuilder_ == null) { @@ -938,68 +800,55 @@ 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() { - + onChanged(); 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); } @@ -1009,32 +858,30 @@ 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 { - return new UpdateSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1046,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java index 8b040fce..7d2cd48f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java index 71414626..216c6d49 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateViewRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); - } - view_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); + } + view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,41 +92,34 @@ private UpdateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -155,34 +127,23 @@ 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() { @@ -192,14 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( 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 @@ -207,14 +165,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 @@ -222,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -236,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +200,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()); } @@ -265,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +275,117 @@ 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() @@ -447,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +422,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 @@ -496,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); if (viewBuilder_ == null) { result.view_ = view_; } else { @@ -516,39 +462,38 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest 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.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; @@ -556,8 +501,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()); } @@ -583,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,58 +539,39 @@ public Builder mergeFrom( 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 viewBuilder_ != null || 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. */ 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) { @@ -663,17 +587,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(); onChanged(); @@ -684,23 +605,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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); } else { view_ = value; } @@ -712,15 +627,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() { if (viewBuilder_ == null) { @@ -734,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -799,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -860,15 +742,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(); onChanged(); @@ -879,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -891,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -903,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -923,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -932,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -949,14 +822,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.
      * 
@@ -964,24 +834,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); } @@ -991,12 +858,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(); } @@ -1005,16 +872,16 @@ 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 { - return new UpdateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java index af93e5c9..3491f256 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java index f54097df..792f7531 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private View( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,64 +55,57 @@ private View( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + displayName_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,33 +113,29 @@ private View( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the view.
    * Format:
@@ -171,7 +143,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -180,15 +151,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:
@@ -196,15 +166,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 { @@ -215,14 +186,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -231,29 +199,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 { @@ -264,15 +232,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 @@ -280,15 +244,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 @@ -296,14 +256,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() { @@ -313,15 +270,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 @@ -329,15 +282,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 @@ -345,14 +294,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() { @@ -362,14 +308,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int VALUE_FIELD_NUMBER = 5; private volatile java.lang.Object value_; /** - * - * *
    * String with specific view properties.
    * 
* * string value = 5; - * * @return The value. */ @java.lang.Override @@ -378,29 +321,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 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 { @@ -409,7 +352,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,7 +363,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_); } @@ -453,10 +396,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_); @@ -469,25 +414,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -518,127 +467,118 @@ 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() @@ -646,15 +586,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -680,9 +621,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 @@ -701,8 +642,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.View result = new com.google.cloud.contactcenterinsights.v1.View(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -724,39 +664,38 @@ public com.google.cloud.contactcenterinsights.v1.View 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.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; @@ -814,8 +753,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -823,13 +760,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; @@ -838,8 +775,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -847,14 +782,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 { @@ -862,8 +798,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -871,22 +805,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -894,18 +826,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -913,16 +842,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -930,20 +859,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; @@ -952,21 +879,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 { @@ -974,61 +900,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1036,58 +955,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1103,17 +1003,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(); onChanged(); @@ -1124,21 +1021,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1150,15 +1043,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() { if (createTimeBuilder_ == null) { @@ -1172,64 +1061,48 @@ 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() { - + onChanged(); 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_; @@ -1237,58 +1110,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1304,17 +1158,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(); onChanged(); @@ -1325,21 +1176,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1351,15 +1198,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() { if (updateTimeBuilder_ == null) { @@ -1373,64 +1216,48 @@ 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() { - + onChanged(); 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_; @@ -1438,20 +1265,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object value_ = ""; /** - * - * *
      * String with specific view properties.
      * 
* * 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; @@ -1460,21 +1285,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * String with specific view properties.
      * 
* * 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 { @@ -1482,68 +1306,61 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * String with specific view properties.
      * 
* * string value = 5; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * String with specific view properties.
      * 
* * string value = 5; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * String with specific view properties.
      * 
* * string value = 5; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -1553,12 +1370,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(); } @@ -1567,16 +1384,16 @@ 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 { - return new View(input, extensionRegistry); - } - }; + 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 { + return new View(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1591,4 +1408,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.View getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java index 20c13a34..f11723ea 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java +++ b/owl-bot-staging/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 value = 5; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * String with specific view properties.
    * 
* * string value = 5; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java new file mode 100644 index 00000000..2853f3a7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest; +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class AsyncCalculateIssueModelStats { + + public static void main(String[] args) throws Exception { + asyncCalculateIssueModelStats(); + } + + public static void asyncCalculateIssueModelStats() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CalculateIssueModelStatsRequest request = + CalculateIssueModelStatsRequest.newBuilder() + .setIssueModel( + IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.calculateIssueModelStatsCallable().futureCall(request); + // Do something. + CalculateIssueModelStatsResponse response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java new file mode 100644 index 00000000..bb267921 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_sync] +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest; +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncCalculateIssueModelStats { + + public static void main(String[] args) throws Exception { + syncCalculateIssueModelStats(); + } + + public static void syncCalculateIssueModelStats() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CalculateIssueModelStatsRequest request = + CalculateIssueModelStatsRequest.newBuilder() + .setIssueModel( + IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + CalculateIssueModelStatsResponse response = + contactCenterInsightsClient.calculateIssueModelStats(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java new file mode 100644 index 00000000..f006b83c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_issuemodelname_sync] +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncCalculateIssueModelStatsIssuemodelname { + + public static void main(String[] args) throws Exception { + syncCalculateIssueModelStatsIssuemodelname(); + } + + public static void syncCalculateIssueModelStatsIssuemodelname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueModelName issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + CalculateIssueModelStatsResponse response = + contactCenterInsightsClient.calculateIssueModelStats(issueModel); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_issuemodelname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java new file mode 100644 index 00000000..23af4c84 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_string_sync] +import com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncCalculateIssueModelStatsString { + + public static void main(String[] args) throws Exception { + syncCalculateIssueModelStatsString(); + } + + public static void syncCalculateIssueModelStatsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); + CalculateIssueModelStatsResponse response = + contactCenterInsightsClient.calculateIssueModelStats(issueModel); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculateissuemodelstats_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java new file mode 100644 index 00000000..888ec768 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest; +import com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class AsyncCalculateStats { + + public static void main(String[] args) throws Exception { + asyncCalculateStats(); + } + + public static void asyncCalculateStats() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CalculateStatsRequest request = + CalculateStatsRequest.newBuilder() + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .build(); + ApiFuture future = + contactCenterInsightsClient.calculateStatsCallable().futureCall(request); + // Do something. + CalculateStatsResponse response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java new file mode 100644 index 00000000..e41d6a1a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_sync] +import com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest; +import com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCalculateStats { + + public static void main(String[] args) throws Exception { + syncCalculateStats(); + } + + public static void syncCalculateStats() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CalculateStatsRequest request = + CalculateStatsRequest.newBuilder() + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .build(); + CalculateStatsResponse response = contactCenterInsightsClient.calculateStats(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java new file mode 100644 index 00000000..aa98d003 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_locationname_sync] +import com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCalculateStatsLocationname { + + public static void main(String[] args) throws Exception { + syncCalculateStatsLocationname(); + } + + public static void syncCalculateStatsLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName location = LocationName.of("[PROJECT]", "[LOCATION]"); + CalculateStatsResponse response = contactCenterInsightsClient.calculateStats(location); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java new file mode 100644 index 00000000..826e7499 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_string_sync] +import com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCalculateStatsString { + + public static void main(String[] args) throws Exception { + syncCalculateStatsString(); + } + + public static void syncCalculateStatsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String location = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + CalculateStatsResponse response = contactCenterInsightsClient.calculateStats(location); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_calculatestats_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..dde92bb6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsSettings; +import com.google.cloud.contactcenterinsights.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ContactCenterInsightsSettings contactCenterInsightsSettings = + ContactCenterInsightsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create(contactCenterInsightsSettings); + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..cab85cfe --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_create_setcredentialsprovider1_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ContactCenterInsightsSettings contactCenterInsightsSettings = + ContactCenterInsightsSettings.newBuilder() + .setTransportChannelProvider( + ContactCenterInsightsSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create(contactCenterInsightsSettings); + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..74e02d22 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_create_setendpoint_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsSettings; +import com.google.cloud.contactcenterinsights.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ContactCenterInsightsSettings contactCenterInsightsSettings = + ContactCenterInsightsSettings.newBuilder().setEndpoint(myEndpoint).build(); + ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create(contactCenterInsightsSettings); + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java new file mode 100644 index 00000000..4cc6ef5f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest; +import com.google.longrunning.Operation; + +public class AsyncCreateAnalysis { + + public static void main(String[] args) throws Exception { + asyncCreateAnalysis(); + } + + public static void asyncCreateAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateAnalysisRequest request = + CreateAnalysisRequest.newBuilder() + .setParent( + ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setAnalysis(Analysis.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.createAnalysisCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java new file mode 100644 index 00000000..d72b00ac --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata; +import com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest; + +public class AsyncCreateAnalysisLRO { + + public static void main(String[] args) throws Exception { + asyncCreateAnalysisLRO(); + } + + public static void asyncCreateAnalysisLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateAnalysisRequest request = + CreateAnalysisRequest.newBuilder() + .setParent( + ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setAnalysis(Analysis.newBuilder().build()) + .build(); + OperationFuture future = + contactCenterInsightsClient.createAnalysisOperationCallable().futureCall(request); + // Do something. + Analysis response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java new file mode 100644 index 00000000..4003372f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest; + +public class SyncCreateAnalysis { + + public static void main(String[] args) throws Exception { + syncCreateAnalysis(); + } + + public static void syncCreateAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateAnalysisRequest request = + CreateAnalysisRequest.newBuilder() + .setParent( + ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setAnalysis(Analysis.newBuilder().build()) + .build(); + Analysis response = contactCenterInsightsClient.createAnalysisAsync(request).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java new file mode 100644 index 00000000..9e9a073b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_conversationnameanalysis_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; + +public class SyncCreateAnalysisConversationnameAnalysis { + + public static void main(String[] args) throws Exception { + syncCreateAnalysisConversationnameAnalysis(); + } + + public static void syncCreateAnalysisConversationnameAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Analysis analysis = Analysis.newBuilder().build(); + Analysis response = contactCenterInsightsClient.createAnalysisAsync(parent, analysis).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_conversationnameanalysis_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java new file mode 100644 index 00000000..20065f19 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_stringanalysis_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; + +public class SyncCreateAnalysisStringAnalysis { + + public static void main(String[] args) throws Exception { + syncCreateAnalysisStringAnalysis(); + } + + public static void syncCreateAnalysisStringAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); + Analysis analysis = Analysis.newBuilder().build(); + Analysis response = contactCenterInsightsClient.createAnalysisAsync(parent, analysis).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createanalysis_stringanalysis_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java new file mode 100644 index 00000000..99f61c8e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.CreateConversationRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class AsyncCreateConversation { + + public static void main(String[] args) throws Exception { + asyncCreateConversation(); + } + + public static void asyncCreateConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateConversationRequest request = + CreateConversationRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setConversation(Conversation.newBuilder().build()) + .setConversationId("conversationId-1676095234") + .build(); + ApiFuture future = + contactCenterInsightsClient.createConversationCallable().futureCall(request); + // Do something. + Conversation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java new file mode 100644 index 00000000..221e0bb7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.CreateConversationRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCreateConversation { + + public static void main(String[] args) throws Exception { + syncCreateConversation(); + } + + public static void syncCreateConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateConversationRequest request = + CreateConversationRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setConversation(Conversation.newBuilder().build()) + .setConversationId("conversationId-1676095234") + .build(); + Conversation response = contactCenterInsightsClient.createConversation(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java new file mode 100644 index 00000000..708d8720 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_locationnameconversationstring_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCreateConversationLocationnameConversationString { + + public static void main(String[] args) throws Exception { + syncCreateConversationLocationnameConversationString(); + } + + public static void syncCreateConversationLocationnameConversationString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Conversation conversation = Conversation.newBuilder().build(); + String conversationId = "conversationId-1676095234"; + Conversation response = + contactCenterInsightsClient.createConversation(parent, conversation, conversationId); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_locationnameconversationstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java new file mode 100644 index 00000000..b18ed304 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_stringconversationstring_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCreateConversationStringConversationString { + + public static void main(String[] args) throws Exception { + syncCreateConversationStringConversationString(); + } + + public static void syncCreateConversationStringConversationString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + Conversation conversation = Conversation.newBuilder().build(); + String conversationId = "conversationId-1676095234"; + Conversation response = + contactCenterInsightsClient.createConversation(parent, conversation, conversationId); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createconversation_stringconversationstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java new file mode 100644 index 00000000..e3fe202e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.longrunning.Operation; + +public class AsyncCreateIssueModel { + + public static void main(String[] args) throws Exception { + asyncCreateIssueModel(); + } + + public static void asyncCreateIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateIssueModelRequest request = + CreateIssueModelRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setIssueModel(IssueModel.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.createIssueModelCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java new file mode 100644 index 00000000..f335c7e3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class AsyncCreateIssueModelLRO { + + public static void main(String[] args) throws Exception { + asyncCreateIssueModelLRO(); + } + + public static void asyncCreateIssueModelLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateIssueModelRequest request = + CreateIssueModelRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setIssueModel(IssueModel.newBuilder().build()) + .build(); + OperationFuture future = + contactCenterInsightsClient.createIssueModelOperationCallable().futureCall(request); + // Do something. + IssueModel response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java new file mode 100644 index 00000000..e583f05b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCreateIssueModel { + + public static void main(String[] args) throws Exception { + syncCreateIssueModel(); + } + + public static void syncCreateIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateIssueModelRequest request = + CreateIssueModelRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setIssueModel(IssueModel.newBuilder().build()) + .build(); + IssueModel response = contactCenterInsightsClient.createIssueModelAsync(request).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java new file mode 100644 index 00000000..9f1afc3e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_locationnameissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCreateIssueModelLocationnameIssuemodel { + + public static void main(String[] args) throws Exception { + syncCreateIssueModelLocationnameIssuemodel(); + } + + public static void syncCreateIssueModelLocationnameIssuemodel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + IssueModel issueModel = IssueModel.newBuilder().build(); + IssueModel response = + contactCenterInsightsClient.createIssueModelAsync(parent, issueModel).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_locationnameissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java new file mode 100644 index 00000000..98b013f6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_stringissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncCreateIssueModelStringIssuemodel { + + public static void main(String[] args) throws Exception { + syncCreateIssueModelStringIssuemodel(); + } + + public static void syncCreateIssueModelStringIssuemodel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + IssueModel issueModel = IssueModel.newBuilder().build(); + IssueModel response = + contactCenterInsightsClient.createIssueModelAsync(parent, issueModel).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createissuemodel_stringissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java new file mode 100644 index 00000000..967539eb --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class AsyncCreatePhraseMatcher { + + public static void main(String[] args) throws Exception { + asyncCreatePhraseMatcher(); + } + + public static void asyncCreatePhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreatePhraseMatcherRequest request = + CreatePhraseMatcherRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPhraseMatcher(PhraseMatcher.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.createPhraseMatcherCallable().futureCall(request); + // Do something. + PhraseMatcher response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java new file mode 100644 index 00000000..665c1abb --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class SyncCreatePhraseMatcher { + + public static void main(String[] args) throws Exception { + syncCreatePhraseMatcher(); + } + + public static void syncCreatePhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreatePhraseMatcherRequest request = + CreatePhraseMatcherRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPhraseMatcher(PhraseMatcher.newBuilder().build()) + .build(); + PhraseMatcher response = contactCenterInsightsClient.createPhraseMatcher(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java new file mode 100644 index 00000000..6afbdeaa --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_locationnamephrasematcher_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class SyncCreatePhraseMatcherLocationnamePhrasematcher { + + public static void main(String[] args) throws Exception { + syncCreatePhraseMatcherLocationnamePhrasematcher(); + } + + public static void syncCreatePhraseMatcherLocationnamePhrasematcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); + PhraseMatcher response = + contactCenterInsightsClient.createPhraseMatcher(parent, phraseMatcher); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_locationnamephrasematcher_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java new file mode 100644 index 00000000..410ae93f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_stringphrasematcher_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class SyncCreatePhraseMatcherStringPhrasematcher { + + public static void main(String[] args) throws Exception { + syncCreatePhraseMatcherStringPhrasematcher(); + } + + public static void syncCreatePhraseMatcherStringPhrasematcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); + PhraseMatcher response = + contactCenterInsightsClient.createPhraseMatcher(parent, phraseMatcher); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createphrasematcher_stringphrasematcher_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java new file mode 100644 index 00000000..c9c5758c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.CreateViewRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class AsyncCreateView { + + public static void main(String[] args) throws Exception { + asyncCreateView(); + } + + public static void asyncCreateView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateViewRequest request = + CreateViewRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setView(View.newBuilder().build()) + .build(); + ApiFuture future = contactCenterInsightsClient.createViewCallable().futureCall(request); + // Do something. + View response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java new file mode 100644 index 00000000..2f755336 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.CreateViewRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class SyncCreateView { + + public static void main(String[] args) throws Exception { + syncCreateView(); + } + + public static void syncCreateView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + CreateViewRequest request = + CreateViewRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setView(View.newBuilder().build()) + .build(); + View response = contactCenterInsightsClient.createView(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java new file mode 100644 index 00000000..ae0ac857 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_locationnameview_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class SyncCreateViewLocationnameView { + + public static void main(String[] args) throws Exception { + syncCreateViewLocationnameView(); + } + + public static void syncCreateViewLocationnameView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + View view = View.newBuilder().build(); + View response = contactCenterInsightsClient.createView(parent, view); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_locationnameview_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java new file mode 100644 index 00000000..93ea15b1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_stringview_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class SyncCreateViewStringView { + + public static void main(String[] args) throws Exception { + syncCreateViewStringView(); + } + + public static void syncCreateViewStringView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + View view = View.newBuilder().build(); + View response = contactCenterInsightsClient.createView(parent, view); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_createview_stringview_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java new file mode 100644 index 00000000..d0e06d2d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest; +import com.google.protobuf.Empty; + +public class AsyncDeleteAnalysis { + + public static void main(String[] args) throws Exception { + asyncDeleteAnalysis(); + } + + public static void asyncDeleteAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteAnalysisRequest request = + DeleteAnalysisRequest.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.deleteAnalysisCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java new file mode 100644 index 00000000..ff47696f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_sync] +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteAnalysis { + + public static void main(String[] args) throws Exception { + syncDeleteAnalysis(); + } + + public static void syncDeleteAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteAnalysisRequest request = + DeleteAnalysisRequest.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .build(); + contactCenterInsightsClient.deleteAnalysis(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java new file mode 100644 index 00000000..d8917acf --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_analysisname_sync] +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAnalysisAnalysisname { + + public static void main(String[] args) throws Exception { + syncDeleteAnalysisAnalysisname(); + } + + public static void syncDeleteAnalysisAnalysisname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + AnalysisName name = + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + contactCenterInsightsClient.deleteAnalysis(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_analysisname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java new file mode 100644 index 00000000..f09890ee --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_string_sync] +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteAnalysisString { + + public static void main(String[] args) throws Exception { + syncDeleteAnalysisString(); + } + + public static void syncDeleteAnalysisString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]").toString(); + contactCenterInsightsClient.deleteAnalysis(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteanalysis_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java new file mode 100644 index 00000000..204f720f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest; +import com.google.protobuf.Empty; + +public class AsyncDeleteConversation { + + public static void main(String[] args) throws Exception { + asyncDeleteConversation(); + } + + public static void asyncDeleteConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteConversationRequest request = + DeleteConversationRequest.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setForce(true) + .build(); + ApiFuture future = + contactCenterInsightsClient.deleteConversationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java new file mode 100644 index 00000000..ab18c6e7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest; +import com.google.protobuf.Empty; + +public class SyncDeleteConversation { + + public static void main(String[] args) throws Exception { + syncDeleteConversation(); + } + + public static void syncDeleteConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteConversationRequest request = + DeleteConversationRequest.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setForce(true) + .build(); + contactCenterInsightsClient.deleteConversation(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java new file mode 100644 index 00000000..889e2db5 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_conversationname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.protobuf.Empty; + +public class SyncDeleteConversationConversationname { + + public static void main(String[] args) throws Exception { + syncDeleteConversationConversationname(); + } + + public static void syncDeleteConversationConversationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + contactCenterInsightsClient.deleteConversation(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_conversationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java new file mode 100644 index 00000000..e3cdc99b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.protobuf.Empty; + +public class SyncDeleteConversationString { + + public static void main(String[] args) throws Exception { + syncDeleteConversationString(); + } + + public static void syncDeleteConversationString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); + contactCenterInsightsClient.deleteConversation(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteconversation_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java new file mode 100644 index 00000000..9fca7eda --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.longrunning.Operation; + +public class AsyncDeleteIssueModel { + + public static void main(String[] args) throws Exception { + asyncDeleteIssueModel(); + } + + public static void asyncDeleteIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteIssueModelRequest request = + DeleteIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.deleteIssueModelCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java new file mode 100644 index 00000000..063df5e1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.protobuf.Empty; + +public class AsyncDeleteIssueModelLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteIssueModelLRO(); + } + + public static void asyncDeleteIssueModelLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteIssueModelRequest request = + DeleteIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + OperationFuture future = + contactCenterInsightsClient.deleteIssueModelOperationCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java new file mode 100644 index 00000000..79111892 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.protobuf.Empty; + +public class SyncDeleteIssueModel { + + public static void main(String[] args) throws Exception { + syncDeleteIssueModel(); + } + + public static void syncDeleteIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteIssueModelRequest request = + DeleteIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + contactCenterInsightsClient.deleteIssueModelAsync(request).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java new file mode 100644 index 00000000..5a840260 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_issuemodelname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.protobuf.Empty; + +public class SyncDeleteIssueModelIssuemodelname { + + public static void main(String[] args) throws Exception { + syncDeleteIssueModelIssuemodelname(); + } + + public static void syncDeleteIssueModelIssuemodelname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + contactCenterInsightsClient.deleteIssueModelAsync(name).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_issuemodelname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java new file mode 100644 index 00000000..9b91ca2b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.protobuf.Empty; + +public class SyncDeleteIssueModelString { + + public static void main(String[] args) throws Exception { + syncDeleteIssueModelString(); + } + + public static void syncDeleteIssueModelString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); + contactCenterInsightsClient.deleteIssueModelAsync(name).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteissuemodel_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java new file mode 100644 index 00000000..832a508a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; +import com.google.protobuf.Empty; + +public class AsyncDeletePhraseMatcher { + + public static void main(String[] args) throws Exception { + asyncDeletePhraseMatcher(); + } + + public static void asyncDeletePhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeletePhraseMatcherRequest request = + DeletePhraseMatcherRequest.newBuilder() + .setName( + PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.deletePhraseMatcherCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java new file mode 100644 index 00000000..cc30efb0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; +import com.google.protobuf.Empty; + +public class SyncDeletePhraseMatcher { + + public static void main(String[] args) throws Exception { + syncDeletePhraseMatcher(); + } + + public static void syncDeletePhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeletePhraseMatcherRequest request = + DeletePhraseMatcherRequest.newBuilder() + .setName( + PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .build(); + contactCenterInsightsClient.deletePhraseMatcher(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java new file mode 100644 index 00000000..9f5a9d8a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_phrasematchername_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; +import com.google.protobuf.Empty; + +public class SyncDeletePhraseMatcherPhrasematchername { + + public static void main(String[] args) throws Exception { + syncDeletePhraseMatcherPhrasematchername(); + } + + public static void syncDeletePhraseMatcherPhrasematchername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + contactCenterInsightsClient.deletePhraseMatcher(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_phrasematchername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java new file mode 100644 index 00000000..23026b57 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; +import com.google.protobuf.Empty; + +public class SyncDeletePhraseMatcherString { + + public static void main(String[] args) throws Exception { + syncDeletePhraseMatcherString(); + } + + public static void syncDeletePhraseMatcherString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString(); + contactCenterInsightsClient.deletePhraseMatcher(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deletephrasematcher_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java new file mode 100644 index 00000000..6657d5d8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeleteViewRequest; +import com.google.cloud.contactcenterinsights.v1.ViewName; +import com.google.protobuf.Empty; + +public class AsyncDeleteView { + + public static void main(String[] args) throws Exception { + asyncDeleteView(); + } + + public static void asyncDeleteView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteViewRequest request = + DeleteViewRequest.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.deleteViewCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java new file mode 100644 index 00000000..3194ff18 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeleteViewRequest; +import com.google.cloud.contactcenterinsights.v1.ViewName; +import com.google.protobuf.Empty; + +public class SyncDeleteView { + + public static void main(String[] args) throws Exception { + syncDeleteView(); + } + + public static void syncDeleteView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeleteViewRequest request = + DeleteViewRequest.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .build(); + contactCenterInsightsClient.deleteView(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java new file mode 100644 index 00000000..5c212474 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ViewName; +import com.google.protobuf.Empty; + +public class SyncDeleteViewString { + + public static void main(String[] args) throws Exception { + syncDeleteViewString(); + } + + public static void syncDeleteViewString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString(); + contactCenterInsightsClient.deleteView(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java new file mode 100644 index 00000000..b7ddd46f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_viewname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ViewName; +import com.google.protobuf.Empty; + +public class SyncDeleteViewViewname { + + public static void main(String[] args) throws Exception { + syncDeleteViewViewname(); + } + + public static void syncDeleteViewViewname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); + contactCenterInsightsClient.deleteView(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deleteview_viewname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java new file mode 100644 index 00000000..21c10d74 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.longrunning.Operation; + +public class AsyncDeployIssueModel { + + public static void main(String[] args) throws Exception { + asyncDeployIssueModel(); + } + + public static void asyncDeployIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeployIssueModelRequest request = + DeployIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.deployIssueModelCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java new file mode 100644 index 00000000..529e2a03 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class AsyncDeployIssueModelLRO { + + public static void main(String[] args) throws Exception { + asyncDeployIssueModelLRO(); + } + + public static void asyncDeployIssueModelLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeployIssueModelRequest request = + DeployIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + OperationFuture future = + contactCenterInsightsClient.deployIssueModelOperationCallable().futureCall(request); + // Do something. + DeployIssueModelResponse response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java new file mode 100644 index 00000000..4110d0f9 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncDeployIssueModel { + + public static void main(String[] args) throws Exception { + syncDeployIssueModel(); + } + + public static void syncDeployIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + DeployIssueModelRequest request = + DeployIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + DeployIssueModelResponse response = + contactCenterInsightsClient.deployIssueModelAsync(request).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java new file mode 100644 index 00000000..55199671 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_issuemodelname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncDeployIssueModelIssuemodelname { + + public static void main(String[] args) throws Exception { + syncDeployIssueModelIssuemodelname(); + } + + public static void syncDeployIssueModelIssuemodelname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + DeployIssueModelResponse response = + contactCenterInsightsClient.deployIssueModelAsync(name).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_issuemodelname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java new file mode 100644 index 00000000..2de860e6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncDeployIssueModelString { + + public static void main(String[] args) throws Exception { + syncDeployIssueModelString(); + } + + public static void syncDeployIssueModelString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); + DeployIssueModelResponse response = + contactCenterInsightsClient.deployIssueModelAsync(name).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_deployissuemodel_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java new file mode 100644 index 00000000..7b7f4933 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.longrunning.Operation; + +public class AsyncExportInsightsData { + + public static void main(String[] args) throws Exception { + asyncExportInsightsData(); + } + + public static void asyncExportInsightsData() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ExportInsightsDataRequest request = + ExportInsightsDataRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .setKmsKey("kmsKey-1127483058") + .build(); + ApiFuture future = + contactCenterInsightsClient.exportInsightsDataCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java new file mode 100644 index 00000000..24000d01 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class AsyncExportInsightsDataLRO { + + public static void main(String[] args) throws Exception { + asyncExportInsightsDataLRO(); + } + + public static void asyncExportInsightsDataLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ExportInsightsDataRequest request = + ExportInsightsDataRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .setKmsKey("kmsKey-1127483058") + .build(); + OperationFuture future = + contactCenterInsightsClient.exportInsightsDataOperationCallable().futureCall(request); + // Do something. + ExportInsightsDataResponse response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java new file mode 100644 index 00000000..dfa7d643 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncExportInsightsData { + + public static void main(String[] args) throws Exception { + syncExportInsightsData(); + } + + public static void syncExportInsightsData() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ExportInsightsDataRequest request = + ExportInsightsDataRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setFilter("filter-1274492040") + .setKmsKey("kmsKey-1127483058") + .build(); + ExportInsightsDataResponse response = + contactCenterInsightsClient.exportInsightsDataAsync(request).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java new file mode 100644 index 00000000..a2965ffa --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_locationname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncExportInsightsDataLocationname { + + public static void main(String[] args) throws Exception { + syncExportInsightsDataLocationname(); + } + + public static void syncExportInsightsDataLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + ExportInsightsDataResponse response = + contactCenterInsightsClient.exportInsightsDataAsync(parent).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java new file mode 100644 index 00000000..295a86f0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncExportInsightsDataString { + + public static void main(String[] args) throws Exception { + syncExportInsightsDataString(); + } + + public static void syncExportInsightsDataString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + ExportInsightsDataResponse response = + contactCenterInsightsClient.exportInsightsDataAsync(parent).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_exportinsightsdata_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java new file mode 100644 index 00000000..27e86acc --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest; + +public class AsyncGetAnalysis { + + public static void main(String[] args) throws Exception { + asyncGetAnalysis(); + } + + public static void asyncGetAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetAnalysisRequest request = + GetAnalysisRequest.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.getAnalysisCallable().futureCall(request); + // Do something. + Analysis response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java new file mode 100644 index 00000000..74618ef7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest; + +public class SyncGetAnalysis { + + public static void main(String[] args) throws Exception { + syncGetAnalysis(); + } + + public static void syncGetAnalysis() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetAnalysisRequest request = + GetAnalysisRequest.newBuilder() + .setName( + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]") + .toString()) + .build(); + Analysis response = contactCenterInsightsClient.getAnalysis(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java new file mode 100644 index 00000000..7e07d5bc --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_analysisname_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; + +public class SyncGetAnalysisAnalysisname { + + public static void main(String[] args) throws Exception { + syncGetAnalysisAnalysisname(); + } + + public static void syncGetAnalysisAnalysisname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + AnalysisName name = + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]"); + Analysis response = contactCenterInsightsClient.getAnalysis(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_analysisname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java new file mode 100644 index 00000000..ec9993de --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_string_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.AnalysisName; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; + +public class SyncGetAnalysisString { + + public static void main(String[] args) throws Exception { + syncGetAnalysisString(); + } + + public static void syncGetAnalysisString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = + AnalysisName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]", "[ANALYSIS]").toString(); + Analysis response = contactCenterInsightsClient.getAnalysis(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getanalysis_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java new file mode 100644 index 00000000..5e8a030b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.ConversationView; +import com.google.cloud.contactcenterinsights.v1.GetConversationRequest; + +public class AsyncGetConversation { + + public static void main(String[] args) throws Exception { + asyncGetConversation(); + } + + public static void asyncGetConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetConversationRequest request = + GetConversationRequest.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setView(ConversationView.forNumber(0)) + .build(); + ApiFuture future = + contactCenterInsightsClient.getConversationCallable().futureCall(request); + // Do something. + Conversation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java new file mode 100644 index 00000000..3f6adfbb --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.ConversationView; +import com.google.cloud.contactcenterinsights.v1.GetConversationRequest; + +public class SyncGetConversation { + + public static void main(String[] args) throws Exception { + syncGetConversation(); + } + + public static void syncGetConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetConversationRequest request = + GetConversationRequest.newBuilder() + .setName(ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setView(ConversationView.forNumber(0)) + .build(); + Conversation response = contactCenterInsightsClient.getConversation(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java new file mode 100644 index 00000000..ebe724e7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_conversationname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.ConversationName; + +public class SyncGetConversationConversationname { + + public static void main(String[] args) throws Exception { + syncGetConversationConversationname(); + } + + public static void syncGetConversationConversationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ConversationName name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + Conversation response = contactCenterInsightsClient.getConversation(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_conversationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java new file mode 100644 index 00000000..30333dc0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.ConversationName; + +public class SyncGetConversationString { + + public static void main(String[] args) throws Exception { + syncGetConversationString(); + } + + public static void syncGetConversationString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); + Conversation response = contactCenterInsightsClient.getConversation(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getconversation_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java new file mode 100644 index 00000000..a4216efa --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetIssueRequest; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.cloud.contactcenterinsights.v1.IssueName; + +public class AsyncGetIssue { + + public static void main(String[] args) throws Exception { + asyncGetIssue(); + } + + public static void asyncGetIssue() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetIssueRequest request = + GetIssueRequest.newBuilder() + .setName( + IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString()) + .build(); + ApiFuture future = contactCenterInsightsClient.getIssueCallable().futureCall(request); + // Do something. + Issue response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java new file mode 100644 index 00000000..8942fd7d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetIssueRequest; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.cloud.contactcenterinsights.v1.IssueName; + +public class SyncGetIssue { + + public static void main(String[] args) throws Exception { + syncGetIssue(); + } + + public static void syncGetIssue() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetIssueRequest request = + GetIssueRequest.newBuilder() + .setName( + IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString()) + .build(); + Issue response = contactCenterInsightsClient.getIssue(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java new file mode 100644 index 00000000..effbb1ab --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_issuename_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.cloud.contactcenterinsights.v1.IssueName; + +public class SyncGetIssueIssuename { + + public static void main(String[] args) throws Exception { + syncGetIssueIssuename(); + } + + public static void syncGetIssueIssuename() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueName name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]"); + Issue response = contactCenterInsightsClient.getIssue(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_issuename_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java new file mode 100644 index 00000000..6467c72b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.cloud.contactcenterinsights.v1.IssueName; + +public class SyncGetIssueString { + + public static void main(String[] args) throws Exception { + syncGetIssueString(); + } + + public static void syncGetIssueString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString(); + Issue response = contactCenterInsightsClient.getIssue(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissue_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java new file mode 100644 index 00000000..7ba53f30 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class AsyncGetIssueModel { + + public static void main(String[] args) throws Exception { + asyncGetIssueModel(); + } + + public static void asyncGetIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetIssueModelRequest request = + GetIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.getIssueModelCallable().futureCall(request); + // Do something. + IssueModel response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java new file mode 100644 index 00000000..6d9250e7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncGetIssueModel { + + public static void main(String[] args) throws Exception { + syncGetIssueModel(); + } + + public static void syncGetIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetIssueModelRequest request = + GetIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + IssueModel response = contactCenterInsightsClient.getIssueModel(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java new file mode 100644 index 00000000..d56b76a8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_issuemodelname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncGetIssueModelIssuemodelname { + + public static void main(String[] args) throws Exception { + syncGetIssueModelIssuemodelname(); + } + + public static void syncGetIssueModelIssuemodelname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + IssueModel response = contactCenterInsightsClient.getIssueModel(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_issuemodelname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java new file mode 100644 index 00000000..d7d59db2 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; + +public class SyncGetIssueModelString { + + public static void main(String[] args) throws Exception { + syncGetIssueModelString(); + } + + public static void syncGetIssueModelString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); + IssueModel response = contactCenterInsightsClient.getIssueModel(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getissuemodel_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java new file mode 100644 index 00000000..d68e87cb --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; + +public class AsyncGetPhraseMatcher { + + public static void main(String[] args) throws Exception { + asyncGetPhraseMatcher(); + } + + public static void asyncGetPhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetPhraseMatcherRequest request = + GetPhraseMatcherRequest.newBuilder() + .setName( + PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.getPhraseMatcherCallable().futureCall(request); + // Do something. + PhraseMatcher response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java new file mode 100644 index 00000000..35e71f22 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; + +public class SyncGetPhraseMatcher { + + public static void main(String[] args) throws Exception { + syncGetPhraseMatcher(); + } + + public static void syncGetPhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetPhraseMatcherRequest request = + GetPhraseMatcherRequest.newBuilder() + .setName( + PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString()) + .build(); + PhraseMatcher response = contactCenterInsightsClient.getPhraseMatcher(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java new file mode 100644 index 00000000..771045db --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_phrasematchername_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; + +public class SyncGetPhraseMatcherPhrasematchername { + + public static void main(String[] args) throws Exception { + syncGetPhraseMatcherPhrasematchername(); + } + + public static void syncGetPhraseMatcherPhrasematchername() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + PhraseMatcherName name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]"); + PhraseMatcher response = contactCenterInsightsClient.getPhraseMatcher(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_phrasematchername_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java new file mode 100644 index 00000000..fcc379ef --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcherName; + +public class SyncGetPhraseMatcherString { + + public static void main(String[] args) throws Exception { + syncGetPhraseMatcherString(); + } + + public static void syncGetPhraseMatcherString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = PhraseMatcherName.of("[PROJECT]", "[LOCATION]", "[PHRASE_MATCHER]").toString(); + PhraseMatcher response = contactCenterInsightsClient.getPhraseMatcher(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getphrasematcher_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java new file mode 100644 index 00000000..165a0f48 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetSettingsRequest; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.cloud.contactcenterinsights.v1.SettingsName; + +public class AsyncGetSettings { + + public static void main(String[] args) throws Exception { + asyncGetSettings(); + } + + public static void asyncGetSettings() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetSettingsRequest request = + GetSettingsRequest.newBuilder() + .setName(SettingsName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.getSettingsCallable().futureCall(request); + // Do something. + Settings response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java new file mode 100644 index 00000000..80752b00 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetSettingsRequest; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.cloud.contactcenterinsights.v1.SettingsName; + +public class SyncGetSettings { + + public static void main(String[] args) throws Exception { + syncGetSettings(); + } + + public static void syncGetSettings() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetSettingsRequest request = + GetSettingsRequest.newBuilder() + .setName(SettingsName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + Settings response = contactCenterInsightsClient.getSettings(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java new file mode 100644 index 00000000..a9ac49ee --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_settingsname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.cloud.contactcenterinsights.v1.SettingsName; + +public class SyncGetSettingsSettingsname { + + public static void main(String[] args) throws Exception { + syncGetSettingsSettingsname(); + } + + public static void syncGetSettingsSettingsname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + SettingsName name = SettingsName.of("[PROJECT]", "[LOCATION]"); + Settings response = contactCenterInsightsClient.getSettings(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_settingsname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java new file mode 100644 index 00000000..3d85c6ee --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.cloud.contactcenterinsights.v1.SettingsName; + +public class SyncGetSettingsString { + + public static void main(String[] args) throws Exception { + syncGetSettingsString(); + } + + public static void syncGetSettingsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = SettingsName.of("[PROJECT]", "[LOCATION]").toString(); + Settings response = contactCenterInsightsClient.getSettings(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getsettings_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java new file mode 100644 index 00000000..823f353e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetViewRequest; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.cloud.contactcenterinsights.v1.ViewName; + +public class AsyncGetView { + + public static void main(String[] args) throws Exception { + asyncGetView(); + } + + public static void asyncGetView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetViewRequest request = + GetViewRequest.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .build(); + ApiFuture future = contactCenterInsightsClient.getViewCallable().futureCall(request); + // Do something. + View response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java new file mode 100644 index 00000000..7382b76b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.GetViewRequest; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.cloud.contactcenterinsights.v1.ViewName; + +public class SyncGetView { + + public static void main(String[] args) throws Exception { + syncGetView(); + } + + public static void syncGetView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + GetViewRequest request = + GetViewRequest.newBuilder() + .setName(ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString()) + .build(); + View response = contactCenterInsightsClient.getView(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java new file mode 100644 index 00000000..7e4135e6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.cloud.contactcenterinsights.v1.ViewName; + +public class SyncGetViewString { + + public static void main(String[] args) throws Exception { + syncGetViewString(); + } + + public static void syncGetViewString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]").toString(); + View response = contactCenterInsightsClient.getView(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java new file mode 100644 index 00000000..8cdfe476 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_viewname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.cloud.contactcenterinsights.v1.ViewName; + +public class SyncGetViewViewname { + + public static void main(String[] args) throws Exception { + syncGetViewViewname(); + } + + public static void syncGetViewViewname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ViewName name = ViewName.of("[PROJECT]", "[LOCATION]", "[VIEW]"); + View response = contactCenterInsightsClient.getView(name); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_getview_viewname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java new file mode 100644 index 00000000..d585a551 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java @@ -0,0 +1,54 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest; + +public class AsyncListAnalyses { + + public static void main(String[] args) throws Exception { + asyncListAnalyses(); + } + + public static void asyncListAnalyses() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListAnalysesRequest request = + ListAnalysesRequest.newBuilder() + .setParent( + ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + ApiFuture future = + contactCenterInsightsClient.listAnalysesPagedCallable().futureCall(request); + // Do something. + for (Analysis element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java new file mode 100644 index 00000000..15c5ab0f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java @@ -0,0 +1,62 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_paged_async] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest; +import com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse; +import com.google.common.base.Strings; + +public class AsyncListAnalysesPaged { + + public static void main(String[] args) throws Exception { + asyncListAnalysesPaged(); + } + + public static void asyncListAnalysesPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListAnalysesRequest request = + ListAnalysesRequest.newBuilder() + .setParent( + ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + while (true) { + ListAnalysesResponse response = + contactCenterInsightsClient.listAnalysesCallable().call(request); + for (Analysis element : response.getAnalysesList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java new file mode 100644 index 00000000..a98b015e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; +import com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest; + +public class SyncListAnalyses { + + public static void main(String[] args) throws Exception { + syncListAnalyses(); + } + + public static void syncListAnalyses() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListAnalysesRequest request = + ListAnalysesRequest.newBuilder() + .setParent( + ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + for (Analysis element : contactCenterInsightsClient.listAnalyses(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java new file mode 100644 index 00000000..fd5e75ef --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_conversationname_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; + +public class SyncListAnalysesConversationname { + + public static void main(String[] args) throws Exception { + syncListAnalysesConversationname(); + } + + public static void syncListAnalysesConversationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ConversationName parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]"); + for (Analysis element : contactCenterInsightsClient.listAnalyses(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_conversationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java new file mode 100644 index 00000000..a34dd93b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_string_sync] +import com.google.cloud.contactcenterinsights.v1.Analysis; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ConversationName; + +public class SyncListAnalysesString { + + public static void main(String[] args) throws Exception { + syncListAnalysesString(); + } + + public static void syncListAnalysesString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = ConversationName.of("[PROJECT]", "[LOCATION]", "[CONVERSATION]").toString(); + for (Analysis element : contactCenterInsightsClient.listAnalyses(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listanalyses_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java new file mode 100644 index 00000000..c55a5c14 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java @@ -0,0 +1,55 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.ConversationView; +import com.google.cloud.contactcenterinsights.v1.ListConversationsRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class AsyncListConversations { + + public static void main(String[] args) throws Exception { + asyncListConversations(); + } + + public static void asyncListConversations() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .setView(ConversationView.forNumber(0)) + .build(); + ApiFuture future = + contactCenterInsightsClient.listConversationsPagedCallable().futureCall(request); + // Do something. + for (Conversation element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java new file mode 100644 index 00000000..690a3a58 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java @@ -0,0 +1,63 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_paged_async] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.ConversationView; +import com.google.cloud.contactcenterinsights.v1.ListConversationsRequest; +import com.google.cloud.contactcenterinsights.v1.ListConversationsResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.common.base.Strings; + +public class AsyncListConversationsPaged { + + public static void main(String[] args) throws Exception { + asyncListConversationsPaged(); + } + + public static void asyncListConversationsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .setView(ConversationView.forNumber(0)) + .build(); + while (true) { + ListConversationsResponse response = + contactCenterInsightsClient.listConversationsCallable().call(request); + for (Conversation element : response.getConversationsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java new file mode 100644 index 00000000..6a55fcd0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.ConversationView; +import com.google.cloud.contactcenterinsights.v1.ListConversationsRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncListConversations { + + public static void main(String[] args) throws Exception { + syncListConversations(); + } + + public static void syncListConversations() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListConversationsRequest request = + ListConversationsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .setView(ConversationView.forNumber(0)) + .build(); + for (Conversation element : + contactCenterInsightsClient.listConversations(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java new file mode 100644 index 00000000..51dfa05a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_locationname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncListConversationsLocationname { + + public static void main(String[] args) throws Exception { + syncListConversationsLocationname(); + } + + public static void syncListConversationsLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (Conversation element : + contactCenterInsightsClient.listConversations(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java new file mode 100644 index 00000000..fd662f4d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncListConversationsString { + + public static void main(String[] args) throws Exception { + syncListConversationsString(); + } + + public static void syncListConversationsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (Conversation element : + contactCenterInsightsClient.listConversations(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listconversations_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java new file mode 100644 index 00000000..2611f64d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class AsyncListIssueModels { + + public static void main(String[] args) throws Exception { + asyncListIssueModels(); + } + + public static void asyncListIssueModels() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListIssueModelsRequest request = + ListIssueModelsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.listIssueModelsCallable().futureCall(request); + // Do something. + ListIssueModelsResponse response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java new file mode 100644 index 00000000..227d5666 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncListIssueModels { + + public static void main(String[] args) throws Exception { + syncListIssueModels(); + } + + public static void syncListIssueModels() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListIssueModelsRequest request = + ListIssueModelsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .build(); + ListIssueModelsResponse response = contactCenterInsightsClient.listIssueModels(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java new file mode 100644 index 00000000..786fc871 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_locationname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncListIssueModelsLocationname { + + public static void main(String[] args) throws Exception { + syncListIssueModelsLocationname(); + } + + public static void syncListIssueModelsLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + ListIssueModelsResponse response = contactCenterInsightsClient.listIssueModels(parent); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java new file mode 100644 index 00000000..5f144874 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; + +public class SyncListIssueModelsString { + + public static void main(String[] args) throws Exception { + syncListIssueModelsString(); + } + + public static void syncListIssueModelsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + ListIssueModelsResponse response = contactCenterInsightsClient.listIssueModels(parent); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissuemodels_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java new file mode 100644 index 00000000..94df676e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.ListIssuesRequest; +import com.google.cloud.contactcenterinsights.v1.ListIssuesResponse; + +public class AsyncListIssues { + + public static void main(String[] args) throws Exception { + asyncListIssues(); + } + + public static void asyncListIssues() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListIssuesRequest request = + ListIssuesRequest.newBuilder() + .setParent(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.listIssuesCallable().futureCall(request); + // Do something. + ListIssuesResponse response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java new file mode 100644 index 00000000..0e050f3b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.ListIssuesRequest; +import com.google.cloud.contactcenterinsights.v1.ListIssuesResponse; + +public class SyncListIssues { + + public static void main(String[] args) throws Exception { + syncListIssues(); + } + + public static void syncListIssues() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListIssuesRequest request = + ListIssuesRequest.newBuilder() + .setParent(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + ListIssuesResponse response = contactCenterInsightsClient.listIssues(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java new file mode 100644 index 00000000..e7ebab64 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_issuemodelname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.ListIssuesResponse; + +public class SyncListIssuesIssuemodelname { + + public static void main(String[] args) throws Exception { + syncListIssuesIssuemodelname(); + } + + public static void syncListIssuesIssuemodelname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueModelName parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + ListIssuesResponse response = contactCenterInsightsClient.listIssues(parent); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_issuemodelname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java new file mode 100644 index 00000000..aff28bcc --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.ListIssuesResponse; + +public class SyncListIssuesString { + + public static void main(String[] args) throws Exception { + syncListIssuesString(); + } + + public static void syncListIssuesString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); + ListIssuesResponse response = contactCenterInsightsClient.listIssues(parent); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listissues_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java new file mode 100644 index 00000000..f177cd78 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java @@ -0,0 +1,53 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class AsyncListPhraseMatchers { + + public static void main(String[] args) throws Exception { + asyncListPhraseMatchers(); + } + + public static void asyncListPhraseMatchers() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListPhraseMatchersRequest request = + ListPhraseMatchersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + ApiFuture future = + contactCenterInsightsClient.listPhraseMatchersPagedCallable().futureCall(request); + // Do something. + for (PhraseMatcher element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java new file mode 100644 index 00000000..295830f0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java @@ -0,0 +1,61 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_paged_async] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest; +import com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.common.base.Strings; + +public class AsyncListPhraseMatchersPaged { + + public static void main(String[] args) throws Exception { + asyncListPhraseMatchersPaged(); + } + + public static void asyncListPhraseMatchersPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListPhraseMatchersRequest request = + ListPhraseMatchersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + while (true) { + ListPhraseMatchersResponse response = + contactCenterInsightsClient.listPhraseMatchersCallable().call(request); + for (PhraseMatcher element : response.getPhraseMatchersList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java new file mode 100644 index 00000000..513fc40e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class SyncListPhraseMatchers { + + public static void main(String[] args) throws Exception { + syncListPhraseMatchers(); + } + + public static void syncListPhraseMatchers() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListPhraseMatchersRequest request = + ListPhraseMatchersRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + for (PhraseMatcher element : + contactCenterInsightsClient.listPhraseMatchers(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java new file mode 100644 index 00000000..0c812f8c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_locationname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class SyncListPhraseMatchersLocationname { + + public static void main(String[] args) throws Exception { + syncListPhraseMatchersLocationname(); + } + + public static void syncListPhraseMatchersLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (PhraseMatcher element : + contactCenterInsightsClient.listPhraseMatchers(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java new file mode 100644 index 00000000..30b418ce --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; + +public class SyncListPhraseMatchersString { + + public static void main(String[] args) throws Exception { + syncListPhraseMatchersString(); + } + + public static void syncListPhraseMatchersString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (PhraseMatcher element : + contactCenterInsightsClient.listPhraseMatchers(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listphrasematchers_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java new file mode 100644 index 00000000..b942fbb6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java @@ -0,0 +1,52 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListViewsRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class AsyncListViews { + + public static void main(String[] args) throws Exception { + asyncListViews(); + } + + public static void asyncListViews() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListViewsRequest request = + ListViewsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + contactCenterInsightsClient.listViewsPagedCallable().futureCall(request); + // Do something. + for (View element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java new file mode 100644 index 00000000..c93e749f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_paged_async] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListViewsRequest; +import com.google.cloud.contactcenterinsights.v1.ListViewsResponse; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.common.base.Strings; + +public class AsyncListViewsPaged { + + public static void main(String[] args) throws Exception { + asyncListViewsPaged(); + } + + public static void asyncListViewsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListViewsRequest request = + ListViewsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListViewsResponse response = contactCenterInsightsClient.listViewsCallable().call(request); + for (View element : response.getViewsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java new file mode 100644 index 00000000..2b3351bd --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.ListViewsRequest; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class SyncListViews { + + public static void main(String[] args) throws Exception { + syncListViews(); + } + + public static void syncListViews() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + ListViewsRequest request = + ListViewsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (View element : contactCenterInsightsClient.listViews(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java new file mode 100644 index 00000000..f0909ada --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_locationname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class SyncListViewsLocationname { + + public static void main(String[] args) throws Exception { + syncListViewsLocationname(); + } + + public static void syncListViewsLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (View element : contactCenterInsightsClient.listViews(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java new file mode 100644 index 00000000..6cf32cb8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.LocationName; +import com.google.cloud.contactcenterinsights.v1.View; + +public class SyncListViewsString { + + public static void main(String[] args) throws Exception { + syncListViewsString(); + } + + public static void syncListViewsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (View element : contactCenterInsightsClient.listViews(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_listviews_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java new file mode 100644 index 00000000..0ae3db00 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest; +import com.google.longrunning.Operation; + +public class AsyncUndeployIssueModel { + + public static void main(String[] args) throws Exception { + asyncUndeployIssueModel(); + } + + public static void asyncUndeployIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UndeployIssueModelRequest request = + UndeployIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + ApiFuture future = + contactCenterInsightsClient.undeployIssueModelCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java new file mode 100644 index 00000000..e9483063 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_lro_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse; + +public class AsyncUndeployIssueModelLRO { + + public static void main(String[] args) throws Exception { + asyncUndeployIssueModelLRO(); + } + + public static void asyncUndeployIssueModelLRO() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UndeployIssueModelRequest request = + UndeployIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + OperationFuture future = + contactCenterInsightsClient.undeployIssueModelOperationCallable().futureCall(request); + // Do something. + UndeployIssueModelResponse response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_lro_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java new file mode 100644 index 00000000..538ff053 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse; + +public class SyncUndeployIssueModel { + + public static void main(String[] args) throws Exception { + syncUndeployIssueModel(); + } + + public static void syncUndeployIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UndeployIssueModelRequest request = + UndeployIssueModelRequest.newBuilder() + .setName(IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString()) + .build(); + UndeployIssueModelResponse response = + contactCenterInsightsClient.undeployIssueModelAsync(request).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java new file mode 100644 index 00000000..96f76a0a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_issuemodelname_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse; + +public class SyncUndeployIssueModelIssuemodelname { + + public static void main(String[] args) throws Exception { + syncUndeployIssueModelIssuemodelname(); + } + + public static void syncUndeployIssueModelIssuemodelname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueModelName name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]"); + UndeployIssueModelResponse response = + contactCenterInsightsClient.undeployIssueModelAsync(name).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_issuemodelname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java new file mode 100644 index 00000000..e6b6ccc2 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_string_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModelName; +import com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse; + +public class SyncUndeployIssueModelString { + + public static void main(String[] args) throws Exception { + syncUndeployIssueModelString(); + } + + public static void syncUndeployIssueModelString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + String name = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString(); + UndeployIssueModelResponse response = + contactCenterInsightsClient.undeployIssueModelAsync(name).get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_undeployissuemodel_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java new file mode 100644 index 00000000..3e58ef6d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateconversation_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateConversation { + + public static void main(String[] args) throws Exception { + asyncUpdateConversation(); + } + + public static void asyncUpdateConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateConversationRequest request = + UpdateConversationRequest.newBuilder() + .setConversation(Conversation.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.updateConversationCallable().futureCall(request); + // Do something. + Conversation response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateconversation_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java new file mode 100644 index 00000000..ec264ef2 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateconversation_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateConversation { + + public static void main(String[] args) throws Exception { + syncUpdateConversation(); + } + + public static void syncUpdateConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateConversationRequest request = + UpdateConversationRequest.newBuilder() + .setConversation(Conversation.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Conversation response = contactCenterInsightsClient.updateConversation(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateconversation_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java new file mode 100644 index 00000000..b6b447b3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateconversation_conversationfieldmask_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Conversation; +import com.google.protobuf.FieldMask; + +public class SyncUpdateConversationConversationFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateConversationConversationFieldmask(); + } + + public static void syncUpdateConversationConversationFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + Conversation conversation = Conversation.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Conversation response = + contactCenterInsightsClient.updateConversation(conversation, updateMask); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateconversation_conversationfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java new file mode 100644 index 00000000..7c094dff --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissue_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateIssue { + + public static void main(String[] args) throws Exception { + asyncUpdateIssue(); + } + + public static void asyncUpdateIssue() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateIssueRequest request = + UpdateIssueRequest.newBuilder() + .setIssue(Issue.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.updateIssueCallable().futureCall(request); + // Do something. + Issue response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissue_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java new file mode 100644 index 00000000..68ce20df --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissue_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateIssue { + + public static void main(String[] args) throws Exception { + syncUpdateIssue(); + } + + public static void syncUpdateIssue() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateIssueRequest request = + UpdateIssueRequest.newBuilder() + .setIssue(Issue.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Issue response = contactCenterInsightsClient.updateIssue(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissue_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java new file mode 100644 index 00000000..493ca404 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissue_issuefieldmask_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Issue; +import com.google.protobuf.FieldMask; + +public class SyncUpdateIssueIssueFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateIssueIssueFieldmask(); + } + + public static void syncUpdateIssueIssueFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + Issue issue = Issue.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Issue response = contactCenterInsightsClient.updateIssue(issue, updateMask); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissue_issuefieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java new file mode 100644 index 00000000..d9007ca1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissuemodel_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateIssueModel { + + public static void main(String[] args) throws Exception { + asyncUpdateIssueModel(); + } + + public static void asyncUpdateIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateIssueModelRequest request = + UpdateIssueModelRequest.newBuilder() + .setIssueModel(IssueModel.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.updateIssueModelCallable().futureCall(request); + // Do something. + IssueModel response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissuemodel_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java new file mode 100644 index 00000000..cbec3d5b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissuemodel_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateIssueModel { + + public static void main(String[] args) throws Exception { + syncUpdateIssueModel(); + } + + public static void syncUpdateIssueModel() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateIssueModelRequest request = + UpdateIssueModelRequest.newBuilder() + .setIssueModel(IssueModel.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + IssueModel response = contactCenterInsightsClient.updateIssueModel(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissuemodel_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java new file mode 100644 index 00000000..1352fd03 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissuemodel_issuemodelfieldmask_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.IssueModel; +import com.google.protobuf.FieldMask; + +public class SyncUpdateIssueModelIssuemodelFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateIssueModelIssuemodelFieldmask(); + } + + public static void syncUpdateIssueModelIssuemodelFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + IssueModel issueModel = IssueModel.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + IssueModel response = contactCenterInsightsClient.updateIssueModel(issueModel, updateMask); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateissuemodel_issuemodelfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java new file mode 100644 index 00000000..2e85c761 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updatephrasematcher_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdatePhraseMatcher { + + public static void main(String[] args) throws Exception { + asyncUpdatePhraseMatcher(); + } + + public static void asyncUpdatePhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdatePhraseMatcherRequest request = + UpdatePhraseMatcherRequest.newBuilder() + .setPhraseMatcher(PhraseMatcher.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.updatePhraseMatcherCallable().futureCall(request); + // Do something. + PhraseMatcher response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updatephrasematcher_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java new file mode 100644 index 00000000..6148c733 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updatephrasematcher_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdatePhraseMatcher { + + public static void main(String[] args) throws Exception { + syncUpdatePhraseMatcher(); + } + + public static void syncUpdatePhraseMatcher() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdatePhraseMatcherRequest request = + UpdatePhraseMatcherRequest.newBuilder() + .setPhraseMatcher(PhraseMatcher.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + PhraseMatcher response = contactCenterInsightsClient.updatePhraseMatcher(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updatephrasematcher_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java new file mode 100644 index 00000000..e6d99ffe --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updatephrasematcher_phrasematcherfieldmask_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.PhraseMatcher; +import com.google.protobuf.FieldMask; + +public class SyncUpdatePhraseMatcherPhrasematcherFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdatePhraseMatcherPhrasematcherFieldmask(); + } + + public static void syncUpdatePhraseMatcherPhrasematcherFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + PhraseMatcher phraseMatcher = PhraseMatcher.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + PhraseMatcher response = + contactCenterInsightsClient.updatePhraseMatcher(phraseMatcher, updateMask); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updatephrasematcher_phrasematcherfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java new file mode 100644 index 00000000..eaafbbf7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updatesettings_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateSettings { + + public static void main(String[] args) throws Exception { + asyncUpdateSettings(); + } + + public static void asyncUpdateSettings() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateSettingsRequest request = + UpdateSettingsRequest.newBuilder() + .setSettings(Settings.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = + contactCenterInsightsClient.updateSettingsCallable().futureCall(request); + // Do something. + Settings response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updatesettings_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java new file mode 100644 index 00000000..75a294c8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updatesettings_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateSettings { + + public static void main(String[] args) throws Exception { + syncUpdateSettings(); + } + + public static void syncUpdateSettings() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateSettingsRequest request = + UpdateSettingsRequest.newBuilder() + .setSettings(Settings.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Settings response = contactCenterInsightsClient.updateSettings(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updatesettings_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java new file mode 100644 index 00000000..3d8a1c62 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updatesettings_settingsfieldmask_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.Settings; +import com.google.protobuf.FieldMask; + +public class SyncUpdateSettingsSettingsFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateSettingsSettingsFieldmask(); + } + + public static void syncUpdateSettingsSettingsFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + Settings settings = Settings.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Settings response = contactCenterInsightsClient.updateSettings(settings, updateMask); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updatesettings_settingsfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java new file mode 100644 index 00000000..70683b6e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java @@ -0,0 +1,48 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateview_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.UpdateViewRequest; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateView { + + public static void main(String[] args) throws Exception { + asyncUpdateView(); + } + + public static void asyncUpdateView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateViewRequest request = + UpdateViewRequest.newBuilder() + .setView(View.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = contactCenterInsightsClient.updateViewCallable().futureCall(request); + // Do something. + View response = future.get(); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateview_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java new file mode 100644 index 00000000..5d42d717 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateview_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.UpdateViewRequest; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.protobuf.FieldMask; + +public class SyncUpdateView { + + public static void main(String[] args) throws Exception { + syncUpdateView(); + } + + public static void syncUpdateView() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + UpdateViewRequest request = + UpdateViewRequest.newBuilder() + .setView(View.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + View response = contactCenterInsightsClient.updateView(request); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateview_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java new file mode 100644 index 00000000..8a5a8036 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsclient_updateview_viewfieldmask_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClient; +import com.google.cloud.contactcenterinsights.v1.View; +import com.google.protobuf.FieldMask; + +public class SyncUpdateViewViewFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateViewViewFieldmask(); + } + + public static void syncUpdateViewViewFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (ContactCenterInsightsClient contactCenterInsightsClient = + ContactCenterInsightsClient.create()) { + View view = View.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + View response = contactCenterInsightsClient.updateView(view, updateMask); + } + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsclient_updateview_viewfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java new file mode 100644 index 00000000..ff83e77d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightssettings_createconversation_sync] +import com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsSettings; +import java.time.Duration; + +public class SyncCreateConversation { + + public static void main(String[] args) throws Exception { + syncCreateConversation(); + } + + public static void syncCreateConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ContactCenterInsightsSettings.Builder contactCenterInsightsSettingsBuilder = + ContactCenterInsightsSettings.newBuilder(); + contactCenterInsightsSettingsBuilder + .createConversationSettings() + .setRetrySettings( + contactCenterInsightsSettingsBuilder + .createConversationSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ContactCenterInsightsSettings contactCenterInsightsSettings = + contactCenterInsightsSettingsBuilder.build(); + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightssettings_createconversation_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java new file mode 100644 index 00000000..2ad5bfe8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.stub.samples; + +// [START contactcenterinsights_v1_generated_contactcenterinsightsstubsettings_createconversation_sync] +import com.google.cloud.contactcenterinsights.v1.stub.ContactCenterInsightsStubSettings; +import java.time.Duration; + +public class SyncCreateConversation { + + public static void main(String[] args) throws Exception { + syncCreateConversation(); + } + + public static void syncCreateConversation() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + ContactCenterInsightsStubSettings.Builder contactCenterInsightsSettingsBuilder = + ContactCenterInsightsStubSettings.newBuilder(); + contactCenterInsightsSettingsBuilder + .createConversationSettings() + .setRetrySettings( + contactCenterInsightsSettingsBuilder + .createConversationSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + ContactCenterInsightsStubSettings contactCenterInsightsSettings = + contactCenterInsightsSettingsBuilder.build(); + } +} +// [END contactcenterinsights_v1_generated_contactcenterinsightsstubsettings_createconversation_sync] diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java deleted file mode 100644 index a68d1613..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java deleted file mode 100644 index 862e719f..00000000 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java +++ /dev/null @@ -1,1213 +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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" - + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" - + "leapis.com/Location\022N\n\014conversation\030\002 \001(" - + "\01323.google.cloud.contactcenterinsights.v" - + "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" - + " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" - + "ent\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.contactcenterinsights.v" - + "1.ConversationView\"\200\001\n\031ListConversations" - + "Response\022J\n\rconversations\030\001 \003(\01323.google" - + ".cloud.contactcenterinsights.v1.Conversa" - + "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" - + "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" - + "contactcenterinsights.googleapis.com/Con" - + "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" - + "ontactcenterinsights.v1.ConversationView" - + "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" - + "sation\030\001 \001(\01323.google.cloud.contactcente" - + "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" - + "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" - + "(\tB9\340A\002\372A3\n1contactcenterinsights.google" - + "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" - + "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" - + "\340A\002\372A3\n1contactcenterinsights.googleapis" - + ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" - + "ogle.cloud.contactcenterinsights.v1.Anal" - + "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" - + "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" - + ".googleapis.com/Conversation\022\021\n\tpage_siz" - + "e\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.contactcenterinsigh" - + "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" - + "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" - + "\372A/\n-contactcenterinsights.googleapis.co" - + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" - + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" - + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" - + "htsDataRequest\022u\n\025big_query_destination\030" - + "\002 \001(\0132T.google.cloud.contactcenterinsigh" - + "ts.v1.ExportInsightsDataRequest.BigQuery" - + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" - + "ocations.googleapis.com/Location\022\016\n\006filt" - + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" - + "sition\030\005 \001(\0162Q.google.cloud.contactcente" - + "rinsights.v1.ExportInsightsDataRequest.W" - + "riteDisposition\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\035W" - + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" - + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" - + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" - + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" - + "oogle.cloud.contactcenterinsights.v1.Exp" - + "ortInsightsDataRequest\022*\n\016partial_errors" - + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" - + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" - + "uest\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.contactcenterinsight" - + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" - + "lMetadata\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\022O\n\007re" - + "quest\030\003 \001(\0132>.google.cloud.contactcenter" - + "insights.v1.CreateIssueModelRequest\"\227\001\n\027" - + "UpdateIssueModelRequest\022K\n\013issue_model\030\001" - + " \001(\01321.google.cloud.contactcenterinsight" - + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" - + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" - + "!locations.googleapis.com/Location\"b\n\027Li" - + "stIssueModelsResponse\022G\n\014issue_models\030\001 " - + "\003(\01321.google.cloud.contactcenterinsights" - + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" - + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" - + "hts.googleapis.com/IssueModel\"`\n\027DeleteI" - + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" - + "contactcenterinsights.googleapis.com/Iss" - + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" - + "create_time\030\001 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" - + ".google.cloud.contactcenterinsights.v1.D" - + "eleteIssueModelRequest\"`\n\027DeployIssueMod" - + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" - + "centerinsights.googleapis.com/IssueModel" - + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" - + "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" - + "ctcenterinsights.v1.DeployIssueModelRequ" - + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" - + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" - + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" - + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" - + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" - + "\030\003 \001(\0132@.google.cloud.contactcenterinsig" - + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" - + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" - + "ctcenterinsights.googleapis.com/Issue\"\\\n" - + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" - + "A1\n/contactcenterinsights.googleapis.com" - + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" - + "ues\030\001 \003(\0132,.google.cloud.contactcenterin" - + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" - + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" - + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" - + "culateIssueModelStatsRequest\022L\n\013issue_mo" - + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" - + ".googleapis.com/IssueModel\"v\n CalculateI" - + "ssueModelStatsResponse\022R\n\rcurrent_stats\030" - + "\004 \001(\0132;.google.cloud.contactcenterinsigh" - + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" - + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" - + "#\n!locations.googleapis.com/Location\022Q\n\016" - + "phrase_matcher\030\002 \001(\01324.google.cloud.cont" - + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" - + "\215\001\n\031ListPhraseMatchersRequest\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_toke" - + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" - + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" - + "4.google.cloud.contactcenterinsights.v1." - + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" - + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" - + ":\340A\002\372A4\n2contactcenterinsights.googleapi" - + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" - + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" - + "centerinsights.googleapis.com/PhraseMatc" - + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" - + "rase_matcher\030\001 \001(\01324.google.cloud.contac" - + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" - + "(\tB5\340A\002\372A/\n-contactcenterinsights.google" - + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" - + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" - + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" - + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" - + "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" - + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" - + "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." - + "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" - + "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" - + "actcenterinsights.googleapis.com/View\"t\n" - + "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" - + "#\n!locations.googleapis.com/Location\022\021\n\t" - + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" - + "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" - + ".cloud.contactcenterinsights.v1.View\022\027\n\017" - + "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" - + "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" - + "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" - + "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" - + ")contactcenterinsights.googleapis.com/Vi" - + "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" - + "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" - + ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" - + "rsation\022@.google.cloud.contactcenterinsi" - + "ghts.v1.CreateConversationRequest\0323.goog" - + "le.cloud.contactcenterinsights.v1.Conver" - + "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" - + "ocations/*}/conversations:\014conversation\332" - + "A#parent,conversation,conversation_id\022\374\001" - + "\n\022UpdateConversation\022@.google.cloud.cont" - + "actcenterinsights.v1.UpdateConversationR" - + "equest\0323.google.cloud.contactcenterinsig" - + "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" - + "sation.name=projects/*/locations/*/conve" - + "rsations/*}:\014conversation\332A\030conversation" - + ",update_mask\022\307\001\n\017GetConversation\022=.googl" - + "e.cloud.contactcenterinsights.v1.GetConv" - + "ersationRequest\0323.google.cloud.contactce" - + "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" - + "1/{name=projects/*/locations/*/conversat" - + "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" - + "oogle.cloud.contactcenterinsights.v1.Lis" - + "tConversationsRequest\032@.google.cloud.con" - + "tactcenterinsights.v1.ListConversationsR" - + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" - + "locations/*}/conversations\332A\006parent\022\260\001\n\022" - + "DeleteConversation\022@.google.cloud.contac" - + "tcenterinsights.v1.DeleteConversationReq" - + "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" - + "1/{name=projects/*/locations/*/conversat" - + "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" - + "le.cloud.contactcenterinsights.v1.Create" - + "AnalysisRequest\032\035.google.longrunning.Ope" - + "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" - + "loud.contactcenterinsights.v1.CreateIssu" - + "eModelRequest\032\035.google.longrunning.Opera" - + "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" - + "cations/*}/issueModels:\013issue_model\332A\022pa" - + "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" - + "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" - + ".google.cloud.contactcenterinsights.v1.U" - + "pdateIssueModelRequest\0321.google.cloud.co" - + "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" - + "J2;/v1/{issue_model.name=projects/*/loca" - + "tions/*/issueModels/*}:\013issue_model\332A\027is" - + "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" - + ";.google.cloud.contactcenterinsights.v1." - + "GetIssueModelRequest\0321.google.cloud.cont" - + "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" - + "//v1/{name=projects/*/locations/*/issueM" - + "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" - + "ogle.cloud.contactcenterinsights.v1.List" - + "IssueModelsRequest\032>.google.cloud.contac" - + "tcenterinsights.v1.ListIssueModelsRespon" - + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" - + "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" - + "ssueModel\022>.google.cloud.contactcenterin" - + "sights.v1.DeleteIssueModelRequest\032\035.goog" - + "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" - + "ame=projects/*/locations/*/issueModels/*" - + "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" - + "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" - + "l\022>.google.cloud.contactcenterinsights.v" - + "1.DeployIssueModelRequest\032\035.google.longr" - + "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" - + "ects/*/locations/*/issueModels/*}:deploy" - + ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" - + "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" - + "sueModel\022@.google.cloud.contactcenterins" - + "ights.v1.UndeployIssueModelRequest\032\035.goo" - + "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" - + "{name=projects/*/locations/*/issueModels" - + "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" - + "ModelResponse\022\032UndeployIssueModelMetadat" - + "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" - + "terinsights.v1.GetIssueRequest\032,.google." - + "cloud.contactcenterinsights.v1.Issue\"G\202\323" - + "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" - + "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" - + "sues\0228.google.cloud.contactcenterinsight" - + "s.v1.ListIssuesRequest\0329.google.cloud.co" - + "ntactcenterinsights.v1.ListIssuesRespons" - + "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" - + "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" - + "\013UpdateIssue\0229.google.cloud.contactcente" - + "rinsights.v1.UpdateIssueRequest\032,.google" - + ".cloud.contactcenterinsights.v1.Issue\"a\202" - + "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" - + "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" - + "ssue,update_mask\022\222\002\n\030CalculateIssueModel" - + "Stats\022F.google.cloud.contactcenterinsigh" - + "ts.v1.CalculateIssueModelStatsRequest\032G." - + "google.cloud.contactcenterinsights.v1.Ca" - + "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" - + "/v1/{issue_model=projects/*/locations/*/" - + "issueModels/*}:calculateIssueModelStats\332" - + "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." - + "google.cloud.contactcenterinsights.v1.Cr" - + "eatePhraseMatcherRequest\0324.google.cloud." - + "contactcenterinsights.v1.PhraseMatcher\"b" - + "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" - + "/*}/phraseMatchers:\016phrase_matcher\332A\025par" - + "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" - + ">.google.cloud.contactcenterinsights.v1." - + "GetPhraseMatcherRequest\0324.google.cloud.c" - + "ontactcenterinsights.v1.PhraseMatcher\"A\202" - + "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" - + "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" - + "atchers\022@.google.cloud.contactcenterinsi" - + "ghts.v1.ListPhraseMatchersRequest\032A.goog" - + "le.cloud.contactcenterinsights.v1.ListPh" - + "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" - + "t=projects/*/locations/*}/phraseMatchers" - + "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" - + "le.cloud.contactcenterinsights.v1.Delete" - + "PhraseMatcherRequest\032\026.google.protobuf.E" - + "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" - + "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" - + "tePhraseMatcher\022A.google.cloud.contactce" - + "nterinsights.v1.UpdatePhraseMatcherReque" - + "st\0324.google.cloud.contactcenterinsights." - + "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" - + "tcher.name=projects/*/locations/*/phrase" - + "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" - + "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" - + "ogle.cloud.contactcenterinsights.v1.Calc" - + "ulateStatsRequest\032=.google.cloud.contact" - + "centerinsights.v1.CalculateStatsResponse" - + "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" - + "ions/*}/conversations:calculateStats\332A\010l" - + "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" - + "ontactcenterinsights.v1.GetSettingsReque" - + "st\032/.google.cloud.contactcenterinsights." - + "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" - + "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" - + "eSettings\022<.google.cloud.contactcenterin" - + "sights.v1.UpdateSettingsRequest\032/.google" - + ".cloud.contactcenterinsights.v1.Settings" - + "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" - + "locations/*/settings}:\010settings\332A\024settin" - + "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" - + "loud.contactcenterinsights.v1.CreateView" - + "Request\032+.google.cloud.contactcenterinsi" - + "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" - + "ts/*/locations/*}/views:\004view\332A\013parent,v" - + "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" - + "nterinsights.v1.GetViewRequest\032+.google." - + "cloud.contactcenterinsights.v1.View\"8\202\323\344" - + "\223\002+\022)/v1/{name=projects/*/locations/*/vi" - + "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" - + "ud.contactcenterinsights.v1.ListViewsReq" - + "uest\0328.google.cloud.contactcenterinsight" - + "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" - + "ent=projects/*/locations/*}/views\332A\006pare" - + "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" - + "centerinsights.v1.UpdateViewRequest\032+.go" - + "ogle.cloud.contactcenterinsights.v1.View", - "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" - + "tions/*/views/*}:\004view\332A\020view,update_mas" - + "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" - + "enterinsights.v1.DeleteViewRequest\032\026.goo" - + "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" - + "ojects/*/locations/*/views/*}\332A\004name\032X\312A" - + "$contactcenterinsights.googleapis.com\322A." - + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\240\002\n)com.google.cloud.contactcente" - + "rinsights.v1B\032ContactCenterInsightsProto" - + "P\001ZZgoogle.golang.org/genproto/googleapi" - + "s/cloud/contactcenterinsights/v1;contact" - + "centerinsights\252\002%Google.Cloud.ContactCen" - + "terInsights.V1\312\002%Google\\Cloud\\ContactCen" - + "terInsights\\V1\352\002(Google::Cloud::ContactC" - + "enterInsights::V1b\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", - }); - 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_CreateAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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_ExportInsightsDataRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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_CalculateIssueModelStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - 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(36); - 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(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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(42); - 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(43); - 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(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java deleted file mode 100644 index 166e25b1..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java deleted file mode 100644 index 6c61b4ce..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java deleted file mode 100644 index 8c33f3c2..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java deleted file mode 100644 index d121cf71..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java deleted file mode 100644 index d4812a9a..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java deleted file mode 100644 index 35dd3830..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java deleted file mode 100644 index 9ab179f3..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 6fab3448..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java deleted file mode 100644 index d4bc280e..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java deleted file mode 100644 index 4a9de6f7..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java deleted file mode 100644 index 5afadfff..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java deleted file mode 100644 index b69f2c25..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java deleted file mode 100644 index 42725fd8..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java deleted file mode 100644 index 9043ad09..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java deleted file mode 100644 index 5b064a2b..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java deleted file mode 100644 index b5952af1..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java deleted file mode 100644 index 64f2b37d..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java deleted file mode 100644 index 77fe8abe..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java deleted file mode 100644 index e993a049..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java deleted file mode 100644 index 094a4e12..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java deleted file mode 100644 index 72971003..00000000 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java +++ /dev/null @@ -1,128 +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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java deleted file mode 100644 index 30697135..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java deleted file mode 100644 index 3585c15e..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java deleted file mode 100644 index 62e92f3f..00000000 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java +++ /dev/null @@ -1,1244 +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_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; - - 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." - + "googleapis.com/Analysis\022Xprojects/{proje" - + "ct}/locations/{location}/conversations/{" - + "conversation}/analyses/{analysis}\"\300\001\n\026Co" - + "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" - + "20.google.cloud.contactcenterinsights.v1" - + ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" - + "7.google.cloud.contactcenterinsights.v1." - + "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" - + "e\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\027dialogf" - + "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" - + "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" - + "is_metadata\030\002 \001(\0132J.google.cloud.contact" - + "centerinsights.v1.AnalysisResult.CallAna" - + "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" - + "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" - + "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" - + "ud.contactcenterinsights.v1.CallAnnotati" - + "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" - + "actcenterinsights.v1.AnalysisResult.Call" - + "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" - + "ents\030\004 \003(\0132A.google.cloud.contactcenteri" - + "nsights.v1.ConversationLevelSentiment\022h\n" - + "\007intents\030\006 \003(\0132W.google.cloud.contactcen" - + "terinsights.v1.AnalysisResult.CallAnalys" - + "isMetadata.IntentsEntry\022w\n\017phrase_matche" - + "rs\030\007 \003(\0132^.google.cloud.contactcenterins" - + "ights.v1.AnalysisResult.CallAnalysisMeta" - + "data.PhraseMatchersEntry\022S\n\022issue_model_" - + "result\030\010 \001(\01327.google.cloud.contactcente" - + "rinsights.v1.IssueModelResult\032^\n\rEntitie" - + "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" - + "gle.cloud.contactcenterinsights.v1.Entit" - + "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" - + "lue\030\002 \001(\0132-.google.cloud.contactcenterin" - + "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" - + "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" - + ".cloud.contactcenterinsights.v1.PhraseMa" - + "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" - + "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" - + "enterinsights.googleapis.com/IssueModel\022" - + "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" - + "nterinsights.v1.IssueAssignment\"\177\n\032Conve" - + "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" - + "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" - + "d.contactcenterinsights.v1.SentimentData" - + "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" - + "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" - + "\016CallAnnotation\022T\n\021interruption_data\030\n \001" - + "(\01327.google.cloud.contactcenterinsights." - + "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" - + "\013 \001(\01324.google.cloud.contactcenterinsigh" - + "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " - + "\001(\01322.google.cloud.contactcenterinsights" - + ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" - + "oogle.cloud.contactcenterinsights.v1.Hol" - + "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" - + "oogle.cloud.contactcenterinsights.v1.Ent" - + "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " - + "\001(\01326.google.cloud.contactcenterinsights" - + ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" - + "ta\030\021 \001(\01326.google.cloud.contactcenterins" - + "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" - + "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" - + "(\01329.google.cloud.contactcenterinsights." - + "v1.AnnotationBoundary\022Z\n\027annotation_end_" - + "boundary\030\005 \001(\01329.google.cloud.contactcen" - + "terinsights.v1.AnnotationBoundaryB\006\n\004dat" - + "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " - + "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" - + "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" - + "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" - + "ctcenterinsights.v1.Entity.Type\022M\n\010metad" - + "ata\030\003 \003(\0132;.google.cloud.contactcenterin" - + "sights.v1.Entity.MetadataEntry\022\020\n\010salien" - + "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" - + "ud.contactcenterinsights.v1.SentimentDat" - + "a\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_UNSPECIFIED\020" - + "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" - + "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" - + "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" - + "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" - + "PRICE\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\020" - + "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" - + "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" - + "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" - + "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" - + "ud.contactcenterinsights.v1.EntityMentio" - + "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" - + "oogle.cloud.contactcenterinsights.v1.Sen" - + "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" - + "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" - + "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" - + " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" - + "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" - + "gle.cloud.contactcenterinsights.v1.Issue" - + "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " - + "\001(\0132A.google.cloud.contactcenterinsights" - + ".v1.IssueModel.InputDataConfig\022[\n\016traini" - + "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" - + "terinsights.v1.IssueModelLabelStatsB\006\340A\003" - + "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" - + ":.google.cloud.contactcenterinsights.v1." - + "Conversation.MediumB\002\030\001\022)\n\034training_conv" - + "ersations_count\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\nUN" - + "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" - + "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" - + "tactcenterinsights.googleapis.com/IssueM" - + "odel\022Aprojects/{project}/locations/{loca" - + "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" - + "e\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.protobu" - + "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" - + "ntactcenterinsights.googleapis.com/Issue" - + "\022Pprojects/{project}/locations/{location" - + "}/issueModels/{issue_model}/issues/{issu" - + "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" - + "conversations_count\030\001 \001(\003\022(\n unclassifie" - + "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" - + "ts\030\003 \003(\0132K.google.cloud.contactcenterins" - + "ights.v1.IssueModelLabelStats.IssueStats" - + "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" - + "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" - + "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" - + "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" - + "actcenterinsights.v1.IssueModelLabelStat" - + "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" - + "me\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_create_ti" - + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." - + "google.cloud.contactcenterinsights.v1.Ph" - + "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" - + "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" - + " \003(\0132;.google.cloud.contactcenterinsight" - + "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" - + "update_time\030\t \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." - + "cloud.contactcenterinsights.v1.Conversat" - + "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" - + "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" - + "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" - + "}\n2contactcenterinsights.googleapis.com/" - + "PhraseMatcher\022Gprojects/{project}/locati" - + "ons/{location}/phraseMatchers/{phrase_ma" - + "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" - + "\001 \001(\0162T.google.cloud.contactcenterinsigh" - + "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" - + "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" - + " \003(\01326.google.cloud.contactcenterinsight" - + "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" - + "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" - + "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" - + ".cloud.contactcenterinsights.v1.PhraseMa" - + "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" - + "\n\022exact_match_config\030\001 \001(\01327.google.clou" - + "d.contactcenterinsights.v1.ExactMatchCon" - + "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" - + "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" - + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" - + "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" - + "ubsub_notification_settings\030\006 \003(\0132O.goog" - + "le.cloud.contactcenterinsights.v1.Settin" - + "gs.PubsubNotificationSettingsEntry\022W\n\017an" - + "alysis_config\030\007 \001(\0132>.google.cloud.conta" - + "ctcenterinsights.v1.Settings.AnalysisCon" - + "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" - + "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" - + "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" - + "ights.googleapis.com/Settings\0220projects/" - + "{project}/locations/{location}/settings\"" - + "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" - + "ion\030\006 \001(\0132<.google.cloud.contactcenterin" - + "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" - + "_answer\030\007 \001(\01324.google.cloud.contactcent" - + "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" - + "eply\030\010 \001(\01325.google.cloud.contactcenteri" - + "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" - + "pose_suggestion\030\t \001(\0132A.google.cloud.con" - + "tactcenterinsights.v1.SmartComposeSugges" - + "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" - + "(\0132@.google.cloud.contactcenterinsights." - + "v1.DialogflowInteractionDataH\000\022\025\n\rannota" - + "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022Q\n\016start_boundary" - + "\030\003 \001(\01329.google.cloud.contactcenterinsig" - + "hts.v1.AnnotationBoundary\022O\n\014end_boundar" - + "y\030\004 \001(\01329.google.cloud.contactcenterinsi" - + "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" - + "dback\030\005 \001(\01325.google.cloud.contactcenter" - + "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" - + "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" - + "2F.google.cloud.contactcenterinsights.v1" - + ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" - + "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" - + "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" - + "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" - + "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" - + "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" - + "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" - + "2J.google.cloud.contactcenterinsights.v1" - + ".ArticleSuggestionData.MetadataEntry\022\024\n\014" - + "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" - + "tadataEntry\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\006answer\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.google.cloud.conta" - + "ctcenterinsights.v1.FaqAnswerData.Metada" - + "taEntry\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\005v" - + "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" - + "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" - + "tadata\030\003 \003(\0132C.google.cloud.contactcente" - + "rinsights.v1.SmartReplyData.MetadataEntr" - + "y\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\032Sma" - + "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " - + "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" - + "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" - + "ghts.v1.SmartComposeSuggestionData.Metad" - + "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" - + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" - + "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" - + "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" - + "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" - + "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" - + "nterinsights.v1.ConversationParticipant." - + "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" - + "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" - + "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" - + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" - + "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" - + "ogleapis.com/View\0224projects/{project}/lo" - + "cations/{location}/views/{view}B\354\003\n)com." - + "google.cloud.contactcenterinsights.v1B\016R" - + "esourcesProtoP\001ZZgoogle.golang.org/genpr" - + "oto/googleapis/cloud/contactcenterinsigh" - + "ts/v1;contactcenterinsights\252\002%Google.Clo" - + "ud.ContactCenterInsights.V1\312\002%Google\\Clo" - + "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" - + "oud::ContactCenterInsights::V1\352A\324\001\n%dial" - + "ogflow.googleapis.com/Participant\022Jproje" - + "cts/{project}/conversations/{conversatio" - + "n}/participants/{participant}\022_projects/" - + "{project}/locations/{location}/conversat" - + "ions/{conversation}/participants/{partic" - + "ipant}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", - }); - 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", - "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_IssueModel_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = - getDescriptor().getMessageTypes().get(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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", - }); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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(36); - 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(37); - 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(38); - 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", - }); - 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java deleted file mode 100644 index e86e739d..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 431293b2..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 59a7fdb5..00000000 --- a/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 {} From 886bdfa3805a71677e01ac69208c065fb49f0859 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:52:07 +0000 Subject: [PATCH 2/5] =?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 --- .../v1/ContactCenterInsightsClient.java | 48 +- .../v1/ContactCenterInsightsSettings.java | 7 +- .../v1/gapic_metadata.json | 0 .../v1/package-info.java | 0 .../v1/stub/ContactCenterInsightsStub.java | 0 .../ContactCenterInsightsStubSettings.java | 12 +- ...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 | 4352 +++++++++++ .../v1/ContactCenterInsightsGrpc.java | 3153 -------- ...culateIssueModelStatsRequestOrBuilder.java | 29 - .../v1/ContactCenterInsightsProto.java | 1121 --- .../v1/CreateAnalysisRequestOrBuilder.java | 56 - .../v1/CreateIssueModelRequestOrBuilder.java | 56 - .../v1/DeleteAnalysisRequestOrBuilder.java | 29 - .../DeleteConversationRequestOrBuilder.java | 41 - .../v1/DeleteIssueModelRequestOrBuilder.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 - .../v1/InterruptionDataOrBuilder.java | 9 - .../v1/IssueModelLabelStatsOrBuilder.java | 86 - .../v1/ListIssueModelsRequestOrBuilder.java | 29 - .../v1/ListIssuesRequestOrBuilder.java | 29 - .../v1/ResourcesProto.java | 1054 --- .../v1/SilenceDataOrBuilder.java | 9 - .../UndeployIssueModelRequestOrBuilder.java | 29 - .../UndeployIssueModelResponseOrBuilder.java | 9 - .../contactcenterinsights/v1/Analysis.java | 753 +- .../v1/AnalysisName.java | 0 .../v1/AnalysisOrBuilder.java | 81 +- .../v1/AnalysisResult.java | 2563 ++++--- .../v1/AnalysisResultOrBuilder.java | 52 +- .../v1/AnnotationBoundary.java | 366 +- .../v1/AnnotationBoundaryOrBuilder.java | 30 +- .../v1/AnswerFeedback.java | 493 +- .../v1/AnswerFeedbackOrBuilder.java | 38 +- .../v1/ArticleSuggestionData.java | 875 ++- .../v1/ArticleSuggestionDataOrBuilder.java | 88 +- .../v1/CalculateIssueModelStatsRequest.java | 398 +- ...culateIssueModelStatsRequestOrBuilder.java | 54 + .../v1/CalculateIssueModelStatsResponse.java | 455 +- ...ulateIssueModelStatsResponseOrBuilder.java | 29 +- .../v1/CalculateStatsRequest.java | 442 +- .../v1/CalculateStatsRequestOrBuilder.java | 44 +- .../v1/CalculateStatsResponse.java | 2988 +++++--- .../v1/CalculateStatsResponseOrBuilder.java | 224 +- .../v1/CallAnnotation.java | 1527 ++-- .../v1/CallAnnotationOrBuilder.java | 123 +- .../v1/ContactCenterInsightsProto.java | 1213 +++ .../v1/Conversation.java | 6733 +++++++++++------ .../v1/ConversationDataSource.java | 537 +- .../v1/ConversationDataSourceOrBuilder.java | 40 +- .../v1/ConversationLevelSentiment.java | 416 +- .../ConversationLevelSentimentOrBuilder.java | 29 +- .../v1/ConversationName.java | 0 .../v1/ConversationOrBuilder.java | 335 +- .../v1/ConversationParticipant.java | 881 ++- .../v1/ConversationParticipantOrBuilder.java | 83 +- .../v1/ConversationView.java | 86 +- .../v1/CreateAnalysisOperationMetadata.java | 663 +- ...ateAnalysisOperationMetadataOrBuilder.java | 69 +- .../v1/CreateAnalysisRequest.java | 510 +- .../v1/CreateAnalysisRequestOrBuilder.java | 95 + .../v1/CreateConversationRequest.java | 607 +- .../CreateConversationRequestOrBuilder.java | 64 +- .../v1/CreateIssueModelMetadata.java | 651 +- .../v1/CreateIssueModelMetadataOrBuilder.java | 60 +- .../v1/CreateIssueModelRequest.java | 518 +- .../v1/CreateIssueModelRequestOrBuilder.java | 95 + .../v1/CreatePhraseMatcherRequest.java | 534 +- .../CreatePhraseMatcherRequestOrBuilder.java | 55 +- .../v1/CreateViewRequest.java | 491 +- .../v1/CreateViewRequestOrBuilder.java | 55 +- .../v1/DeleteAnalysisRequest.java | 363 +- .../v1/DeleteAnalysisRequestOrBuilder.java | 54 + .../v1/DeleteConversationRequest.java | 412 +- .../DeleteConversationRequestOrBuilder.java | 69 + .../v1/DeleteIssueModelMetadata.java | 651 +- .../v1/DeleteIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeleteIssueModelRequest.java | 371 +- .../v1/DeleteIssueModelRequestOrBuilder.java | 54 + .../v1/DeletePhraseMatcherRequest.java | 375 +- .../DeletePhraseMatcherRequestOrBuilder.java | 54 + .../v1/DeleteViewRequest.java | 342 +- .../v1/DeleteViewRequestOrBuilder.java | 54 + .../v1/DeployIssueModelMetadata.java | 651 +- .../v1/DeployIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeployIssueModelRequest.java | 371 +- .../v1/DeployIssueModelRequestOrBuilder.java | 54 + .../v1/DeployIssueModelResponse.java | 271 +- .../v1/DeployIssueModelResponseOrBuilder.java | 24 + .../v1/DialogflowIntent.java | 314 +- .../v1/DialogflowIntentOrBuilder.java | 50 + .../v1/DialogflowInteractionData.java | 384 +- .../DialogflowInteractionDataOrBuilder.java | 30 +- .../v1/DialogflowSource.java | 393 +- .../v1/DialogflowSourceOrBuilder.java | 36 +- .../contactcenterinsights/v1/Entity.java | 915 ++- .../v1/EntityMentionData.java | 561 +- .../v1/EntityMentionDataOrBuilder.java | 41 +- .../v1/EntityOrBuilder.java | 75 +- .../v1/ExactMatchConfig.java | 275 +- .../v1/ExactMatchConfigOrBuilder.java | 38 + .../v1/ExportInsightsDataMetadata.java | 801 +- .../ExportInsightsDataMetadataOrBuilder.java | 82 +- .../v1/ExportInsightsDataRequest.java | 1622 ++-- .../ExportInsightsDataRequestOrBuilder.java | 99 +- .../v1/ExportInsightsDataResponse.java | 271 +- .../ExportInsightsDataResponseOrBuilder.java | 24 + .../v1/FaqAnswerData.java | 852 ++- .../v1/FaqAnswerDataOrBuilder.java | 88 +- .../contactcenterinsights/v1/GcsSource.java | 390 +- .../v1/GcsSourceOrBuilder.java | 36 +- .../v1/GetAnalysisRequest.java | 349 +- .../v1/GetAnalysisRequestOrBuilder.java | 54 + .../v1/GetConversationRequest.java | 435 +- .../v1/GetConversationRequestOrBuilder.java | 41 +- .../v1/GetIssueModelRequest.java | 360 +- .../v1/GetIssueModelRequestOrBuilder.java | 54 + .../v1/GetIssueRequest.java | 342 +- .../v1/GetIssueRequestOrBuilder.java | 54 + .../v1/GetPhraseMatcherRequest.java | 371 +- .../v1/GetPhraseMatcherRequestOrBuilder.java | 54 + .../v1/GetSettingsRequest.java | 349 +- .../v1/GetSettingsRequestOrBuilder.java | 54 + .../v1/GetViewRequest.java | 342 +- .../v1/GetViewRequestOrBuilder.java | 54 + .../contactcenterinsights/v1/HoldData.java | 235 +- .../v1/HoldDataOrBuilder.java | 24 + .../contactcenterinsights/v1/Intent.java | 387 +- .../v1/IntentMatchData.java | 314 +- .../v1/IntentMatchDataOrBuilder.java | 27 +- .../v1/IntentOrBuilder.java | 36 +- .../v1/InterruptionData.java | 238 +- .../v1/InterruptionDataOrBuilder.java | 24 + .../cloud/contactcenterinsights/v1/Issue.java | 661 +- .../v1/IssueAssignment.java | 432 +- .../v1/IssueAssignmentOrBuilder.java | 39 +- .../contactcenterinsights/v1/IssueModel.java | 1765 +++-- .../v1/IssueModelLabelStats.java | 1238 +-- .../v1/IssueModelLabelStatsOrBuilder.java | 128 + .../v1/IssueModelName.java | 0 .../v1/IssueModelOrBuilder.java | 127 +- .../v1/IssueModelResult.java | 466 +- .../v1/IssueModelResultOrBuilder.java | 45 +- .../contactcenterinsights/v1/IssueName.java | 0 .../v1/IssueOrBuilder.java | 70 +- .../v1/ListAnalysesRequest.java | 544 +- .../v1/ListAnalysesRequestOrBuilder.java | 56 +- .../v1/ListAnalysesResponse.java | 466 +- .../v1/ListAnalysesResponseOrBuilder.java | 45 +- .../v1/ListConversationsRequest.java | 639 +- .../v1/ListConversationsRequestOrBuilder.java | 62 +- .../v1/ListConversationsResponse.java | 494 +- .../ListConversationsResponseOrBuilder.java | 42 +- .../v1/ListIssueModelsRequest.java | 363 +- .../v1/ListIssueModelsRequestOrBuilder.java | 54 + .../v1/ListIssueModelsResponse.java | 402 +- .../v1/ListIssueModelsResponseOrBuilder.java | 36 +- .../v1/ListIssuesRequest.java | 342 +- .../v1/ListIssuesRequestOrBuilder.java | 54 + .../v1/ListIssuesResponse.java | 389 +- .../v1/ListIssuesResponseOrBuilder.java | 36 +- .../v1/ListPhraseMatchersRequest.java | 569 +- .../ListPhraseMatchersRequestOrBuilder.java | 56 +- .../v1/ListPhraseMatchersResponse.java | 564 +- .../ListPhraseMatchersResponseOrBuilder.java | 42 +- .../v1/ListViewsRequest.java | 455 +- .../v1/ListViewsRequestOrBuilder.java | 47 +- .../v1/ListViewsResponse.java | 460 +- .../v1/ListViewsResponseOrBuilder.java | 45 +- .../v1/LocationName.java | 0 .../v1/PhraseMatchData.java | 393 +- .../v1/PhraseMatchDataOrBuilder.java | 36 +- .../v1/PhraseMatchRule.java | 464 +- .../v1/PhraseMatchRuleConfig.java | 424 +- .../v1/PhraseMatchRuleConfigOrBuilder.java | 29 +- .../v1/PhraseMatchRuleGroup.java | 683 +- .../v1/PhraseMatchRuleGroupOrBuilder.java | 61 +- .../v1/PhraseMatchRuleOrBuilder.java | 38 +- .../v1/PhraseMatcher.java | 1594 ++-- .../v1/PhraseMatcherName.java | 0 .../v1/PhraseMatcherOrBuilder.java | 189 +- .../v1/ResourcesProto.java | 1244 +++ .../v1/RuntimeAnnotation.java | 1626 ++-- .../v1/RuntimeAnnotationOrBuilder.java | 141 +- .../v1/SentimentData.java | 312 +- .../v1/SentimentDataOrBuilder.java | 24 +- .../contactcenterinsights/v1/Settings.java | 1465 ++-- .../v1/SettingsName.java | 0 .../v1/SettingsOrBuilder.java | 129 +- .../contactcenterinsights/v1/SilenceData.java | 238 +- .../v1/SilenceDataOrBuilder.java | 24 + .../v1/SmartComposeSuggestionData.java | 732 +- .../SmartComposeSuggestionDataOrBuilder.java | 70 +- .../v1/SmartReplyData.java | 699 +- .../v1/SmartReplyDataOrBuilder.java | 70 +- .../v1/UndeployIssueModelMetadata.java | 657 +- .../UndeployIssueModelMetadataOrBuilder.java | 63 +- .../v1/UndeployIssueModelRequest.java | 375 +- .../UndeployIssueModelRequestOrBuilder.java | 54 + .../v1/UndeployIssueModelResponse.java | 271 +- .../UndeployIssueModelResponseOrBuilder.java | 24 + .../v1/UpdateConversationRequest.java | 520 +- .../UpdateConversationRequestOrBuilder.java | 46 +- .../v1/UpdateIssueModelRequest.java | 510 +- .../v1/UpdateIssueModelRequestOrBuilder.java | 46 +- .../v1/UpdateIssueRequest.java | 487 +- .../v1/UpdateIssueRequestOrBuilder.java | 46 +- .../v1/UpdatePhraseMatcherRequest.java | 526 +- .../UpdatePhraseMatcherRequestOrBuilder.java | 46 +- .../v1/UpdateSettingsRequest.java | 538 +- .../v1/UpdateSettingsRequestOrBuilder.java | 55 +- .../v1/UpdateViewRequest.java | 483 +- .../v1/UpdateViewRequestOrBuilder.java | 46 +- .../cloud/contactcenterinsights/v1/View.java | 739 +- .../contactcenterinsights/v1/ViewName.java | 0 .../v1/ViewOrBuilder.java | 79 +- .../v1/contact_center_insights.proto | 0 .../contactcenterinsights/v1/resources.proto | 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 .../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 .../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 383 files changed, 50213 insertions(+), 30149 deletions(-) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java (100%) create mode 100644 grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java (59%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java (83%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java (60%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java (63%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java (64%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java (69%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java (69%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java (64%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java (63%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java (64%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java (67%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java (67%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java (63%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java (67%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java index f9b1802e..5e961172 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java +++ b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java @@ -66,13 +66,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -4140,7 +4140,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListConversationsPagedResponse extends AbstractPagedListResponse< - ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, + ListConversationsRequest, + ListConversationsResponse, + Conversation, + ListConversationsPage, ListConversationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4161,7 +4164,9 @@ private ListConversationsPagedResponse(ListConversationsPage page) { public static class ListConversationsPage extends AbstractPage< - ListConversationsRequest, ListConversationsResponse, Conversation, + ListConversationsRequest, + ListConversationsResponse, + Conversation, ListConversationsPage> { private ListConversationsPage( @@ -4191,7 +4196,10 @@ public ApiFuture createPageAsync( public static class ListConversationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, + ListConversationsRequest, + ListConversationsResponse, + Conversation, + ListConversationsPage, ListConversationsFixedSizeCollection> { private ListConversationsFixedSizeCollection( @@ -4212,7 +4220,10 @@ protected ListConversationsFixedSizeCollection createCollection( public static class ListAnalysesPagedResponse extends AbstractPagedListResponse< - ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, + ListAnalysesRequest, + ListAnalysesResponse, + Analysis, + ListAnalysesPage, ListAnalysesFixedSizeCollection> { public static ApiFuture createAsync( @@ -4261,7 +4272,10 @@ public ApiFuture createPageAsync( public static class ListAnalysesFixedSizeCollection extends AbstractFixedSizeCollection< - ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, + ListAnalysesRequest, + ListAnalysesResponse, + Analysis, + ListAnalysesPage, ListAnalysesFixedSizeCollection> { private ListAnalysesFixedSizeCollection(List pages, int collectionSize) { @@ -4281,8 +4295,11 @@ protected ListAnalysesFixedSizeCollection createCollection( public static class ListPhraseMatchersPagedResponse extends AbstractPagedListResponse< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, - ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, + PhraseMatcher, + ListPhraseMatchersPage, + ListPhraseMatchersFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4302,7 +4319,9 @@ private ListPhraseMatchersPagedResponse(ListPhraseMatchersPage page) { public static class ListPhraseMatchersPage extends AbstractPage< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, + PhraseMatcher, ListPhraseMatchersPage> { private ListPhraseMatchersPage( @@ -4332,8 +4351,11 @@ public ApiFuture createPageAsync( public static class ListPhraseMatchersFixedSizeCollection extends AbstractFixedSizeCollection< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, - ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, + PhraseMatcher, + ListPhraseMatchersPage, + ListPhraseMatchersFixedSizeCollection> { private ListPhraseMatchersFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java index bda055f1..c780d005 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java +++ b/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; @@ -49,10 +48,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java index 614ffd96..16c3b7d8 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java +++ b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java @@ -126,10 +126,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -383,7 +383,8 @@ public Iterable extractResources(ListViewsResponse payload) { ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> LIST_CONVERSATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListConversationsRequest, ListConversationsResponse, + ListConversationsRequest, + ListConversationsResponse, ListConversationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -420,7 +421,8 @@ public ApiFuture getFuturePagedResponse( ListPhraseMatchersRequest, ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse> LIST_PHRASE_MATCHERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java index b3c46e80..eeae3d61 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java +++ b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java @@ -93,7 +93,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/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java index 7f20300a..f4342af5 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java +++ b/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/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java diff --git a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java new file mode 100644 index 00000000..7856bf22 --- /dev/null +++ b/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java @@ -0,0 +1,4352 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.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.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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * 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( + 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( + 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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * Export insights data to a destination defined in the request body.
+     * 
+ */ + public com.google.longrunning.Operation exportInsightsData( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an issue model.
+     * 
+ */ + public com.google.longrunning.Operation createIssueModel( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists issue models.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssueModelsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an issue model.
+     * 
+ */ + public com.google.longrunning.Operation deleteIssueModel( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deploys an issue model. Returns an error if a model is already deployed.
+     * An issue model can only be used in analysis after it has been deployed.
+     * 
+ */ + public com.google.longrunning.Operation deployIssueModel( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Undeploys an issue model.
+     * An issue model can not be used in analysis after it has been undeployed.
+     * 
+ */ + public com.google.longrunning.Operation undeployIssueModel( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue getIssue( + com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists issues.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues( + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssuesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue updateIssue( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an issue model's statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + calculateIssueModelStats( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher( + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists phrase matchers.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a phrase matcher.
+     * 
+ */ + public com.google.protobuf.Empty deletePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets conversation statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats( + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateStatsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings getSettings( + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings updateSettings( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View createView( + com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateViewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View getView( + com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetViewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists views.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews( + com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListViewsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View updateView( + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateViewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a view.
+     * 
+ */ + public com.google.protobuf.Empty deleteView( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteViewMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsFutureStub + extends io.grpc.stub.AbstractFutureStub { + 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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * 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_EXPORT_INSIGHTS_DATA = 9; + private static final int METHODID_CREATE_ISSUE_MODEL = 10; + private static final int METHODID_UPDATE_ISSUE_MODEL = 11; + private static final int METHODID_GET_ISSUE_MODEL = 12; + private static final int METHODID_LIST_ISSUE_MODELS = 13; + private static final int METHODID_DELETE_ISSUE_MODEL = 14; + private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; + private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; + private static final int METHODID_GET_ISSUE = 17; + private static final int METHODID_LIST_ISSUES = 18; + private static final int METHODID_UPDATE_ISSUE = 19; + private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; + private static final int METHODID_CREATE_PHRASE_MATCHER = 21; + private static final int METHODID_GET_PHRASE_MATCHER = 22; + private static final int METHODID_LIST_PHRASE_MATCHERS = 23; + private static final int METHODID_DELETE_PHRASE_MATCHER = 24; + private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; + private static final int METHODID_CALCULATE_STATS = 26; + private static final int METHODID_GET_SETTINGS = 27; + private static final int METHODID_UPDATE_SETTINGS = 28; + private static final int METHODID_CREATE_VIEW = 29; + private static final int METHODID_GET_VIEW = 30; + private static final int METHODID_LIST_VIEWS = 31; + private static final int METHODID_UPDATE_VIEW = 32; + private static final int METHODID_DELETE_VIEW = 33; + + 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_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_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(getExportInsightsDataMethod()) + .addMethod(getCreateIssueModelMethod()) + .addMethod(getUpdateIssueModelMethod()) + .addMethod(getGetIssueModelMethod()) + .addMethod(getListIssueModelsMethod()) + .addMethod(getDeleteIssueModelMethod()) + .addMethod(getDeployIssueModelMethod()) + .addMethod(getUndeployIssueModelMethod()) + .addMethod(getGetIssueMethod()) + .addMethod(getListIssuesMethod()) + .addMethod(getUpdateIssueMethod()) + .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/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java deleted file mode 100644 index f27f54d9..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java +++ /dev/null @@ -1,3153 +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 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 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * 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( - 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( - 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * Export insights data to a destination defined in the request body.
-     * 
- */ - public com.google.longrunning.Operation exportInsightsData(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an issue model.
-     * 
- */ - public com.google.longrunning.Operation createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists issue models.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssueModelsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an issue model.
-     * 
- */ - public com.google.longrunning.Operation deleteIssueModel(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Deploys an issue model. Returns an error if a model is already deployed.
-     * An issue model can only be used in analysis after it has been deployed.
-     * 
- */ - public com.google.longrunning.Operation deployIssueModel(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Undeploys an issue model.
-     * An issue model can not be used in analysis after it has been undeployed.
-     * 
- */ - public com.google.longrunning.Operation undeployIssueModel(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists issues.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssuesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an issue model's statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists phrase matchers.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a phrase matcher.
-     * 
- */ - public com.google.protobuf.Empty deletePhraseMatcher(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets conversation statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateStatsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings getSettings(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateViewMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetViewMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists views.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListViewsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateViewMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a view.
-     * 
- */ - public com.google.protobuf.Empty deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteViewMethod(), getCallOptions(), request); - } - } - - /** - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsFutureStub extends io.grpc.stub.AbstractFutureStub { - 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * 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_EXPORT_INSIGHTS_DATA = 9; - private static final int METHODID_CREATE_ISSUE_MODEL = 10; - private static final int METHODID_UPDATE_ISSUE_MODEL = 11; - private static final int METHODID_GET_ISSUE_MODEL = 12; - private static final int METHODID_LIST_ISSUE_MODELS = 13; - private static final int METHODID_DELETE_ISSUE_MODEL = 14; - private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; - private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; - private static final int METHODID_GET_ISSUE = 17; - private static final int METHODID_LIST_ISSUES = 18; - private static final int METHODID_UPDATE_ISSUE = 19; - private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; - private static final int METHODID_CREATE_PHRASE_MATCHER = 21; - private static final int METHODID_GET_PHRASE_MATCHER = 22; - private static final int METHODID_LIST_PHRASE_MATCHERS = 23; - private static final int METHODID_DELETE_PHRASE_MATCHER = 24; - private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; - private static final int METHODID_CALCULATE_STATS = 26; - private static final int METHODID_GET_SETTINGS = 27; - private static final int METHODID_UPDATE_SETTINGS = 28; - private static final int METHODID_CREATE_VIEW = 29; - private static final int METHODID_GET_VIEW = 30; - private static final int METHODID_LIST_VIEWS = 31; - private static final int METHODID_UPDATE_VIEW = 32; - private static final int METHODID_DELETE_VIEW = 33; - - 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_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_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(getExportInsightsDataMethod()) - .addMethod(getCreateIssueModelMethod()) - .addMethod(getUpdateIssueModelMethod()) - .addMethod(getGetIssueModelMethod()) - .addMethod(getListIssueModelsMethod()) - .addMethod(getDeleteIssueModelMethod()) - .addMethod(getDeployIssueModelMethod()) - .addMethod(getUndeployIssueModelMethod()) - .addMethod(getGetIssueMethod()) - .addMethod(getListIssuesMethod()) - .addMethod(getUpdateIssueMethod()) - .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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java deleted file mode 100644 index b7127031..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java deleted file mode 100644 index 84a9d35e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java +++ /dev/null @@ -1,1121 +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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" + - "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + - "leapis.com/Location\022N\n\014conversation\030\002 \001(" + - "\01323.google.cloud.contactcenterinsights.v" + - "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" + - " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" + - "ent\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.contactcenterinsights.v" + - "1.ConversationView\"\200\001\n\031ListConversations" + - "Response\022J\n\rconversations\030\001 \003(\01323.google" + - ".cloud.contactcenterinsights.v1.Conversa" + - "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" + - "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" + - "contactcenterinsights.googleapis.com/Con" + - "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" + - "ontactcenterinsights.v1.ConversationView" + - "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" + - "sation\030\001 \001(\01323.google.cloud.contactcente" + - "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" + - "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + - "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" + - "(\tB9\340A\002\372A3\n1contactcenterinsights.google" + - "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" + - "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" + - "\340A\002\372A3\n1contactcenterinsights.googleapis" + - ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" + - "ogle.cloud.contactcenterinsights.v1.Anal" + - "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" + - "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" + - ".googleapis.com/Conversation\022\021\n\tpage_siz" + - "e\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.contactcenterinsigh" + - "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" + - "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + - "\372A/\n-contactcenterinsights.googleapis.co" + - "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" + - "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" + - ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" + - "htsDataRequest\022u\n\025big_query_destination\030" + - "\002 \001(\0132T.google.cloud.contactcenterinsigh" + - "ts.v1.ExportInsightsDataRequest.BigQuery" + - "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" + - "ocations.googleapis.com/Location\022\016\n\006filt" + - "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" + - "sition\030\005 \001(\0162Q.google.cloud.contactcente" + - "rinsights.v1.ExportInsightsDataRequest.W" + - "riteDisposition\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\035W" + - "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" + - "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" + - "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" + - "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" + - "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" + - "oogle.cloud.contactcenterinsights.v1.Exp" + - "ortInsightsDataRequest\022*\n\016partial_errors" + - "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" + - "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" + - "uest\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.contactcenterinsight" + - "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" + - "lMetadata\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\022O\n\007re" + - "quest\030\003 \001(\0132>.google.cloud.contactcenter" + - "insights.v1.CreateIssueModelRequest\"\227\001\n\027" + - "UpdateIssueModelRequest\022K\n\013issue_model\030\001" + - " \001(\01321.google.cloud.contactcenterinsight" + - "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" + - "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" + - "!locations.googleapis.com/Location\"b\n\027Li" + - "stIssueModelsResponse\022G\n\014issue_models\030\001 " + - "\003(\01321.google.cloud.contactcenterinsights" + - ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" + - "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" + - "hts.googleapis.com/IssueModel\"`\n\027DeleteI" + - "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + - "contactcenterinsights.googleapis.com/Iss" + - "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" + - "create_time\030\001 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + - "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" + - ".google.cloud.contactcenterinsights.v1.D" + - "eleteIssueModelRequest\"`\n\027DeployIssueMod" + - "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" + - "centerinsights.googleapis.com/IssueModel" + - "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" + - "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" + - "ctcenterinsights.v1.DeployIssueModelRequ" + - "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" + - "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" + - "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" + - "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" + - "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" + - "\030\003 \001(\0132@.google.cloud.contactcenterinsig" + - "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" + - "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" + - "ctcenterinsights.googleapis.com/Issue\"\\\n" + - "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" + - "A1\n/contactcenterinsights.googleapis.com" + - "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" + - "ues\030\001 \003(\0132,.google.cloud.contactcenterin" + - "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" + - "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" + - "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" + - "culateIssueModelStatsRequest\022L\n\013issue_mo" + - "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + - ".googleapis.com/IssueModel\"v\n CalculateI" + - "ssueModelStatsResponse\022R\n\rcurrent_stats\030" + - "\004 \001(\0132;.google.cloud.contactcenterinsigh" + - "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" + - "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + - "#\n!locations.googleapis.com/Location\022Q\n\016" + - "phrase_matcher\030\002 \001(\01324.google.cloud.cont" + - "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" + - "\215\001\n\031ListPhraseMatchersRequest\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_toke" + - "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" + - "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" + - "4.google.cloud.contactcenterinsights.v1." + - "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" + - "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" + - ":\340A\002\372A4\n2contactcenterinsights.googleapi" + - "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" + - "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" + - "centerinsights.googleapis.com/PhraseMatc" + - "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" + - "rase_matcher\030\001 \001(\01324.google.cloud.contac" + - "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" + - "(\tB5\340A\002\372A/\n-contactcenterinsights.google" + - "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" + - "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" + - "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" + - "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + - "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" + - "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" + - "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." + - "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" + - "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" + - "actcenterinsights.googleapis.com/View\"t\n" + - "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + - "#\n!locations.googleapis.com/Location\022\021\n\t" + - "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" + - "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" + - ".cloud.contactcenterinsights.v1.View\022\027\n\017" + - "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" + - "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" + - "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" + - "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + - ")contactcenterinsights.googleapis.com/Vi" + - "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" + - "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" + - ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" + - "rsation\022@.google.cloud.contactcenterinsi" + - "ghts.v1.CreateConversationRequest\0323.goog" + - "le.cloud.contactcenterinsights.v1.Conver" + - "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" + - "ocations/*}/conversations:\014conversation\332" + - "A#parent,conversation,conversation_id\022\374\001" + - "\n\022UpdateConversation\022@.google.cloud.cont" + - "actcenterinsights.v1.UpdateConversationR" + - "equest\0323.google.cloud.contactcenterinsig" + - "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" + - "sation.name=projects/*/locations/*/conve" + - "rsations/*}:\014conversation\332A\030conversation" + - ",update_mask\022\307\001\n\017GetConversation\022=.googl" + - "e.cloud.contactcenterinsights.v1.GetConv" + - "ersationRequest\0323.google.cloud.contactce" + - "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" + - "1/{name=projects/*/locations/*/conversat" + - "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" + - "oogle.cloud.contactcenterinsights.v1.Lis" + - "tConversationsRequest\032@.google.cloud.con" + - "tactcenterinsights.v1.ListConversationsR" + - "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" + - "locations/*}/conversations\332A\006parent\022\260\001\n\022" + - "DeleteConversation\022@.google.cloud.contac" + - "tcenterinsights.v1.DeleteConversationReq" + - "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" + - "1/{name=projects/*/locations/*/conversat" + - "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" + - "le.cloud.contactcenterinsights.v1.Create" + - "AnalysisRequest\032\035.google.longrunning.Ope" + - "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" + - "loud.contactcenterinsights.v1.CreateIssu" + - "eModelRequest\032\035.google.longrunning.Opera" + - "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" + - "cations/*}/issueModels:\013issue_model\332A\022pa" + - "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" + - "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" + - ".google.cloud.contactcenterinsights.v1.U" + - "pdateIssueModelRequest\0321.google.cloud.co" + - "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" + - "J2;/v1/{issue_model.name=projects/*/loca" + - "tions/*/issueModels/*}:\013issue_model\332A\027is" + - "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" + - ";.google.cloud.contactcenterinsights.v1." + - "GetIssueModelRequest\0321.google.cloud.cont" + - "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" + - "//v1/{name=projects/*/locations/*/issueM" + - "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" + - "ogle.cloud.contactcenterinsights.v1.List" + - "IssueModelsRequest\032>.google.cloud.contac" + - "tcenterinsights.v1.ListIssueModelsRespon" + - "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" + - "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" + - "ssueModel\022>.google.cloud.contactcenterin" + - "sights.v1.DeleteIssueModelRequest\032\035.goog" + - "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" + - "ame=projects/*/locations/*/issueModels/*" + - "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" + - "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" + - "l\022>.google.cloud.contactcenterinsights.v" + - "1.DeployIssueModelRequest\032\035.google.longr" + - "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" + - "ects/*/locations/*/issueModels/*}:deploy" + - ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" + - "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" + - "sueModel\022@.google.cloud.contactcenterins" + - "ights.v1.UndeployIssueModelRequest\032\035.goo" + - "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" + - "{name=projects/*/locations/*/issueModels" + - "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" + - "ModelResponse\022\032UndeployIssueModelMetadat" + - "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" + - "terinsights.v1.GetIssueRequest\032,.google." + - "cloud.contactcenterinsights.v1.Issue\"G\202\323" + - "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" + - "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" + - "sues\0228.google.cloud.contactcenterinsight" + - "s.v1.ListIssuesRequest\0329.google.cloud.co" + - "ntactcenterinsights.v1.ListIssuesRespons" + - "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" + - "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" + - "\013UpdateIssue\0229.google.cloud.contactcente" + - "rinsights.v1.UpdateIssueRequest\032,.google" + - ".cloud.contactcenterinsights.v1.Issue\"a\202" + - "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" + - "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" + - "ssue,update_mask\022\222\002\n\030CalculateIssueModel" + - "Stats\022F.google.cloud.contactcenterinsigh" + - "ts.v1.CalculateIssueModelStatsRequest\032G." + - "google.cloud.contactcenterinsights.v1.Ca" + - "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" + - "/v1/{issue_model=projects/*/locations/*/" + - "issueModels/*}:calculateIssueModelStats\332" + - "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." + - "google.cloud.contactcenterinsights.v1.Cr" + - "eatePhraseMatcherRequest\0324.google.cloud." + - "contactcenterinsights.v1.PhraseMatcher\"b" + - "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" + - "/*}/phraseMatchers:\016phrase_matcher\332A\025par" + - "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" + - ">.google.cloud.contactcenterinsights.v1." + - "GetPhraseMatcherRequest\0324.google.cloud.c" + - "ontactcenterinsights.v1.PhraseMatcher\"A\202" + - "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" + - "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" + - "atchers\022@.google.cloud.contactcenterinsi" + - "ghts.v1.ListPhraseMatchersRequest\032A.goog" + - "le.cloud.contactcenterinsights.v1.ListPh" + - "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" + - "t=projects/*/locations/*}/phraseMatchers" + - "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" + - "le.cloud.contactcenterinsights.v1.Delete" + - "PhraseMatcherRequest\032\026.google.protobuf.E" + - "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" + - "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" + - "tePhraseMatcher\022A.google.cloud.contactce" + - "nterinsights.v1.UpdatePhraseMatcherReque" + - "st\0324.google.cloud.contactcenterinsights." + - "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" + - "tcher.name=projects/*/locations/*/phrase" + - "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" + - "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" + - "ogle.cloud.contactcenterinsights.v1.Calc" + - "ulateStatsRequest\032=.google.cloud.contact" + - "centerinsights.v1.CalculateStatsResponse" + - "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" + - "ions/*}/conversations:calculateStats\332A\010l" + - "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" + - "ontactcenterinsights.v1.GetSettingsReque" + - "st\032/.google.cloud.contactcenterinsights." + - "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" + - "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" + - "eSettings\022<.google.cloud.contactcenterin" + - "sights.v1.UpdateSettingsRequest\032/.google" + - ".cloud.contactcenterinsights.v1.Settings" + - "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" + - "locations/*/settings}:\010settings\332A\024settin" + - "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" + - "loud.contactcenterinsights.v1.CreateView" + - "Request\032+.google.cloud.contactcenterinsi" + - "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" + - "ts/*/locations/*}/views:\004view\332A\013parent,v" + - "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" + - "nterinsights.v1.GetViewRequest\032+.google." + - "cloud.contactcenterinsights.v1.View\"8\202\323\344" + - "\223\002+\022)/v1/{name=projects/*/locations/*/vi" + - "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" + - "ud.contactcenterinsights.v1.ListViewsReq" + - "uest\0328.google.cloud.contactcenterinsight" + - "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" + - "ent=projects/*/locations/*}/views\332A\006pare" + - "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" + - "centerinsights.v1.UpdateViewRequest\032+.go" + - "ogle.cloud.contactcenterinsights.v1.View", - "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" + - "tions/*/views/*}:\004view\332A\020view,update_mas" + - "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" + - "enterinsights.v1.DeleteViewRequest\032\026.goo" + - "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" + - "ojects/*/locations/*/views/*}\332A\004name\032X\312A" + - "$contactcenterinsights.googleapis.com\322A." + - "https://www.googleapis.com/auth/cloud-pl" + - "atformB\240\002\n)com.google.cloud.contactcente" + - "rinsights.v1B\032ContactCenterInsightsProto" + - "P\001ZZgoogle.golang.org/genproto/googleapi" + - "s/cloud/contactcenterinsights/v1;contact" + - "centerinsights\252\002%Google.Cloud.ContactCen" + - "terInsights.V1\312\002%Google\\Cloud\\ContactCen" + - "terInsights\\V1\352\002(Google::Cloud::ContactC" + - "enterInsights::V1b\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", }); - 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_CreateAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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_ExportInsightsDataRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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_CalculateIssueModelStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - 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(36); - 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(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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(42); - 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(43); - 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(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java deleted file mode 100644 index 648bc721..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java deleted file mode 100644 index b94ecb87..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java deleted file mode 100644 index 932fbf0d..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java deleted file mode 100644 index d15cd125..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java deleted file mode 100644 index a643ce70..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java deleted file mode 100644 index cb8112db..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java deleted file mode 100644 index 6b3adefa..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 2e51a4de..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 206c8adc..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java deleted file mode 100644 index 9978e6a5..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java deleted file mode 100644 index 46f96da9..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java deleted file mode 100644 index 9971c70c..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java deleted file mode 100644 index d438a1fa..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java deleted file mode 100644 index bd12548f..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java deleted file mode 100644 index 8997efd0..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java deleted file mode 100644 index cab6c263..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java deleted file mode 100644 index 85f0a8f8..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java deleted file mode 100644 index b6c09961..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java deleted file mode 100644 index 069cce42..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java deleted file mode 100644 index 5e379cd6..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java deleted file mode 100644 index c120a8ae..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java +++ /dev/null @@ -1,86 +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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java deleted file mode 100644 index 23b0abcf..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java deleted file mode 100644 index b1393cf5..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java deleted file mode 100644 index 4322f57c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java +++ /dev/null @@ -1,1054 +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_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; - - 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." + - "googleapis.com/Analysis\022Xprojects/{proje" + - "ct}/locations/{location}/conversations/{" + - "conversation}/analyses/{analysis}\"\300\001\n\026Co" + - "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" + - "20.google.cloud.contactcenterinsights.v1" + - ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" + - "7.google.cloud.contactcenterinsights.v1." + - "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" + - "e\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\027dialogf" + - "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" + - "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" + - "is_metadata\030\002 \001(\0132J.google.cloud.contact" + - "centerinsights.v1.AnalysisResult.CallAna" + - "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" + - "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" + - "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" + - "ud.contactcenterinsights.v1.CallAnnotati" + - "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" + - "actcenterinsights.v1.AnalysisResult.Call" + - "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" + - "ents\030\004 \003(\0132A.google.cloud.contactcenteri" + - "nsights.v1.ConversationLevelSentiment\022h\n" + - "\007intents\030\006 \003(\0132W.google.cloud.contactcen" + - "terinsights.v1.AnalysisResult.CallAnalys" + - "isMetadata.IntentsEntry\022w\n\017phrase_matche" + - "rs\030\007 \003(\0132^.google.cloud.contactcenterins" + - "ights.v1.AnalysisResult.CallAnalysisMeta" + - "data.PhraseMatchersEntry\022S\n\022issue_model_" + - "result\030\010 \001(\01327.google.cloud.contactcente" + - "rinsights.v1.IssueModelResult\032^\n\rEntitie" + - "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" + - "gle.cloud.contactcenterinsights.v1.Entit" + - "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" + - "lue\030\002 \001(\0132-.google.cloud.contactcenterin" + - "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" + - "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" + - ".cloud.contactcenterinsights.v1.PhraseMa" + - "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" + - "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" + - "enterinsights.googleapis.com/IssueModel\022" + - "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" + - "nterinsights.v1.IssueAssignment\"\177\n\032Conve" + - "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" + - "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" + - "d.contactcenterinsights.v1.SentimentData" + - "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" + - "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" + - "\016CallAnnotation\022T\n\021interruption_data\030\n \001" + - "(\01327.google.cloud.contactcenterinsights." + - "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" + - "\013 \001(\01324.google.cloud.contactcenterinsigh" + - "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " + - "\001(\01322.google.cloud.contactcenterinsights" + - ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" + - "oogle.cloud.contactcenterinsights.v1.Hol" + - "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" + - "oogle.cloud.contactcenterinsights.v1.Ent" + - "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " + - "\001(\01326.google.cloud.contactcenterinsights" + - ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" + - "ta\030\021 \001(\01326.google.cloud.contactcenterins" + - "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" + - "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" + - "(\01329.google.cloud.contactcenterinsights." + - "v1.AnnotationBoundary\022Z\n\027annotation_end_" + - "boundary\030\005 \001(\01329.google.cloud.contactcen" + - "terinsights.v1.AnnotationBoundaryB\006\n\004dat" + - "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " + - "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" + - "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" + - "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" + - "ctcenterinsights.v1.Entity.Type\022M\n\010metad" + - "ata\030\003 \003(\0132;.google.cloud.contactcenterin" + - "sights.v1.Entity.MetadataEntry\022\020\n\010salien" + - "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" + - "ud.contactcenterinsights.v1.SentimentDat" + - "a\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_UNSPECIFIED\020" + - "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" + - "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" + - "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" + - "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" + - "PRICE\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\020" + - "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" + - "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" + - "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" + - "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" + - "ud.contactcenterinsights.v1.EntityMentio" + - "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" + - "oogle.cloud.contactcenterinsights.v1.Sen" + - "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" + - "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" + - "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" + - " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" + - "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" + - "gle.cloud.contactcenterinsights.v1.Issue" + - "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " + - "\001(\0132A.google.cloud.contactcenterinsights" + - ".v1.IssueModel.InputDataConfig\022[\n\016traini" + - "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" + - "terinsights.v1.IssueModelLabelStatsB\006\340A\003" + - "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" + - ":.google.cloud.contactcenterinsights.v1." + - "Conversation.MediumB\002\030\001\022)\n\034training_conv" + - "ersations_count\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\nUN" + - "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" + - "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" + - "tactcenterinsights.googleapis.com/IssueM" + - "odel\022Aprojects/{project}/locations/{loca" + - "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" + - "e\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.protobu" + - "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." + - "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" + - "ntactcenterinsights.googleapis.com/Issue" + - "\022Pprojects/{project}/locations/{location" + - "}/issueModels/{issue_model}/issues/{issu" + - "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" + - "conversations_count\030\001 \001(\003\022(\n unclassifie" + - "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" + - "ts\030\003 \003(\0132K.google.cloud.contactcenterins" + - "ights.v1.IssueModelLabelStats.IssueStats" + - "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" + - "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" + - "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" + - "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" + - "actcenterinsights.v1.IssueModelLabelStat" + - "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" + - "me\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_create_ti" + - "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." + - "google.cloud.contactcenterinsights.v1.Ph" + - "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" + - "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" + - " \003(\0132;.google.cloud.contactcenterinsight" + - "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" + - "update_time\030\t \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." + - "cloud.contactcenterinsights.v1.Conversat" + - "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" + - "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" + - "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" + - "}\n2contactcenterinsights.googleapis.com/" + - "PhraseMatcher\022Gprojects/{project}/locati" + - "ons/{location}/phraseMatchers/{phrase_ma" + - "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" + - "\001 \001(\0162T.google.cloud.contactcenterinsigh" + - "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" + - "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" + - " \003(\01326.google.cloud.contactcenterinsight" + - "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" + - "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" + - "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" + - ".cloud.contactcenterinsights.v1.PhraseMa" + - "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" + - "\n\022exact_match_config\030\001 \001(\01327.google.clou" + - "d.contactcenterinsights.v1.ExactMatchCon" + - "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" + - "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" + - "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" + - "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + - "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" + - "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" + - "ubsub_notification_settings\030\006 \003(\0132O.goog" + - "le.cloud.contactcenterinsights.v1.Settin" + - "gs.PubsubNotificationSettingsEntry\022W\n\017an" + - "alysis_config\030\007 \001(\0132>.google.cloud.conta" + - "ctcenterinsights.v1.Settings.AnalysisCon" + - "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" + - "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" + - "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" + - "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" + - "ights.googleapis.com/Settings\0220projects/" + - "{project}/locations/{location}/settings\"" + - "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" + - "ion\030\006 \001(\0132<.google.cloud.contactcenterin" + - "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" + - "_answer\030\007 \001(\01324.google.cloud.contactcent" + - "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" + - "eply\030\010 \001(\01325.google.cloud.contactcenteri" + - "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" + - "pose_suggestion\030\t \001(\0132A.google.cloud.con" + - "tactcenterinsights.v1.SmartComposeSugges" + - "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" + - "(\0132@.google.cloud.contactcenterinsights." + - "v1.DialogflowInteractionDataH\000\022\025\n\rannota" + - "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022Q\n\016start_boundary" + - "\030\003 \001(\01329.google.cloud.contactcenterinsig" + - "hts.v1.AnnotationBoundary\022O\n\014end_boundar" + - "y\030\004 \001(\01329.google.cloud.contactcenterinsi" + - "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" + - "dback\030\005 \001(\01325.google.cloud.contactcenter" + - "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" + - "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" + - "2F.google.cloud.contactcenterinsights.v1" + - ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" + - "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" + - "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" + - "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" + - "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" + - "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" + - "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" + - "2J.google.cloud.contactcenterinsights.v1" + - ".ArticleSuggestionData.MetadataEntry\022\024\n\014" + - "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" + - "tadataEntry\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\006answer\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.google.cloud.conta" + - "ctcenterinsights.v1.FaqAnswerData.Metada" + - "taEntry\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\005v" + - "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" + - "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" + - "tadata\030\003 \003(\0132C.google.cloud.contactcente" + - "rinsights.v1.SmartReplyData.MetadataEntr" + - "y\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\032Sma" + - "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " + - "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" + - "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" + - "ghts.v1.SmartComposeSuggestionData.Metad" + - "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" + - "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + - "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" + - "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" + - "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" + - "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" + - "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" + - "nterinsights.v1.ConversationParticipant." + - "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" + - "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" + - "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" + - "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" + - "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" + - "ogleapis.com/View\0224projects/{project}/lo" + - "cations/{location}/views/{view}B\354\003\n)com." + - "google.cloud.contactcenterinsights.v1B\016R" + - "esourcesProtoP\001ZZgoogle.golang.org/genpr" + - "oto/googleapis/cloud/contactcenterinsigh" + - "ts/v1;contactcenterinsights\252\002%Google.Clo" + - "ud.ContactCenterInsights.V1\312\002%Google\\Clo" + - "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" + - "oud::ContactCenterInsights::V1\352A\324\001\n%dial" + - "ogflow.googleapis.com/Participant\022Jproje" + - "cts/{project}/conversations/{conversatio" + - "n}/participants/{participant}\022_projects/" + - "{project}/locations/{location}/conversat" + - "ions/{conversation}/participants/{partic" + - "ipant}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", }); - 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", "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_IssueModel_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = - getDescriptor().getMessageTypes().get(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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", }); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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(36); - 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(37); - 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(38); - 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", }); - 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java deleted file mode 100644 index c865e05a..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 52d1662c..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 77ed1a9e..00000000 --- a/owl-bot-staging/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 { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java index 5ee35bdb..25f7dfe2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java @@ -1,40 +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; } + private Analysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,58 +70,67 @@ private Analysis( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (requestTime_ != null) { - subBuilder = requestTime_.toBuilder(); - } - requestTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestTime_); - requestTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (requestTime_ != null) { + subBuilder = requestTime_.toBuilder(); + } + requestTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestTime_); + requestTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; - if (analysisResult_ != null) { - subBuilder = analysisResult_.toBuilder(); - } - analysisResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisResult_); - analysisResult_ = subBuilder.buildPartial(); + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; + if (analysisResult_ != null) { + subBuilder = analysisResult_.toBuilder(); + } + analysisResult_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisResult_); + analysisResult_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,29 +138,33 @@ private Analysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -142,6 +172,7 @@ private Analysis(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -150,14 +181,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:
@@ -165,16 +197,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 { @@ -185,11 +216,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 @@ -197,11 +232,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 @@ -209,11 +248,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() { @@ -223,12 +265,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 @@ -236,12 +282,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 @@ -249,12 +299,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() { @@ -264,12 +317,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 @@ -277,32 +335,45 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder + getAnalysisResultOrBuilder() { return getAnalysisResult(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +385,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_); } @@ -341,16 +411,13 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -360,29 +427,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -415,117 +479,126 @@ 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() @@ -533,16 +606,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +642,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 @@ -591,7 +663,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); + com.google.cloud.contactcenterinsights.v1.Analysis result = + new com.google.cloud.contactcenterinsights.v1.Analysis(this); result.name_ = name_; if (requestTimeBuilder_ == null) { result.requestTime_ = requestTime_; @@ -616,38 +689,39 @@ public com.google.cloud.contactcenterinsights.v1.Analysis 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.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; @@ -655,7 +729,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_; onChanged(); @@ -688,7 +763,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -700,6 +776,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -707,13 +785,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; @@ -722,6 +800,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -729,15 +809,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 { @@ -745,6 +824,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -752,20 +833,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -773,15 +856,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -789,16 +875,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -806,39 +892,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 requestTimeBuilder_ != null || 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. */ 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) { @@ -854,14 +959,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(); onChanged(); @@ -872,17 +980,23 @@ 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 (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -894,11 +1008,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() { if (requestTimeBuilder_ == null) { @@ -912,48 +1030,64 @@ 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() { - + onChanged(); 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_; @@ -961,42 +1095,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1012,15 +1165,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(); onChanged(); @@ -1031,18 +1187,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1054,12 +1214,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() { if (createTimeBuilder_ == null) { @@ -1073,51 +1237,67 @@ 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() { - + onChanged(); 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_; @@ -1125,44 +1305,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 analysisResultBuilder_ != null || 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. */ 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(); @@ -1176,12 +1376,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) { @@ -1195,18 +1399,25 @@ 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 (analysisResult_ != null) { analysisResult_ = - com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_) + .mergeFrom(value) + .buildPartial(); } else { analysisResult_ = value; } @@ -1218,12 +1429,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() { if (analysisResultBuilder_ == null) { @@ -1237,58 +1452,76 @@ 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() { + 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_; } + @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); } @@ -1298,12 +1531,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(); } @@ -1312,16 +1545,16 @@ 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 { - return new Analysis(input, extensionRegistry); - } - }; + 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 { + return new Analysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1569,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java index 80020b8f..d6a4eb43 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java +++ b/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,95 +47,131 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java index 807aef0a..a7566a9d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java @@ -1,39 +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; /** + * + * *
  * 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; } + private AnalysisResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,52 @@ private AnalysisResult( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder subBuilder = null; - if (metadataCase_ == 2) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_).toBuilder(); + break; } - metadata_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); - metadata_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder + subBuilder = null; + if (metadataCase_ == 2) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_) + .toBuilder(); + } + metadata_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_); + metadata_ = subBuilder.buildPartial(); + } + metadataCase_ = 2; + break; } - metadataCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,40 +121,46 @@ private AnalysisResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -135,6 +169,8 @@ public interface CallAnalysisMetadataOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index); /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -143,15 +179,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.
      * 
@@ -162,6 +202,8 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations int index); /** + * + * *
      * All the entities in the call.
      * 
@@ -170,21 +212,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.
      * 
@@ -192,8 +234,10 @@ boolean containsEntities( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ java.util.Map - getEntitiesMap(); + getEntitiesMap(); /** + * + * *
      * All the entities in the call.
      * 
@@ -202,66 +246,89 @@ boolean containsEntities( */ /* 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.
      * 
@@ -270,21 +337,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.
      * 
@@ -292,8 +359,10 @@ boolean containsIntents( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ java.util.Map - getIntentsMap(); + getIntentsMap(); /** + * + * *
      * All the matched intents in the call.
      * 
@@ -302,120 +371,148 @@ boolean containsIntents( */ /* 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(); @@ -423,16 +520,15 @@ 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; } + private CallAnalysisMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -452,83 +548,113 @@ private CallAnalysisMetadata( case 0: done = true; break; - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - annotations_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - entities_ = com.google.protobuf.MapField.newMapField( - EntitiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.CallAnnotation>(); + mutable_bitField0_ |= 0x00000001; + } + annotations_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), + extensionRegistry)); + break; } - com.google.protobuf.MapEntry - entities__ = input.readMessage( - EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - entities_.getMutableMap().put( - entities__.getKey(), entities__.getValue()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - sentiments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + entities_ = + com.google.protobuf.MapField.newMapField( + EntitiesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + entities__ = + input.readMessage( + EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + entities_.getMutableMap().put(entities__.getKey(), entities__.getValue()); + break; } - sentiments_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - intents_ = com.google.protobuf.MapField.newMapField( - IntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + sentiments_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>(); + mutable_bitField0_ |= 0x00000004; + } + sentiments_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + .parser(), + extensionRegistry)); + break; } - com.google.protobuf.MapEntry - intents__ = input.readMessage( - IntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - intents_.getMutableMap().put( - intents__.getKey(), intents__.getValue()); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - phraseMatchers_ = com.google.protobuf.MapField.newMapField( - PhraseMatchersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + case 50: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + intents_ = + com.google.protobuf.MapField.newMapField( + IntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + intents__ = + input.readMessage( + IntentsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + intents_.getMutableMap().put(intents__.getKey(), intents__.getValue()); + break; } - com.google.protobuf.MapEntry - phraseMatchers__ = input.readMessage( - PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - phraseMatchers_.getMutableMap().put( - phraseMatchers__.getKey(), phraseMatchers__.getValue()); - break; - } - case 66: { - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = null; - if (issueModelResult_ != null) { - subBuilder = issueModelResult_.toBuilder(); + case 58: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + phraseMatchers_ = + com.google.protobuf.MapField.newMapField( + PhraseMatchersDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000010; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + phraseMatchers__ = + input.readMessage( + PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + phraseMatchers_ + .getMutableMap() + .put(phraseMatchers__.getKey(), phraseMatchers__.getValue()); + break; } - issueModelResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModelResult_); - issueModelResult_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = + null; + if (issueModelResult_ != null) { + subBuilder = issueModelResult_.toBuilder(); + } + issueModelResult_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModelResult_); + issueModelResult_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,8 +662,7 @@ private CallAnalysisMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { annotations_ = java.util.Collections.unmodifiableList(annotations_); @@ -549,15 +674,15 @@ private CallAnalysisMetadata( makeExtensionsImmutable(); } } - 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(); @@ -566,21 +691,26 @@ 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; private java.util.List annotations_; /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -588,10 +718,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.
      * 
@@ -599,11 +732,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.
      * 
@@ -615,6 +751,8 @@ public int getAnnotationsCount() { return annotations_.size(); } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -626,6 +764,8 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i return annotations_.get(index); } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -633,30 +773,37 @@ 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()); } + + 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 - internalGetEntities() { + 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_; } @@ -665,28 +812,31 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** + * + * *
      * All the entities in the call.
      * 
* * 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.
      * 
@@ -694,11 +844,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.
      * 
@@ -706,16 +858,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
      * 
@@ -723,10 +877,11 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -736,84 +891,115 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public static final int SENTIMENTS_FIELD_NUMBER = 4; - 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()); } + + 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 - internalGetIntents() { + 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_; } @@ -822,28 +1008,31 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** + * + * *
      * All the matched intents in the call.
      * 
* * 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.
      * 
@@ -851,11 +1040,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.
      * 
@@ -863,16 +1054,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
      * 
@@ -880,10 +1073,11 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -893,21 +1087,30 @@ 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()); } + 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); @@ -919,70 +1122,89 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -992,11 +1214,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 @@ -1004,18 +1229,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.
      * 
@@ -1023,11 +1255,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder + getIssueModelResultOrBuilder() { return getIssueModelResult(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1039,32 +1273,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()); } @@ -1078,46 +1299,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1127,27 +1352,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1189,88 +1411,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 @@ -1280,24 +1515,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(); @@ -1306,13 +1544,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(); @@ -1321,35 +1558,39 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAnnotationsFieldBuilder(); getSentimentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1378,19 +1619,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); } @@ -1398,8 +1642,10 @@ 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); int from_bitField0_ = bitField0_; if (annotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1438,46 +1684,56 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMeta 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()) { @@ -1496,16 +1752,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()); if (sentimentsBuilder_ == null) { if (!other.sentiments_.isEmpty()) { if (sentiments_.isEmpty()) { @@ -1524,18 +1780,17 @@ 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()); - internalGetMutablePhraseMatchers().mergeFrom( - other.internalGetPhraseMatchers()); + internalGetMutableIntents().mergeFrom(other.internalGetIntents()); + internalGetMutablePhraseMatchers().mergeFrom(other.internalGetPhraseMatchers()); if (other.hasIssueModelResult()) { mergeIssueModelResult(other.getIssueModelResult()); } @@ -1554,11 +1809,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1567,28 +1825,39 @@ public Builder mergeFrom( } 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 { @@ -1596,11 +1865,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) { @@ -1610,11 +1882,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) { @@ -1624,11 +1899,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) { @@ -1645,14 +1923,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()); @@ -1663,13 +1945,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(); @@ -1683,11 +1969,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) { @@ -1704,11 +1993,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) { @@ -1722,14 +2014,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()); @@ -1740,18 +2036,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); @@ -1759,11 +2058,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) { @@ -1776,11 +2078,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) { @@ -1793,39 +2098,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 { @@ -1833,45 +2149,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(), @@ -1882,21 +2217,27 @@ 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 - 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 entities_; } - private com.google.protobuf.MapField - internalGetMutableEntities() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + internalGetMutableEntities() { + onChanged(); + ; 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(); @@ -1908,28 +2249,31 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** + * + * *
        * All the entities in the call.
        * 
* * 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.
        * 
@@ -1937,11 +2281,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.
        * 
@@ -1949,16 +2295,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
        * 
@@ -1966,10 +2314,11 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -1979,34 +2328,34 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public Builder clearEntities() { - 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() { + getMutableEntities() { return internalGetMutableEntities().getMutableMap(); } /** + * + * *
        * All the entities in the call.
        * 
@@ -2014,52 +2363,65 @@ 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableEntities().getMutableMap() - .put(key, value); + internalGetMutableEntities().getMutableMap().put(key, value); return this; } /** + * + * *
        * All the entities in the call.
        * 
* * 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); 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 { @@ -2067,11 +2429,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) { @@ -2081,13 +2447,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 { @@ -2095,11 +2466,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) { @@ -2116,14 +2491,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()); @@ -2134,13 +2515,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(); @@ -2154,11 +2540,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) { @@ -2175,14 +2565,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()); @@ -2193,14 +2588,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()); @@ -2211,18 +2612,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); @@ -2230,11 +2636,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) { @@ -2247,11 +2657,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) { @@ -2264,39 +2678,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 { @@ -2304,70 +2733,97 @@ 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 - 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_; } - private com.google.protobuf.MapField - internalGetMutableIntents() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + internalGetMutableIntents() { + onChanged(); + ; 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(); @@ -2379,28 +2835,31 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** + * + * *
        * All the matched intents in the call.
        * 
* * 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.
        * 
@@ -2408,11 +2867,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.
        * 
@@ -2420,16 +2881,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
        * 
@@ -2437,10 +2900,11 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -2450,34 +2914,34 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } public Builder clearIntents() { - 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() { + getMutableIntents() { return internalGetMutableIntents().getMutableMap(); } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2485,48 +2949,56 @@ 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableIntents().getMutableMap() - .put(key, value); + internalGetMutableIntents().getMutableMap().put(key, value); return this; } /** + * + * *
        * All the matched intents in the call.
        * 
* * 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); return this; } 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_; } - private com.google.protobuf.MapField - internalGetMutablePhraseMatchers() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + internalGetMutablePhraseMatchers() { + onChanged(); + ; 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(); @@ -2538,70 +3010,89 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -2609,104 +3100,129 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatche } public Builder clearPhraseMatchers() { - 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 - getMutablePhraseMatchers() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + getMutablePhraseMatchers() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutablePhraseMatchers().getMutableMap() - .put(key, value); + internalGetMutablePhraseMatchers().getMutableMap().put(key, value); 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); 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 issueModelResultBuilder_ != null || issueModelResult_ != null; } /** + * + * *
        * 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(); @@ -2720,11 +3236,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) { @@ -2738,17 +3257,24 @@ 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 (issueModelResult_ != null) { issueModelResult_ = - com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder(issueModelResult_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder( + issueModelResult_) + .mergeFrom(value) + .buildPartial(); } else { issueModelResult_ = value; } @@ -2760,11 +3286,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() { if (issueModelResultBuilder_ == null) { @@ -2778,52 +3307,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() { + 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) { @@ -2836,30 +3381,34 @@ 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 { - return new CallAnalysisMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallAnalysisMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2871,20 +3420,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; } @@ -2900,29 +3452,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 @@ -2930,43 +3489,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 @@ -2974,11 +3551,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 @@ -2986,6 +3566,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time at which the analysis ended.
    * 
@@ -2998,6 +3580,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3009,13 +3592,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_); } unknownFields.writeTo(output); } @@ -3027,12 +3612,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3042,23 +3629,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: @@ -3092,117 +3678,127 @@ 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() @@ -3210,16 +3806,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3235,9 +3830,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 @@ -3256,7 +3851,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); + com.google.cloud.contactcenterinsights.v1.AnalysisResult result = + new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); if (metadataCase_ == 2) { if (callAnalysisMetadataBuilder_ == null) { result.metadata_ = metadata_; @@ -3278,38 +3874,39 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult 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.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; @@ -3317,18 +3914,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.unknownFields); onChanged(); @@ -3349,7 +3949,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3358,12 +3959,12 @@ public Builder mergeFrom( } 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() { @@ -3373,15 +3974,22 @@ public Builder clearMetadata() { return this; } - 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 @@ -3389,35 +3997,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(); @@ -3431,14 +4053,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(); @@ -3449,18 +4076,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; } @@ -3476,11 +4116,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) { @@ -3499,79 +4143,115 @@ 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; } metadataCase_ = 2; - onChanged();; + onChanged(); + ; return callAnalysisMetadataBuilder_; } 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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -3582,6 +4262,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3602,14 +4284,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(); onChanged(); @@ -3620,6 +4303,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3630,7 +4315,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -3642,6 +4327,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3660,6 +4347,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3667,11 +4356,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 1; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3682,11 +4373,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.
      * 
@@ -3694,21 +4386,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); } @@ -3718,12 +4413,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(); } @@ -3732,16 +4427,16 @@ 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 { - return new AnalysisResult(input, extensionRegistry); - } - }; + 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 { + return new AnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3756,6 +4451,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java index 349628cc..5fd73819 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java index 86b3ad96..72f25519 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java @@ -1,39 +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; /** + * + * *
  * 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; } + private AnnotationBoundary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,24 @@ private AnnotationBoundary( case 0: done = true; break; - case 8: { - - transcriptIndex_ = input.readInt32(); - break; - } - case 24: { - detailedBoundary_ = input.readInt32(); - detailedBoundaryCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + transcriptIndex_ = input.readInt32(); + break; + } + case 24: + { + detailedBoundary_ = input.readInt32(); + detailedBoundaryCase_ = 3; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,34 +93,39 @@ private AnnotationBoundary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; } @@ -119,30 +141,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 @@ -150,12 +177,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 @@ -169,12 +199,15 @@ public int getWordIndex() { public static final int TRANSCRIPT_INDEX_FIELD_NUMBER = 1; 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 @@ -183,6 +216,7 @@ public int getTranscriptIndex() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,14 +228,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_)); } unknownFields.writeTo(output); } @@ -213,13 +245,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,20 +260,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: @@ -274,117 +304,127 @@ 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() @@ -392,16 +432,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -413,13 +452,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(); } @@ -434,7 +474,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = + new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); if (detailedBoundaryCase_ == 3) { result.detailedBoundary_ = detailedBoundary_; } @@ -448,38 +489,39 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary 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.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; @@ -487,18 +529,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.unknownFields); onChanged(); @@ -519,7 +565,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,12 +575,12 @@ public Builder mergeFrom( } 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() { @@ -543,26 +590,31 @@ public Builder clearDetailedBoundary() { 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 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() { @@ -572,12 +624,15 @@ 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. */ @@ -588,12 +643,15 @@ public Builder setWordIndex(int value) { 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() { @@ -605,14 +663,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 @@ -620,39 +681,45 @@ 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; 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() { - + transcriptIndex_ = 0; 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); } @@ -662,12 +729,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(); } @@ -676,16 +744,16 @@ 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 { - return new AnnotationBoundary(input, extensionRegistry); - } - }; + 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 { + return new AnnotationBoundary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -700,6 +768,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java index c2a96449..79e6b46f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java index a4a2a17c..c9fe577f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java +++ b/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,31 +28,31 @@
  *
  * 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;
   }
+
   private AnswerFeedback(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,29 +71,30 @@ private AnswerFeedback(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
-
-            correctnessLevel_ = rawValue;
-            break;
-          }
-          case 16: {
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            clicked_ = input.readBool();
-            break;
-          }
-          case 24: {
-
-            displayed_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              correctnessLevel_ = rawValue;
+              break;
+            }
+          case 16:
+            {
+              clicked_ = input.readBool();
+              break;
+            }
+          case 24:
+            {
+              displayed_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -84,36 +102,41 @@ private AnswerFeedback(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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.
      * 
@@ -122,6 +145,8 @@ public enum CorrectnessLevel */ CORRECTNESS_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Answer is totally wrong.
      * 
@@ -130,6 +155,8 @@ public enum CorrectnessLevel */ NOT_CORRECT(1), /** + * + * *
      * Answer is partially correct.
      * 
@@ -138,6 +165,8 @@ public enum CorrectnessLevel */ PARTIALLY_CORRECT(2), /** + * + * *
      * Answer is fully correct.
      * 
@@ -149,6 +178,8 @@ public enum CorrectnessLevel ; /** + * + * *
      * Correctness level unspecified.
      * 
@@ -157,6 +188,8 @@ public enum CorrectnessLevel */ public static final int CORRECTNESS_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Answer is totally wrong.
      * 
@@ -165,6 +198,8 @@ public enum CorrectnessLevel */ public static final int NOT_CORRECT_VALUE = 1; /** + * + * *
      * Answer is partially correct.
      * 
@@ -173,6 +208,8 @@ public enum CorrectnessLevel */ public static final int PARTIALLY_CORRECT_VALUE = 2; /** + * + * *
      * Answer is fully correct.
      * 
@@ -181,7 +218,6 @@ public enum CorrectnessLevel */ public static final int FULLY_CORRECT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -206,41 +242,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(); @@ -248,8 +290,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; @@ -269,38 +310,58 @@ private CorrectnessLevel(int value) { public static final int CORRECTNESS_LEVEL_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(correctnessLevel_); - return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( + correctnessLevel_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED + : result; } public static final int CLICKED_FIELD_NUMBER = 2; private boolean clicked_; /** + * + * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; + * * @return The clicked. */ @java.lang.Override @@ -311,12 +372,15 @@ public boolean getClicked() { public static final int DISPLAYED_FIELD_NUMBER = 3; 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 @@ -325,6 +389,7 @@ public boolean getDisplayed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,9 +401,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) { @@ -356,17 +423,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -376,18 +443,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -402,107 +468,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) + unknownFields.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.
@@ -510,21 +582,23 @@ 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()
@@ -532,16 +606,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -555,9 +628,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
@@ -576,7 +649,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);
+      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result =
+          new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
       result.correctnessLevel_ = correctnessLevel_;
       result.clicked_ = clicked_;
       result.displayed_ = displayed_;
@@ -588,38 +662,39 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback 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.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;
@@ -627,7 +702,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());
       }
@@ -656,7 +732,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -668,85 +745,120 @@ public Builder mergeFrom(
 
     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. */ public Builder setCorrectnessLevelValue(int value) { - + correctnessLevel_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(correctnessLevel_); - return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( + 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(); } - + correctnessLevel_ = value.getNumber(); onChanged(); 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() { - + correctnessLevel_ = 0; onChanged(); 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 @@ -754,43 +866,52 @@ 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; 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() { - + clicked_ = false; onChanged(); 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 @@ -798,39 +919,45 @@ 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; 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() { - + displayed_ = false; 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); } @@ -840,12 +967,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(); } @@ -854,16 +981,16 @@ 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 { - return new AnswerFeedback(input, extensionRegistry); - } - }; + 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 { + return new AnswerFeedback(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -878,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java index 9109a2a6..886b137b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java index 3557479e..be63818f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java +++ b/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,16 +46,15 @@ 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; } + private ArticleSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,55 +74,61 @@ private ArticleSuggestionData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; - break; - } - case 29: { + title_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - confidenceScore_ = input.readFloat(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + uri_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 29: + { + confidenceScore_ = input.readFloat(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + queryRecord_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + source_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,46 +136,50 @@ private ArticleSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object title_; /** + * + * *
    * Article title.
    * 
* * string title = 1; + * * @return The title. */ @java.lang.Override @@ -161,29 +188,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 { @@ -194,11 +221,14 @@ public java.lang.String getTitle() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
    * Article URI.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -207,29 +237,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 { @@ -240,6 +270,8 @@ public java.lang.String getUri() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 3; 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
@@ -247,6 +279,7 @@ public java.lang.String getUri() {
    * 
* * float confidence_score = 3; + * * @return The confidenceScore. */ @java.lang.Override @@ -255,24 +288,23 @@ 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, + ""); } - 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_; } @@ -281,6 +313,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -288,22 +322,22 @@ 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.
@@ -312,11 +346,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -325,16 +360,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -343,12 +379,11 @@ public 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();
     }
@@ -358,6 +393,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -365,6 +402,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ @java.lang.Override @@ -373,14 +411,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:
@@ -388,16 +427,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 { @@ -408,6 +446,8 @@ public java.lang.String getQueryRecord() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -415,6 +455,7 @@ public java.lang.String getQueryRecord() {
    * 
* * string source = 6; + * * @return The source. */ @java.lang.Override @@ -423,14 +464,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:
@@ -438,16 +480,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 { @@ -456,6 +497,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -467,8 +509,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_); } @@ -478,12 +519,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_); } @@ -506,18 +543,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_); @@ -533,26 +569,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -569,8 +600,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(); @@ -585,139 +615,147 @@ 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() @@ -725,16 +763,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -753,13 +790,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(); } @@ -774,7 +812,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = + new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); int from_bitField0_ = bitField0_; result.title_ = title_; result.uri_ = uri_; @@ -791,46 +830,50 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData buildPart 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_; onChanged(); @@ -842,8 +885,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -871,7 +913,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -880,22 +924,25 @@ public Builder mergeFrom( } 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; @@ -904,20 +951,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 { @@ -925,54 +973,61 @@ 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) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Article title.
      * 
* * string title = 1; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); 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) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -980,18 +1035,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; @@ -1000,20 +1057,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 { @@ -1021,61 +1079,70 @@ 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) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Article URI.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); 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) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); 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
@@ -1083,6 +1150,7 @@ public Builder setUriBytes(
      * 
* * float confidence_score = 3; + * * @return The confidenceScore. */ @java.lang.Override @@ -1090,6 +1158,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
@@ -1097,16 +1167,19 @@ 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; 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
@@ -1114,31 +1187,32 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 3; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -1150,6 +1224,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1157,22 +1233,22 @@ 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.
@@ -1181,11 +1257,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1194,16 +1271,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -1212,12 +1290,11 @@ public 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();
       }
@@ -1225,11 +1302,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1237,23 +1315,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1261,19 +1337,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1281,16 +1358,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1298,13 +1374,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; @@ -1313,6 +1389,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1320,15 +1398,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 { @@ -1336,6 +1413,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1343,20 +1422,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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1364,15 +1445,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 5; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1380,16 +1464,16 @@ 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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1397,6 +1481,8 @@ public Builder setQueryRecordBytes( private java.lang.Object source_ = ""; /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1404,13 +1490,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; @@ -1419,6 +1505,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1426,15 +1514,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 { @@ -1442,6 +1529,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1449,20 +1538,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) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1470,15 +1561,18 @@ public Builder setSource(
      * 
* * string source = 6; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1486,23 +1580,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) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1512,30 +1606,32 @@ 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 { - return new ArticleSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new ArticleSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1547,9 +1643,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java index 5a1c1aa3..b9567d83 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java +++ b/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.
@@ -104,11 +136,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -116,11 +150,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:
@@ -128,10 +162,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -139,12 +176,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:
@@ -152,10 +191,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:
@@ -163,8 +205,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java index 4574dc6f..63ecca06 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private CalculateIssueModelStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private CalculateIssueModelStatsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + issueModel_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,42 @@ private CalculateIssueModelStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +136,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 { @@ -140,6 +169,7 @@ public java.lang.String getIssueModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -176,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +234,146 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +383,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); } @@ -361,8 +406,10 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = + new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); result.issueModel_ = issueModel_; onBuilt(); return result; @@ -372,46 +419,52 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest 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_; onChanged(); @@ -431,11 +484,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +503,22 @@ public Builder mergeFrom( 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; @@ -467,20 +527,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 { @@ -488,61 +551,74 @@ 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) { + public Builder setIssueModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } + * + * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes( - com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = 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); } @@ -552,30 +628,33 @@ 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 { - return new CalculateIssueModelStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateIssueModelStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +666,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java new file mode 100644 index 00000000..a68d1613 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java index dcddf2a1..cbe8e2db 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java @@ -1,39 +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/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; } + private CalculateIssueModelStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,31 @@ private CalculateIssueModelStatsResponse( case 0: done = true; break; - case 34: { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; - if (currentStats_ != null) { - subBuilder = currentStats_.toBuilder(); + case 34: + { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = + null; + if (currentStats_ != null) { + subBuilder = currentStats_.toBuilder(); + } + currentStats_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentStats_); + currentStats_ = subBuilder.buildPartial(); + } + + break; } - currentStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentStats_); - currentStats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,35 +101,41 @@ private CalculateIssueModelStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -115,19 +143,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.
@@ -136,11 +171,13 @@ 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() {
+  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
+      getCurrentStatsOrBuilder() {
     return getCurrentStats();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -152,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 (currentStats_ != null) {
       output.writeMessage(4, getCurrentStats());
     }
@@ -167,8 +203,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -178,17 +213,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -210,135 +246,152 @@ 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) 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
+      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) 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
+      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) 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(
+          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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,19 +405,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); } @@ -372,8 +428,10 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = + new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); if (currentStatsBuilder_ == null) { result.currentStats_ = currentStats_; } else { @@ -387,46 +445,52 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRespons 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()); } @@ -445,11 +509,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -461,36 +528,49 @@ public Builder mergeFrom( 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 currentStatsBuilder_ != null || 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. */ 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.
@@ -498,7 +578,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();
@@ -512,6 +593,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.
@@ -531,6 +614,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.
@@ -538,11 +623,15 @@ 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 (currentStats_ != null) {
           currentStats_ =
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(currentStats_).mergeFrom(value).buildPartial();
+              com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(
+                      currentStats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           currentStats_ = value;
         }
@@ -554,6 +643,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.
@@ -573,6 +664,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.
@@ -580,12 +673,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() {
+
       onChanged();
       return getCurrentStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -593,15 +689,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.
@@ -610,21 +710,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);
     }
 
@@ -634,30 +737,33 @@ 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 {
-      return new CalculateIssueModelStatsResponse(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new CalculateIssueModelStatsResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -669,9 +775,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
index 2eeb3b22..57c73991 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
+++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
index 27887c06..4c56e7d9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
+++ b/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,16 +44,15 @@ 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; } + private CalculateStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private CalculateStatsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + location_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private CalculateStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -116,29 +142,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 { @@ -149,12 +177,15 @@ public java.lang.String getLocation() { public static final int FILTER_FIELD_NUMBER = 2; 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 @@ -163,30 +194,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 { @@ -195,6 +226,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,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_); } @@ -237,17 +268,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ 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() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,13 +447,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(); } @@ -429,7 +469,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); result.location_ = location_; result.filter_ = filter_; onBuilt(); @@ -440,46 +481,50 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest buildPart 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_; onChanged(); @@ -507,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +566,22 @@ public Builder mergeFrom( 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; @@ -539,20 +590,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 { @@ -560,54 +614,67 @@ 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) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; 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() { - + location_ = getDefaultInstance().getLocation(); 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) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -615,19 +682,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; @@ -636,21 +705,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 { @@ -658,64 +728,71 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); 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; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -725,30 +802,32 @@ 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 { - return new CalculateStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,9 +839,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java index 4eb8ec0d..40e54fd5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java index 8735fabe..052c91e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private CalculateStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,101 +69,129 @@ private CalculateStatsResponse( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (averageDuration_ != null) { - subBuilder = averageDuration_.toBuilder(); - } - averageDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(averageDuration_); - averageDuration_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - - averageTurnCount_ = input.readInt32(); - break; - } - case 24: { + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (averageDuration_ != null) { + subBuilder = averageDuration_.toBuilder(); + } + averageDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(averageDuration_); + averageDuration_ = subBuilder.buildPartial(); + } - conversationCount_ = input.readInt32(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - smartHighlighterMatches_ = com.google.protobuf.MapField.newMapField( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + break; } - com.google.protobuf.MapEntry - smartHighlighterMatches__ = input.readMessage( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - smartHighlighterMatches_.getMutableMap().put( - smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - customHighlighterMatches_ = com.google.protobuf.MapField.newMapField( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 16: + { + averageTurnCount_ = input.readInt32(); + break; } - com.google.protobuf.MapEntry - customHighlighterMatches__ = input.readMessage( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - customHighlighterMatches_.getMutableMap().put( - customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - issueMatches_ = com.google.protobuf.MapField.newMapField( - IssueMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + case 24: + { + conversationCount_ = input.readInt32(); + break; } - com.google.protobuf.MapEntry - issueMatches__ = input.readMessage( - IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - issueMatches_.getMutableMap().put( - issueMatches__.getKey(), issueMatches__.getValue()); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder subBuilder = null; - if (conversationCountTimeSeries_ != null) { - subBuilder = conversationCountTimeSeries_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + smartHighlighterMatches_ = + com.google.protobuf.MapField.newMapField( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + smartHighlighterMatches__ = + input.readMessage( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + smartHighlighterMatches_ + .getMutableMap() + .put(smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); + break; } - conversationCountTimeSeries_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationCountTimeSeries_); - conversationCountTimeSeries_ = subBuilder.buildPartial(); + case 42: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + customHighlighterMatches_ = + com.google.protobuf.MapField.newMapField( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry + customHighlighterMatches__ = + input.readMessage( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + customHighlighterMatches_ + .getMutableMap() + .put(customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); + break; + } + case 50: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + issueMatches_ = + com.google.protobuf.MapField.newMapField( + IssueMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry issueMatches__ = + input.readMessage( + IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + issueMatches_.getMutableMap().put(issueMatches__.getKey(), issueMatches__.getValue()); + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder + subBuilder = null; + if (conversationCountTimeSeries_ != null) { + subBuilder = conversationCountTimeSeries_.toBuilder(); + } + conversationCountTimeSeries_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationCountTimeSeries_); + conversationCountTimeSeries_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - issueMatchesStats_ = com.google.protobuf.MapField.newMapField( - IssueMatchesStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + break; } - com.google.protobuf.MapEntry - issueMatchesStats__ = input.readMessage( - IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - issueMatchesStats_.getMutableMap().put( - issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 66: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + issueMatchesStats_ = + com.google.protobuf.MapField.newMapField( + IssueMatchesStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueMatchesStats__ = + input.readMessage( + IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + issueMatchesStats_ + .getMutableMap() + .put(issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,22 +199,21 @@ private CalculateStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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(); @@ -181,41 +224,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.
      * 
@@ -225,91 +279,118 @@ 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; } + private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -329,35 +410,44 @@ private TimeSeries( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (intervalDuration_ != null) { - subBuilder = intervalDuration_.toBuilder(); - } - intervalDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(intervalDuration_); - intervalDuration_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (intervalDuration_ != null) { + subBuilder = intervalDuration_.toBuilder(); + } + intervalDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(intervalDuration_); + intervalDuration_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - points_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + .TimeSeries.Interval>(); + mutable_bitField0_ |= 0x00000001; + } + points_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -365,8 +455,7 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -375,42 +464,55 @@ private TimeSeries( makeExtensionsImmutable(); } } - 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.
        * 
@@ -420,46 +522,51 @@ 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; } + private Interval( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -478,31 +585,33 @@ private Interval( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 16: + { + conversationCount_ = input.readInt32(); + break; } - - break; - } - case 16: { - - conversationCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -510,34 +619,42 @@ private Interval( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -545,11 +662,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 @@ -557,6 +677,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
        * The start time of this interval.
        * 
@@ -571,11 +693,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 2; private int conversationCount_; /** + * + * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; + * * @return The conversationCount. */ @java.lang.Override @@ -584,6 +709,7 @@ public int getConversationCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -595,8 +721,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()); } @@ -613,12 +738,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -628,20 +751,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -664,88 +789,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 @@ -755,44 +908,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -808,19 +970,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); } @@ -828,8 +994,12 @@ 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); + 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 (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -844,46 +1014,59 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri 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()); } @@ -905,11 +1088,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -921,34 +1108,47 @@ public Builder mergeFrom( 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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
          * 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.
          * 
@@ -969,14 +1169,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(); onChanged(); @@ -987,6 +1188,8 @@ public Builder setStartTime( return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -997,7 +1200,9 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_) + .mergeFrom(value) + .buildPartial(); } else { startTime_ = value; } @@ -1009,6 +1214,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -1027,6 +1234,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -1034,11 +1243,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
          * The start time of this interval.
          * 
@@ -1049,11 +1260,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.
          * 
@@ -1061,26 +1275,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 @@ -1088,34 +1308,41 @@ 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; onChanged(); return this; } /** + * + * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; + * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1128,30 +1355,36 @@ 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 { - return new Interval(input, extensionRegistry); - } - }; + 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 { + return new Interval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,20 +1396,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 @@ -1184,18 +1420,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.
      * 
@@ -1208,76 +1451,106 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { } public static final int POINTS_FIELD_NUMBER = 2; - 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; @@ -1289,8 +1562,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()); } @@ -1307,12 +1579,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1322,20 +1592,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1360,88 +1630,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 @@ -1451,45 +1734,52 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1509,19 +1799,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); } @@ -1529,8 +1822,10 @@ 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); int from_bitField0_ = bitField0_; if (intervalDurationBuilder_ == null) { result.intervalDuration_ = intervalDuration_; @@ -1554,46 +1849,55 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri 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()); } @@ -1615,9 +1919,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStat pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPointsFieldBuilder() : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPointsFieldBuilder() + : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -1638,11 +1943,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1651,38 +1959,52 @@ public Builder mergeFrom( } 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 intervalDurationBuilder_ != null || intervalDuration_ != null; } /** + * + * *
        * 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.
        * 
@@ -1703,14 +2025,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(); onChanged(); @@ -1721,6 +2044,8 @@ public Builder setIntervalDuration( return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1731,7 +2056,9 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { if (intervalDurationBuilder_ == null) { if (intervalDuration_ != null) { intervalDuration_ = - com.google.protobuf.Duration.newBuilder(intervalDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(intervalDuration_) + .mergeFrom(value) + .buildPartial(); } else { intervalDuration_ = value; } @@ -1743,6 +2070,8 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1761,6 +2090,8 @@ public Builder clearIntervalDuration() { return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1768,11 +2099,13 @@ public Builder clearIntervalDuration() { * .google.protobuf.Duration interval_duration = 1; */ public com.google.protobuf.Duration.Builder getIntervalDurationBuilder() { - + onChanged(); return getIntervalDurationFieldBuilder().getBuilder(); } /** + * + * *
        * The duration of each interval.
        * 
@@ -1783,11 +2116,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.
        * 
@@ -1795,41 +2131,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_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(points_); + points_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval>(points_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -1837,13 +2192,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) { @@ -1853,15 +2212,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 { @@ -1869,16 +2233,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(); @@ -1892,16 +2262,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()); @@ -1912,15 +2289,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(); @@ -1934,16 +2317,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(); @@ -1957,16 +2346,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()); @@ -1977,16 +2372,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()); @@ -1997,20 +2399,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); @@ -2018,13 +2427,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) { @@ -2037,13 +2450,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) { @@ -2056,45 +2473,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 { @@ -2102,59 +2537,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); points_ = null; } return pointsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2167,30 +2633,33 @@ 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 { - return new TimeSeries(input, extensionRegistry); - } - }; + 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 { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2202,21 +2671,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 @@ -2224,19 +2696,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.
@@ -2252,11 +2731,14 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
   public static final int AVERAGE_TURN_COUNT_FIELD_NUMBER = 2;
   private int averageTurnCount_;
   /**
+   *
+   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; + * * @return The averageTurnCount. */ @java.lang.Override @@ -2267,11 +2749,14 @@ public int getAverageTurnCount() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 3; private int conversationCount_; /** + * + * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; + * * @return The conversationCount. */ @java.lang.Override @@ -2280,21 +2765,23 @@ 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); } - 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); @@ -2306,6 +2793,8 @@ 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.
@@ -2313,22 +2802,22 @@ 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.
@@ -2337,11 +2826,12 @@ public java.util.Map getSmartHighlighterMat
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-
   public java.util.Map getSmartHighlighterMatchesMap() {
     return internalGetSmartHighlighterMatches().getMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2350,16 +2840,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.
@@ -2368,10 +2859,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)) {
@@ -2381,21 +2872,23 @@ 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);
   }
-  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);
@@ -2407,6 +2900,8 @@ 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.
@@ -2414,22 +2909,22 @@ 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.
@@ -2438,11 +2933,12 @@ public java.util.Map getCustomHighlighterMa
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-
   public java.util.Map getCustomHighlighterMatchesMap() {
     return internalGetCustomHighlighterMatches().getMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2451,16 +2947,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.
@@ -2469,10 +2966,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)) {
@@ -2482,32 +2979,36 @@ 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);
   }
-  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 
+
+  @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:
@@ -2517,22 +3018,23 @@ public int getIssueMatchesCount() {
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated 
+  @java.lang.Deprecated
   @java.lang.Override
-  public boolean containsIssueMatches(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  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:
@@ -2543,11 +3045,13 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated 
+  @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:
@@ -2558,16 +3062,17 @@ 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:
@@ -2578,12 +3083,12 @@ public int getIssueMatchesOrDefault(
    * 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();
     }
@@ -2591,21 +3096,34 @@ public int getIssueMatchesOrThrow(
   }
 
   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());
   }
+
+  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
-  internalGetIssueMatchesStats() {
+          java.lang.String,
+          com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+      internalGetIssueMatchesStats() {
     if (issueMatchesStats_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           IssueMatchesStatsDefaultEntryHolder.defaultEntry);
@@ -2617,78 +3135,104 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -2696,14 +3240,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 @@ -2711,32 +3261,47 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder + getConversationCountTimeSeriesOrBuilder() { return getConversationCountTimeSeries(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2748,8 +3313,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()); } @@ -2759,29 +3323,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, @@ -2796,60 +3353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2859,34 +3421,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2933,114 +3491,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(); @@ -3051,13 +3616,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(); @@ -3068,16 +3632,18 @@ 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() @@ -3085,16 +3651,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3122,13 +3687,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(); } @@ -3143,7 +3709,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); int from_bitField0_ = bitField0_; if (averageDurationBuilder_ == null) { result.averageDuration_ = averageDuration_; @@ -3173,46 +3740,50 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse buildPar 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()); } @@ -3222,14 +3793,12 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStat if (other.getConversationCount() != 0) { setConversationCount(other.getConversationCount()); } - internalGetMutableSmartHighlighterMatches().mergeFrom( - other.internalGetSmartHighlighterMatches()); - internalGetMutableCustomHighlighterMatches().mergeFrom( - other.internalGetCustomHighlighterMatches()); - internalGetMutableIssueMatches().mergeFrom( - other.internalGetIssueMatches()); - internalGetMutableIssueMatchesStats().mergeFrom( - other.internalGetIssueMatchesStats()); + internalGetMutableSmartHighlighterMatches() + .mergeFrom(other.internalGetSmartHighlighterMatches()); + internalGetMutableCustomHighlighterMatches() + .mergeFrom(other.internalGetCustomHighlighterMatches()); + internalGetMutableIssueMatches().mergeFrom(other.internalGetIssueMatches()); + internalGetMutableIssueMatchesStats().mergeFrom(other.internalGetIssueMatchesStats()); if (other.hasConversationCountTimeSeries()) { mergeConversationCountTimeSeries(other.getConversationCountTimeSeries()); } @@ -3252,7 +3821,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3261,40 +3832,54 @@ public Builder mergeFrom( } 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 averageDurationBuilder_ != null || 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. */ 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.
@@ -3316,6 +3901,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.
@@ -3323,8 +3910,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();
         onChanged();
@@ -3335,6 +3921,8 @@ public Builder setAverageDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3346,7 +3934,9 @@ public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       if (averageDurationBuilder_ == null) {
         if (averageDuration_ != null) {
           averageDuration_ =
-            com.google.protobuf.Duration.newBuilder(averageDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(averageDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           averageDuration_ = value;
         }
@@ -3358,6 +3948,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.
@@ -3377,6 +3969,8 @@ public Builder clearAverageDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3385,11 +3979,13 @@ public Builder clearAverageDuration() {
      * .google.protobuf.Duration average_duration = 1;
      */
     public com.google.protobuf.Duration.Builder getAverageDurationBuilder() {
-      
+
       onChanged();
       return getAverageDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3401,11 +3997,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.
@@ -3414,26 +4013,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 @@ -3441,42 +4046,51 @@ 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; onChanged(); return this; } /** + * + * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; + * * @return This builder for chaining. */ public Builder clearAverageTurnCount() { - + averageTurnCount_ = 0; onChanged(); return this; } - private int conversationCount_ ; + private int conversationCount_; /** + * + * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; + * * @return The conversationCount. */ @java.lang.Override @@ -3484,51 +4098,61 @@ 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; onChanged(); return this; } /** + * + * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; + * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); return this; } - 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_; } + private com.google.protobuf.MapField - internalGetMutableSmartHighlighterMatches() { - onChanged();; + internalGetMutableSmartHighlighterMatches() { + onChanged(); + ; 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(); @@ -3540,6 +4164,8 @@ 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.
@@ -3547,22 +4173,22 @@ 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.
@@ -3571,11 +4197,12 @@ public java.util.Map getSmartHighlighterMat
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-
     public java.util.Map getSmartHighlighterMatchesMap() {
       return internalGetSmartHighlighterMatches().getMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3584,16 +4211,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.
@@ -3602,10 +4230,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)) {
@@ -3615,11 +4243,12 @@ public int getSmartHighlighterMatchesOrThrow(
     }
 
     public Builder clearSmartHighlighterMatches() {
-      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.
@@ -3627,23 +4256,21 @@ 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() {
       return internalGetMutableSmartHighlighterMatches().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3651,16 +4278,17 @@ 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);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3668,30 +4296,32 @@ public Builder putSmartHighlighterMatches(
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
-
     public Builder putAllSmartHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableSmartHighlighterMatches().getMutableMap()
-          .putAll(values);
+      internalGetMutableSmartHighlighterMatches().getMutableMap().putAll(values);
       return this;
     }
 
-    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_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableCustomHighlighterMatches() {
-      onChanged();;
+        internalGetMutableCustomHighlighterMatches() {
+      onChanged();
+      ;
       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();
@@ -3703,6 +4333,8 @@ 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.
@@ -3710,22 +4342,22 @@ 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.
@@ -3734,11 +4366,12 @@ public java.util.Map getCustomHighlighterMa
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-
     public java.util.Map getCustomHighlighterMatchesMap() {
       return internalGetCustomHighlighterMatches().getMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3747,16 +4380,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.
@@ -3765,10 +4399,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)) {
@@ -3778,11 +4412,12 @@ public int getCustomHighlighterMatchesOrThrow(
     }
 
     public Builder clearCustomHighlighterMatches() {
-      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.
@@ -3790,23 +4425,21 @@ 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() {
       return internalGetMutableCustomHighlighterMatches().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3814,16 +4447,17 @@ 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);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3831,41 +4465,44 @@ public Builder putCustomHighlighterMatches(
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
-
     public Builder putAllCustomHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableCustomHighlighterMatches().getMutableMap()
-          .putAll(values);
+      internalGetMutableCustomHighlighterMatches().getMutableMap().putAll(values);
       return this;
     }
 
-    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_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableIssueMatches() {
-      onChanged();;
+        internalGetMutableIssueMatches() {
+      onChanged();
+      ;
       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();
       }
       return issueMatches_;
     }
-    @java.lang.Deprecated 
+
+    @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:
@@ -3875,22 +4512,23 @@ public int getIssueMatchesCount() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated 
+    @java.lang.Deprecated
     @java.lang.Override
-    public boolean containsIssueMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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:
@@ -3901,11 +4539,13 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated 
+    @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:
@@ -3916,16 +4556,17 @@ 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:
@@ -3936,24 +4577,26 @@ public int getIssueMatchesOrDefault(
      * 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 
+
+    @java.lang.Deprecated
     public Builder clearIssueMatches() {
-      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:
@@ -3963,23 +4606,22 @@ 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() {
       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:
@@ -3989,16 +4631,18 @@ public Builder removeIssueMatches(
      *
      * 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);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4008,30 +4652,38 @@ public Builder removeIssueMatches(
      *
      * 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);
       return this;
     }
 
     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_;
     }
-    private com.google.protobuf.MapField
-    internalGetMutableIssueMatchesStats() {
-      onChanged();;
+
+    private com.google.protobuf.MapField<
+            java.lang.String,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+        internalGetMutableIssueMatchesStats() {
+      onChanged();
+      ;
       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();
@@ -4043,78 +4695,105 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -4122,113 +4801,148 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } public Builder clearIssueMatchesStats() { - 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 - getMutableIssueMatchesStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getMutableIssueMatchesStats() { 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 (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableIssueMatchesStats().getMutableMap() - .put(key, value); + internalGetMutableIssueMatchesStats().getMutableMap().put(key, value); 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); 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 conversationCountTimeSeriesBuilder_ != null || 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. */ - 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(); @@ -4242,15 +4956,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(); onChanged(); @@ -4261,18 +4980,26 @@ 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 (conversationCountTimeSeries_ != null) { conversationCountTimeSeries_ = - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder(conversationCountTimeSeries_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .newBuilder(conversationCountTimeSeries_) + .mergeFrom(value) + .buildPartial(); } else { conversationCountTimeSeries_ = value; } @@ -4284,12 +5011,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() { if (conversationCountTimeSeriesBuilder_ == null) { @@ -4303,58 +5034,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() { + 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); } @@ -4364,30 +5115,32 @@ 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 { - return new CalculateStatsResponse(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4399,9 +5152,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java index 2093c6c8..fe7ed431 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java +++ b/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,11 +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.
@@ -112,11 +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.
@@ -126,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.
@@ -133,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.
@@ -149,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.
@@ -159,11 +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.
@@ -171,11 +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:
@@ -185,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:
@@ -196,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:
@@ -214,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:
@@ -226,11 +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:
@@ -240,103 +276,139 @@ int getIssueMatchesOrDefault(
    *
    * 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java index bf0ff36b..ebaa4b54 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java @@ -1,39 +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; /** + * + * *
  * 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; } + private CallAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,142 +68,187 @@ private CallAnnotation( case 0: done = true; break; - case 8: { - - channelTag_ = input.readInt32(); - break; - } - case 34: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (annotationStartBoundary_ != null) { - subBuilder = annotationStartBoundary_.toBuilder(); - } - annotationStartBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationStartBoundary_); - annotationStartBoundary_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (annotationEndBoundary_ != null) { - subBuilder = annotationEndBoundary_.toBuilder(); - } - annotationEndBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationEndBoundary_); - annotationEndBoundary_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; - if (dataCase_ == 10) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; - } - case 90: { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (dataCase_ == 11) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 11; - break; - } - case 98: { - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; - if (dataCase_ == 12) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); + case 8: + { + channelTag_ = input.readInt32(); + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); - data_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (annotationStartBoundary_ != null) { + subBuilder = annotationStartBoundary_.toBuilder(); + } + annotationStartBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationStartBoundary_); + annotationStartBoundary_ = subBuilder.buildPartial(); + } + + break; } - dataCase_ = 12; - break; - } - case 106: { - com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; - if (dataCase_ == 13) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); + case 42: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (annotationEndBoundary_ != null) { + subBuilder = annotationEndBoundary_.toBuilder(); + } + annotationEndBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationEndBoundary_); + annotationEndBoundary_ = subBuilder.buildPartial(); + } + + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.HoldData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); - data_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; + if (dataCase_ == 10) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; } - dataCase_ = 13; - break; - } - case 122: { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; - if (dataCase_ == 15) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_).toBuilder(); + case 90: + { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (dataCase_ == 11) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 11; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); - data_ = subBuilder.buildPartial(); + case 98: + { + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; + if (dataCase_ == 12) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 12; + break; } - dataCase_ = 15; - break; - } - case 130: { - com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; - if (dataCase_ == 16) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); + case 106: + { + com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; + if (dataCase_ == 13) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.HoldData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 13; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); - data_ = subBuilder.buildPartial(); + case 122: + { + com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; + if (dataCase_ == 15) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 15; + break; } - dataCase_ = 16; - break; - } - case 138: { - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; - if (dataCase_ == 17) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); + case 130: + { + com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; + if (dataCase_ == 16) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 16; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); - data_ = subBuilder.buildPartial(); + case 138: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; + if (dataCase_ == 17) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 17; + break; } - dataCase_ = 17; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -195,30 +256,34 @@ private CallAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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), @@ -229,6 +294,7 @@ public enum DataCase PHRASE_MATCH_DATA(17), DATA_NOT_SET(0); private final int value; + private DataCase(int value) { this.value = value; } @@ -244,35 +310,46 @@ 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 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 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 @@ -280,21 +357,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.
    * 
@@ -302,20 +384,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 @@ -323,21 +409,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.
    * 
@@ -345,20 +436,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 @@ -366,21 +461,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.
    * 
@@ -390,18 +490,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 @@ -409,21 +512,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.
    * 
@@ -433,18 +541,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 @@ -452,21 +563,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.
    * 
@@ -474,20 +590,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 @@ -495,21 +615,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.
    * 
@@ -517,20 +642,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 @@ -538,21 +667,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.
    * 
@@ -560,9 +694,10 @@ 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(); } @@ -570,12 +705,15 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhr public static final int CHANNEL_TAG_FIELD_NUMBER = 1; 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 @@ -586,11 +724,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 @@ -598,37 +740,51 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationStartBoundaryOrBuilder() { return getAnnotationStartBoundary(); } 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,30 +792,41 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationEndBoundaryOrBuilder() { return getAnnotationEndBoundary(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -671,8 +838,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_); } @@ -713,44 +879,50 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -760,54 +932,45 @@ 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 0: default: @@ -871,117 +1034,127 @@ 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() @@ -989,16 +1162,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1022,9 +1194,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 @@ -1043,7 +1215,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); + com.google.cloud.contactcenterinsights.v1.CallAnnotation result = + new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); if (dataCase_ == 10) { if (interruptionDataBuilder_ == null) { result.data_ = data_; @@ -1113,38 +1286,39 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation 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.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; @@ -1152,7 +1326,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()); } @@ -1163,37 +1338,45 @@ 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 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 DATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1214,7 +1397,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1223,12 +1407,12 @@ public Builder mergeFrom( } 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() { @@ -1238,15 +1422,20 @@ public Builder clearData() { return this; } - 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 @@ -1254,11 +1443,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 @@ -1276,13 +1468,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(); @@ -1296,6 +1491,8 @@ public Builder setInterruptionData(com.google.cloud.contactcenterinsights.v1.Int return this; } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1314,18 +1511,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; } @@ -1341,6 +1546,8 @@ public Builder mergeInterruptionData(com.google.cloud.contactcenterinsights.v1.I return this; } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1364,16 +1571,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.
      * 
@@ -1381,7 +1593,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 { @@ -1392,6 +1605,8 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getIn } } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1399,32 +1614,44 @@ 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()); data_ = null; } dataCase_ = 10; - onChanged();; + onChanged(); + ; return interruptionDataBuilder_; } 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 @@ -1432,11 +1659,14 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return The sentimentData. */ @java.lang.Override @@ -1454,6 +1684,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1474,6 +1706,8 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1492,18 +1726,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; } @@ -1519,6 +1760,8 @@ public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.Sent return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1542,16 +1785,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.
      * 
@@ -1559,7 +1807,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 { @@ -1570,6 +1819,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1577,32 +1828,44 @@ 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()); data_ = null; } dataCase_ = 11; - onChanged();; + onChanged(); + ; return sentimentDataBuilder_; } 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 @@ -1610,11 +1873,14 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** + * + * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return The silenceData. */ @java.lang.Override @@ -1632,6 +1898,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { } } /** + * + * *
      * Data specifying silence.
      * 
@@ -1652,6 +1920,8 @@ public Builder setSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceD return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1670,6 +1940,8 @@ public Builder setSilenceData( return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1678,10 +1950,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; } @@ -1697,6 +1973,8 @@ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.Silenc return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1720,6 +1998,8 @@ public Builder clearSilenceData() { return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1730,6 +2010,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD return getSilenceDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying silence.
      * 
@@ -1737,7 +2019,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 { @@ -1748,6 +2031,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilence } } /** + * + * *
      * Data specifying silence.
      * 
@@ -1755,32 +2040,44 @@ 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()); data_ = null; } dataCase_ = 12; - onChanged();; + onChanged(); + ; return silenceDataBuilder_; } 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 @@ -1788,11 +2085,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 @@ -1810,6 +2110,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { } } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1830,6 +2132,8 @@ public Builder setHoldData(com.google.cloud.contactcenterinsights.v1.HoldData va return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1848,6 +2152,8 @@ public Builder setHoldData( return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1856,10 +2162,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; } @@ -1875,6 +2184,8 @@ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1898,6 +2209,8 @@ public Builder clearHoldData() { return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1908,6 +2221,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldData.Builder getHoldDataBui return getHoldDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1926,6 +2241,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1933,32 +2250,45 @@ 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()); data_ = null; } dataCase_ = 13; - onChanged();; + onChanged(); + ; return holdDataBuilder_; } 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 @@ -1966,11 +2296,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 @@ -1988,13 +2322,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(); @@ -2008,11 +2346,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) { @@ -2026,18 +2367,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; } @@ -2053,11 +2403,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) { @@ -2076,24 +2429,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 { @@ -2104,39 +2465,54 @@ 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()); data_ = null; } dataCase_ = 15; - onChanged();; + onChanged(); + ; return entityMentionDataBuilder_; } 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 @@ -2144,11 +2520,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 @@ -2166,13 +2545,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(); @@ -2186,6 +2568,8 @@ public Builder setIntentMatchData(com.google.cloud.contactcenterinsights.v1.Inte return this; } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2204,18 +2588,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; } @@ -2231,6 +2622,8 @@ public Builder mergeIntentMatchData(com.google.cloud.contactcenterinsights.v1.In return this; } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2254,16 +2647,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.
      * 
@@ -2271,7 +2669,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 { @@ -2282,6 +2681,8 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getInt } } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2289,32 +2690,44 @@ 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()); data_ = null; } dataCase_ = 16; - onChanged();; + onChanged(); + ; return intentMatchDataBuilder_; } 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 @@ -2322,11 +2735,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 @@ -2344,13 +2760,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(); @@ -2364,6 +2783,8 @@ public Builder setPhraseMatchData(com.google.cloud.contactcenterinsights.v1.Phra return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2382,18 +2803,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; } @@ -2409,6 +2837,8 @@ public Builder mergePhraseMatchData(com.google.cloud.contactcenterinsights.v1.Ph return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2432,16 +2862,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.
      * 
@@ -2449,7 +2884,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 { @@ -2460,6 +2896,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhr } } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2467,32 +2905,41 @@ 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()); data_ = null; } dataCase_ = 17; - onChanged();; + onChanged(); + ; return phraseMatchDataBuilder_; } - 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 @@ -2500,32 +2947,38 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -2533,41 +2986,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 annotationStartBoundaryBuilder_ != null || 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. */ - 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(); @@ -2581,11 +3055,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) { @@ -2599,17 +3077,25 @@ 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 (annotationStartBoundary_ != null) { annotationStartBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationStartBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( + annotationStartBoundary_) + .mergeFrom(value) + .buildPartial(); } else { annotationStartBoundary_ = value; } @@ -2621,11 +3107,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() { if (annotationStartBoundaryBuilder_ == null) { @@ -2639,48 +3129,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() { + 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_; @@ -2688,41 +3196,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 annotationEndBoundaryBuilder_ != null || 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. */ 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(); @@ -2736,11 +3261,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) { @@ -2754,17 +3282,24 @@ 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 (annotationEndBoundary_ != null) { annotationEndBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationEndBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( + annotationEndBoundary_) + .mergeFrom(value) + .buildPartial(); } else { annotationEndBoundary_ = value; } @@ -2776,11 +3311,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() { if (annotationEndBoundaryBuilder_ == null) { @@ -2794,55 +3332,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() { + 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); } @@ -2852,12 +3405,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(); } @@ -2866,16 +3419,16 @@ 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 { - return new CallAnnotation(input, extensionRegistry); - } - }; + 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 { + return new CallAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2890,6 +3443,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java index 865ef46a..d584c2a6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java +++ b/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,69 +271,96 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder(); /** + * + * *
    * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java new file mode 100644 index 00000000..862e719f --- /dev/null +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java @@ -0,0 +1,1213 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022N\n\014conversation\030\002 \001(" + + "\01323.google.cloud.contactcenterinsights.v" + + "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" + + " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" + + "ent\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.contactcenterinsights.v" + + "1.ConversationView\"\200\001\n\031ListConversations" + + "Response\022J\n\rconversations\030\001 \003(\01323.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" + + "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" + + "contactcenterinsights.googleapis.com/Con" + + "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" + + "ontactcenterinsights.v1.ConversationView" + + "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" + + "sation\030\001 \001(\01323.google.cloud.contactcente" + + "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + + "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" + + "(\tB9\340A\002\372A3\n1contactcenterinsights.google" + + "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" + + "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" + + "\340A\002\372A3\n1contactcenterinsights.googleapis" + + ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" + + "ogle.cloud.contactcenterinsights.v1.Anal" + + "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" + + "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" + + ".googleapis.com/Conversation\022\021\n\tpage_siz" + + "e\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.contactcenterinsigh" + + "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" + + "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + + "\372A/\n-contactcenterinsights.googleapis.co" + + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" + + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" + + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" + + "htsDataRequest\022u\n\025big_query_destination\030" + + "\002 \001(\0132T.google.cloud.contactcenterinsigh" + + "ts.v1.ExportInsightsDataRequest.BigQuery" + + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" + + "ocations.googleapis.com/Location\022\016\n\006filt" + + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" + + "sition\030\005 \001(\0162Q.google.cloud.contactcente" + + "rinsights.v1.ExportInsightsDataRequest.W" + + "riteDisposition\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\035W" + + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" + + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" + + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" + + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" + + "oogle.cloud.contactcenterinsights.v1.Exp" + + "ortInsightsDataRequest\022*\n\016partial_errors" + + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" + + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" + + "uest\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.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" + + "lMetadata\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\022O\n\007re" + + "quest\030\003 \001(\0132>.google.cloud.contactcenter" + + "insights.v1.CreateIssueModelRequest\"\227\001\n\027" + + "UpdateIssueModelRequest\022K\n\013issue_model\030\001" + + " \001(\01321.google.cloud.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" + + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\"b\n\027Li" + + "stIssueModelsResponse\022G\n\014issue_models\030\001 " + + "\003(\01321.google.cloud.contactcenterinsights" + + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" + + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" + + "hts.googleapis.com/IssueModel\"`\n\027DeleteI" + + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "contactcenterinsights.googleapis.com/Iss" + + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" + + "create_time\030\001 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" + + ".google.cloud.contactcenterinsights.v1.D" + + "eleteIssueModelRequest\"`\n\027DeployIssueMod" + + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" + + "centerinsights.googleapis.com/IssueModel" + + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" + + "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.DeployIssueModelRequ" + + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" + + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" + + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" + + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" + + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" + + "\030\003 \001(\0132@.google.cloud.contactcenterinsig" + + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" + + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" + + "ctcenterinsights.googleapis.com/Issue\"\\\n" + + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" + + "A1\n/contactcenterinsights.googleapis.com" + + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" + + "ues\030\001 \003(\0132,.google.cloud.contactcenterin" + + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" + + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" + + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" + + "culateIssueModelStatsRequest\022L\n\013issue_mo" + + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + + ".googleapis.com/IssueModel\"v\n CalculateI" + + "ssueModelStatsResponse\022R\n\rcurrent_stats\030" + + "\004 \001(\0132;.google.cloud.contactcenterinsigh" + + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" + + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022Q\n\016" + + "phrase_matcher\030\002 \001(\01324.google.cloud.cont" + + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" + + "\215\001\n\031ListPhraseMatchersRequest\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_toke" + + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" + + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" + + "4.google.cloud.contactcenterinsights.v1." + + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" + + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" + + ":\340A\002\372A4\n2contactcenterinsights.googleapi" + + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" + + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" + + "centerinsights.googleapis.com/PhraseMatc" + + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" + + "rase_matcher\030\001 \001(\01324.google.cloud.contac" + + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" + + "(\tB5\340A\002\372A/\n-contactcenterinsights.google" + + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" + + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" + + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" + + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" + + "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." + + "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" + + "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" + + "actcenterinsights.googleapis.com/View\"t\n" + + "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" + + "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" + + ".cloud.contactcenterinsights.v1.View\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" + + "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" + + "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" + + "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + + ")contactcenterinsights.googleapis.com/Vi" + + "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" + + "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" + + ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" + + "rsation\022@.google.cloud.contactcenterinsi" + + "ghts.v1.CreateConversationRequest\0323.goog" + + "le.cloud.contactcenterinsights.v1.Conver" + + "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" + + "ocations/*}/conversations:\014conversation\332" + + "A#parent,conversation,conversation_id\022\374\001" + + "\n\022UpdateConversation\022@.google.cloud.cont" + + "actcenterinsights.v1.UpdateConversationR" + + "equest\0323.google.cloud.contactcenterinsig" + + "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" + + "sation.name=projects/*/locations/*/conve" + + "rsations/*}:\014conversation\332A\030conversation" + + ",update_mask\022\307\001\n\017GetConversation\022=.googl" + + "e.cloud.contactcenterinsights.v1.GetConv" + + "ersationRequest\0323.google.cloud.contactce" + + "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" + + "oogle.cloud.contactcenterinsights.v1.Lis" + + "tConversationsRequest\032@.google.cloud.con" + + "tactcenterinsights.v1.ListConversationsR" + + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" + + "locations/*}/conversations\332A\006parent\022\260\001\n\022" + + "DeleteConversation\022@.google.cloud.contac" + + "tcenterinsights.v1.DeleteConversationReq" + + "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" + + "le.cloud.contactcenterinsights.v1.Create" + + "AnalysisRequest\032\035.google.longrunning.Ope" + + "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" + + "loud.contactcenterinsights.v1.CreateIssu" + + "eModelRequest\032\035.google.longrunning.Opera" + + "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" + + "cations/*}/issueModels:\013issue_model\332A\022pa" + + "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" + + "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" + + ".google.cloud.contactcenterinsights.v1.U" + + "pdateIssueModelRequest\0321.google.cloud.co" + + "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" + + "J2;/v1/{issue_model.name=projects/*/loca" + + "tions/*/issueModels/*}:\013issue_model\332A\027is" + + "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" + + ";.google.cloud.contactcenterinsights.v1." + + "GetIssueModelRequest\0321.google.cloud.cont" + + "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" + + "//v1/{name=projects/*/locations/*/issueM" + + "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" + + "ogle.cloud.contactcenterinsights.v1.List" + + "IssueModelsRequest\032>.google.cloud.contac" + + "tcenterinsights.v1.ListIssueModelsRespon" + + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" + + "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" + + "ssueModel\022>.google.cloud.contactcenterin" + + "sights.v1.DeleteIssueModelRequest\032\035.goog" + + "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" + + "ame=projects/*/locations/*/issueModels/*" + + "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" + + "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" + + "l\022>.google.cloud.contactcenterinsights.v" + + "1.DeployIssueModelRequest\032\035.google.longr" + + "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" + + "ects/*/locations/*/issueModels/*}:deploy" + + ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" + + "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" + + "sueModel\022@.google.cloud.contactcenterins" + + "ights.v1.UndeployIssueModelRequest\032\035.goo" + + "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" + + "{name=projects/*/locations/*/issueModels" + + "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" + + "ModelResponse\022\032UndeployIssueModelMetadat" + + "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" + + "terinsights.v1.GetIssueRequest\032,.google." + + "cloud.contactcenterinsights.v1.Issue\"G\202\323" + + "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" + + "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" + + "sues\0228.google.cloud.contactcenterinsight" + + "s.v1.ListIssuesRequest\0329.google.cloud.co" + + "ntactcenterinsights.v1.ListIssuesRespons" + + "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" + + "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" + + "\013UpdateIssue\0229.google.cloud.contactcente" + + "rinsights.v1.UpdateIssueRequest\032,.google" + + ".cloud.contactcenterinsights.v1.Issue\"a\202" + + "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" + + "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" + + "ssue,update_mask\022\222\002\n\030CalculateIssueModel" + + "Stats\022F.google.cloud.contactcenterinsigh" + + "ts.v1.CalculateIssueModelStatsRequest\032G." + + "google.cloud.contactcenterinsights.v1.Ca" + + "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" + + "/v1/{issue_model=projects/*/locations/*/" + + "issueModels/*}:calculateIssueModelStats\332" + + "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." + + "google.cloud.contactcenterinsights.v1.Cr" + + "eatePhraseMatcherRequest\0324.google.cloud." + + "contactcenterinsights.v1.PhraseMatcher\"b" + + "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" + + "/*}/phraseMatchers:\016phrase_matcher\332A\025par" + + "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" + + ">.google.cloud.contactcenterinsights.v1." + + "GetPhraseMatcherRequest\0324.google.cloud.c" + + "ontactcenterinsights.v1.PhraseMatcher\"A\202" + + "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" + + "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" + + "atchers\022@.google.cloud.contactcenterinsi" + + "ghts.v1.ListPhraseMatchersRequest\032A.goog" + + "le.cloud.contactcenterinsights.v1.ListPh" + + "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" + + "t=projects/*/locations/*}/phraseMatchers" + + "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" + + "le.cloud.contactcenterinsights.v1.Delete" + + "PhraseMatcherRequest\032\026.google.protobuf.E" + + "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" + + "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" + + "tePhraseMatcher\022A.google.cloud.contactce" + + "nterinsights.v1.UpdatePhraseMatcherReque" + + "st\0324.google.cloud.contactcenterinsights." + + "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" + + "tcher.name=projects/*/locations/*/phrase" + + "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" + + "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" + + "ogle.cloud.contactcenterinsights.v1.Calc" + + "ulateStatsRequest\032=.google.cloud.contact" + + "centerinsights.v1.CalculateStatsResponse" + + "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" + + "ions/*}/conversations:calculateStats\332A\010l" + + "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" + + "ontactcenterinsights.v1.GetSettingsReque" + + "st\032/.google.cloud.contactcenterinsights." + + "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" + + "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" + + "eSettings\022<.google.cloud.contactcenterin" + + "sights.v1.UpdateSettingsRequest\032/.google" + + ".cloud.contactcenterinsights.v1.Settings" + + "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" + + "locations/*/settings}:\010settings\332A\024settin" + + "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" + + "loud.contactcenterinsights.v1.CreateView" + + "Request\032+.google.cloud.contactcenterinsi" + + "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" + + "ts/*/locations/*}/views:\004view\332A\013parent,v" + + "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" + + "nterinsights.v1.GetViewRequest\032+.google." + + "cloud.contactcenterinsights.v1.View\"8\202\323\344" + + "\223\002+\022)/v1/{name=projects/*/locations/*/vi" + + "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" + + "ud.contactcenterinsights.v1.ListViewsReq" + + "uest\0328.google.cloud.contactcenterinsight" + + "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" + + "ent=projects/*/locations/*}/views\332A\006pare" + + "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" + + "centerinsights.v1.UpdateViewRequest\032+.go" + + "ogle.cloud.contactcenterinsights.v1.View", + "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" + + "tions/*/views/*}:\004view\332A\020view,update_mas" + + "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" + + "enterinsights.v1.DeleteViewRequest\032\026.goo" + + "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" + + "ojects/*/locations/*/views/*}\332A\004name\032X\312A" + + "$contactcenterinsights.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\240\002\n)com.google.cloud.contactcente" + + "rinsights.v1B\032ContactCenterInsightsProto" + + "P\001ZZgoogle.golang.org/genproto/googleapi" + + "s/cloud/contactcenterinsights/v1;contact" + + "centerinsights\252\002%Google.Cloud.ContactCen" + + "terInsights.V1\312\002%Google\\Cloud\\ContactCen" + + "terInsights\\V1\352\002(Google::Cloud::ContactC" + + "enterInsights::V1b\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", + }); + 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_CreateAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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_ExportInsightsDataRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + 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(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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_CalculateIssueModelStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + 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(36); + 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(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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(42); + 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(43); + 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(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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(49); + 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(50); + 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java index 1ea5782f..22af8dc9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java +++ b/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,16 +48,15 @@ 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; } + private Conversation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,216 +76,265 @@ private Conversation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = null; - if (dataSource_ != null) { - subBuilder = dataSource_.toBuilder(); - } - dataSource_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataSource_); - dataSource_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = + null; + if (dataSource_ != null) { + subBuilder = dataSource_.toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataSource_); + dataSource_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - agentId_ = s; - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder subBuilder = null; - if (metadataCase_ == 7) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_).toBuilder(); + break; } - metadata_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); - metadata_ = subBuilder.buildPartial(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + agentId_ = s; + break; } - metadataCase_ = 7; - break; - } - case 66: { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = null; - if (transcript_ != null) { - subBuilder = transcript_.toBuilder(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - transcript_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transcript_); - transcript_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder + subBuilder = null; + if (metadataCase_ == 7) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) + metadata_) + .toBuilder(); + } + metadata_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) + metadata_); + metadata_ = subBuilder.buildPartial(); + } + metadataCase_ = 7; + break; } + case 66: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = + null; + if (transcript_ != null) { + subBuilder = transcript_.toBuilder(); + } + transcript_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transcript_); + transcript_ = subBuilder.buildPartial(); + } - break; - } - case 72: { - int rawValue = input.readEnum(); - - medium_ = rawValue; - break; - } - case 82: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); + break; } + case 72: + { + int rawValue = input.readEnum(); - break; - } - case 88: { + medium_ = rawValue; + break; + } + case 82: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); + } + duration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); + } - turnCount_ = input.readInt32(); - break; - } - case 98: { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (latestAnalysis_ != null) { - subBuilder = latestAnalysis_.toBuilder(); + break; } - latestAnalysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(latestAnalysis_); - latestAnalysis_ = subBuilder.buildPartial(); + case 88: + { + turnCount_ = input.readInt32(); + break; } + case 98: + { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (latestAnalysis_ != null) { + subBuilder = latestAnalysis_.toBuilder(); + } + latestAnalysis_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(latestAnalysis_); + latestAnalysis_ = subBuilder.buildPartial(); + } - break; - } - case 106: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - runtimeAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - runtimeAnnotations_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), extensionRegistry)); - break; - } - case 114: { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } - case 122: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationCase_ == 15) { - subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); + case 106: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + runtimeAnnotations_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation>(); + mutable_bitField0_ |= 0x00000002; + } + runtimeAnnotations_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), + extensionRegistry)); + break; } - expiration_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); - expiration_ = subBuilder.buildPartial(); + case 114: + { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; } - expirationCase_ = 15; - break; - } - case 130: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (expirationCase_ == 16) { - subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); + case 122: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationCase_ == 15) { + subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); + } + expiration_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); + expiration_ = subBuilder.buildPartial(); + } + expirationCase_ = 15; + break; } - expiration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); - expiration_ = subBuilder.buildPartial(); + case 130: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (expirationCase_ == 16) { + subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); + } + expiration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); + expiration_ = subBuilder.buildPartial(); + } + expirationCase_ = 16; + break; } - expirationCase_ = 16; - break; - } - case 138: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + case 138: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 146: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dialogflowIntents_ = + com.google.protobuf.MapField.newMapField( + DialogflowIntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + dialogflowIntents__ = + input.readMessage( + DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + dialogflowIntents_ + .getMutableMap() + .put(dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); + break; } + case 170: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 146: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dialogflowIntents_ = com.google.protobuf.MapField.newMapField( - DialogflowIntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + obfuscatedUserId_ = s; + break; } - com.google.protobuf.MapEntry - dialogflowIntents__ = input.readMessage( - DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - dialogflowIntents_.getMutableMap().put( - dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); - break; - } - case 170: { - java.lang.String s = input.readStringRequireUtf8(); - - obfuscatedUserId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -276,8 +342,7 @@ private Conversation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { runtimeAnnotations_ = java.util.Collections.unmodifiableList(runtimeAnnotations_); @@ -286,43 +351,48 @@ private Conversation( makeExtensionsImmutable(); } } - 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.
      * 
@@ -331,6 +401,8 @@ public enum Medium */ MEDIUM_UNSPECIFIED(0), /** + * + * *
      * The format for conversations that took place over the phone.
      * 
@@ -339,6 +411,8 @@ public enum Medium */ PHONE_CALL(1), /** + * + * *
      * The format for conversations that took place over chat.
      * 
@@ -350,6 +424,8 @@ public enum Medium ; /** + * + * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -358,6 +434,8 @@ public enum Medium */ public static final int MEDIUM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The format for conversations that took place over the phone.
      * 
@@ -366,6 +444,8 @@ public enum Medium */ public static final int PHONE_CALL_VALUE = 1; /** + * + * *
      * The format for conversations that took place over chat.
      * 
@@ -374,7 +454,6 @@ public enum Medium */ public static final int CHAT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -399,49 +478,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; @@ -458,61 +539,69 @@ 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; } + private CallMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -531,23 +620,23 @@ private CallMetadata( case 0: done = true; break; - case 8: { - - customerChannel_ = input.readInt32(); - break; - } - case 16: { - - agentChannel_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + customerChannel_ = input.readInt32(); + break; + } + case 16: + { + agentChannel_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,34 +644,39 @@ private CallMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; + * * @return The customerChannel. */ @java.lang.Override @@ -593,11 +687,14 @@ public int getCustomerChannel() { public static final int AGENT_CHANNEL_FIELD_NUMBER = 2; private int agentChannel_; /** + * + * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; + * * @return The agentChannel. */ @java.lang.Override @@ -606,6 +703,7 @@ public int getAgentChannel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,8 +715,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_); } @@ -635,12 +732,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -650,17 +745,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,87 +776,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 @@ -772,44 +874,49 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -821,14 +928,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 @@ -842,7 +951,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = + new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); result.customerChannel_ = customerChannel_; result.agentChannel_ = agentChannel_; onBuilt(); @@ -853,46 +963,53 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata build 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()); } @@ -918,7 +1035,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -928,13 +1047,16 @@ public Builder mergeFrom( return this; } - private int customerChannel_ ; + private int customerChannel_; /** + * + * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; + * * @return The customerChannel. */ @java.lang.Override @@ -942,42 +1064,51 @@ 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; onChanged(); return this; } /** + * + * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; + * * @return This builder for chaining. */ public Builder clearCustomerChannel() { - + customerChannel_ = 0; onChanged(); 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 @@ -985,34 +1116,41 @@ 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; onChanged(); return this; } /** + * + * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; + * * @return This builder for chaining. */ public Builder clearAgentChannel() { - + agentChannel_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1025,30 +1163,32 @@ 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 { - return new CallMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,92 +1200,120 @@ 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; } + private Transcript( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1165,22 +1333,29 @@ private Transcript( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transcriptSegments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transcriptSegments_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment>(); + mutable_bitField0_ |= 0x00000001; + } + transcriptSegments_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.parser(), + extensionRegistry)); + break; } - transcriptSegments_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1188,8 +1363,7 @@ private Transcript( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transcriptSegments_ = java.util.Collections.unmodifiableList(transcriptSegments_); @@ -1198,42 +1372,54 @@ private Transcript( makeExtensionsImmutable(); } } - 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.
        * 
@@ -1243,81 +1429,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.
@@ -1325,10 +1548,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.
@@ -1336,12 +1562,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
@@ -1350,83 +1578,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.
        * 
@@ -1436,21 +1706,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(); @@ -1459,16 +1733,15 @@ 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; } + private TranscriptSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1488,96 +1761,124 @@ private TranscriptSegment( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - text_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + text_ = s; + break; } - words_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.parser(), extensionRegistry)); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } - case 40: { - - channelTag_ = input.readInt32(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (messageTime_ != null) { - subBuilder = messageTime_.toBuilder(); + case 21: + { + confidence_ = input.readFloat(); + break; } - messageTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(messageTime_); - messageTime_ = subBuilder.buildPartial(); + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo>(); + mutable_bitField0_ |= 0x00000001; + } + words_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.parser(), + extensionRegistry)); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 74: { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder subBuilder = null; - if (segmentParticipant_ != null) { - subBuilder = segmentParticipant_.toBuilder(); + languageCode_ = s; + break; } - segmentParticipant_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentParticipant_); - segmentParticipant_ = subBuilder.buildPartial(); + case 40: + { + channelTag_ = input.readInt32(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (messageTime_ != null) { + subBuilder = messageTime_.toBuilder(); + } + messageTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(messageTime_); + messageTime_ = subBuilder.buildPartial(); + } - break; - } - case 82: { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder subBuilder = null; - if (dialogflowSegmentMetadata_ != null) { - subBuilder = dialogflowSegmentMetadata_.toBuilder(); - } - dialogflowSegmentMetadata_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dialogflowSegmentMetadata_); - dialogflowSegmentMetadata_ = subBuilder.buildPartial(); + break; } + case 74: + { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder + subBuilder = null; + if (segmentParticipant_ != null) { + subBuilder = segmentParticipant_.toBuilder(); + } + segmentParticipant_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentParticipant_); + segmentParticipant_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentiment_ != null) { - subBuilder = sentiment_.toBuilder(); + break; } - sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentiment_); - sentiment_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.Builder + subBuilder = null; + if (dialogflowSegmentMetadata_ != null) { + subBuilder = dialogflowSegmentMetadata_.toBuilder(); + } + dialogflowSegmentMetadata_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dialogflowSegmentMetadata_); + dialogflowSegmentMetadata_ = subBuilder.buildPartial(); + } + + break; } + case 90: + { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentiment_ != null) { + subBuilder = sentiment_.toBuilder(); + } + sentiment_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentiment_); + sentiment_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1585,8 +1886,8 @@ private TranscriptSegment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -1595,44 +1896,58 @@ private TranscriptSegment( makeExtensionsImmutable(); } } - 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.
@@ -1643,26 +1958,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.
@@ -1673,68 +1996,79 @@ 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; } + private WordInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1753,50 +2087,55 @@ private WordInfo( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startOffset_ != null) { - subBuilder = startOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startOffset_ != null) { + subBuilder = startOffset_.toBuilder(); + } + startOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startOffset_); + startOffset_ = subBuilder.buildPartial(); + } + + break; } - startOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startOffset_); - startOffset_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endOffset_ != null) { + subBuilder = endOffset_.toBuilder(); + } + endOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOffset_); + endOffset_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (endOffset_ != null) { - subBuilder = endOffset_.toBuilder(); + word_ = s; + break; } - endOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endOffset_); - endOffset_ = subBuilder.buildPartial(); + case 37: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - word_ = s; - break; - } - case 37: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1804,35 +2143,43 @@ private WordInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -1840,19 +2187,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.
@@ -1868,12 +2222,15 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
         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 @@ -1881,19 +2238,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.
@@ -1909,11 +2273,14 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
         public static final int WORD_FIELD_NUMBER = 3;
         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 @@ -1922,29 +2289,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 { @@ -1955,12 +2322,15 @@ public java.lang.String getWord() { public static final int CONFIDENCE_FIELD_NUMBER = 4; 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 @@ -1969,6 +2339,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1981,7 +2352,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()); } @@ -2004,19 +2375,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2026,28 +2394,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2070,95 +2442,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) + unknownFields.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 @@ -2168,44 +2570,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2229,19 +2640,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); } @@ -2249,8 +2667,14 @@ 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); + 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 (startOffsetBuilder_ == null) { result.startOffset_ = startOffset_; } else { @@ -2271,46 +2695,60 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr 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()); } @@ -2339,11 +2777,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2355,36 +2798,49 @@ public Builder mergeFrom( 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 startOffsetBuilder_ != null || 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. */ 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.
@@ -2406,6 +2862,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.
@@ -2413,8 +2871,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();
               onChanged();
@@ -2425,6 +2882,8 @@ public Builder setStartOffset(
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2436,7 +2895,9 @@ public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             if (startOffsetBuilder_ == null) {
               if (startOffset_ != null) {
                 startOffset_ =
-                  com.google.protobuf.Duration.newBuilder(startOffset_).mergeFrom(value).buildPartial();
+                    com.google.protobuf.Duration.newBuilder(startOffset_)
+                        .mergeFrom(value)
+                        .buildPartial();
               } else {
                 startOffset_ = value;
               }
@@ -2448,6 +2909,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.
@@ -2467,6 +2930,8 @@ public Builder clearStartOffset() {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2475,11 +2940,13 @@ public Builder clearStartOffset() {
            * .google.protobuf.Duration start_offset = 1;
            */
           public com.google.protobuf.Duration.Builder getStartOffsetBuilder() {
-            
+
             onChanged();
             return getStartOffsetFieldBuilder().getBuilder();
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2491,11 +2958,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.
@@ -2504,14 +2974,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_;
@@ -2519,36 +2992,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 endOffsetBuilder_ != null || 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. */ 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.
@@ -2570,6 +3056,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.
@@ -2577,8 +3065,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();
               onChanged();
@@ -2589,6 +3076,8 @@ public Builder setEndOffset(
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2600,7 +3089,9 @@ public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             if (endOffsetBuilder_ == null) {
               if (endOffset_ != null) {
                 endOffset_ =
-                  com.google.protobuf.Duration.newBuilder(endOffset_).mergeFrom(value).buildPartial();
+                    com.google.protobuf.Duration.newBuilder(endOffset_)
+                        .mergeFrom(value)
+                        .buildPartial();
               } else {
                 endOffset_ = value;
               }
@@ -2612,6 +3103,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.
@@ -2631,6 +3124,8 @@ public Builder clearEndOffset() {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2639,11 +3134,13 @@ public Builder clearEndOffset() {
            * .google.protobuf.Duration end_offset = 2;
            */
           public com.google.protobuf.Duration.Builder getEndOffsetBuilder() {
-            
+
             onChanged();
             return getEndOffsetFieldBuilder().getBuilder();
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2655,11 +3152,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.
@@ -2668,14 +3168,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_;
@@ -2683,18 +3186,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; @@ -2703,20 +3208,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 { @@ -2724,67 +3230,77 @@ 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) { + public Builder setWord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** + * + * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; + * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); 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) { + public Builder setWordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); 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 @@ -2792,36 +3308,43 @@ 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; 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() { - + confidence_ = 0F; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2834,30 +3357,36 @@ 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 { - return new WordInfo(input, extensionRegistry); - } - }; + 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 { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2869,58 +3398,67 @@ 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; } + private DialogflowSegmentMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2939,18 +3477,18 @@ private DialogflowSegmentMetadata( case 0: done = true; break; - case 8: { - - smartReplyAllowlistCovered_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + smartReplyAllowlistCovered_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2958,35 +3496,43 @@ private DialogflowSegmentMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
          * 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 @@ -2995,6 +3541,7 @@ public boolean getSmartReplyAllowlistCovered() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3007,7 +3554,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_); } @@ -3021,8 +3568,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3032,15 +3580,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3053,95 +3609,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) + unknownFields.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 @@ -3151,44 +3739,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3198,19 +3795,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); } @@ -3218,8 +3822,14 @@ 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); + 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); result.smartReplyAllowlistCovered_ = smartReplyAllowlistCovered_; onBuilt(); return result; @@ -3229,46 +3839,60 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr 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()); } @@ -3287,11 +3911,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3301,14 +3930,17 @@ public Builder mergeFrom( return this; } - 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 @@ -3316,36 +3948,43 @@ 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; 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() { - + smartReplyAllowlistCovered_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3358,30 +3997,36 @@ 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 { - return new DialogflowSegmentMetadata(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSegmentMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3393,20 +4038,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 @@ -3414,18 +4063,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.
        * 
@@ -3440,11 +4096,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int TEXT_FIELD_NUMBER = 1; private volatile java.lang.Object text_; /** + * + * *
        * The text of this segment.
        * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -3453,29 +4112,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 { @@ -3486,12 +4145,15 @@ public java.lang.String getText() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -3500,68 +4162,102 @@ public float getConfidence() { } public static final int WORDS_FIELD_NUMBER = 3; - 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; 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.
@@ -3569,6 +4265,7 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr
        * 
* * string language_code = 4; + * * @return The languageCode. */ @java.lang.Override @@ -3577,14 +4274,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.
@@ -3592,16 +4290,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 { @@ -3612,6 +4309,8 @@ public java.lang.String getLanguageCode() { public static final int CHANNEL_TAG_FIELD_NUMBER = 5; private int channelTag_; /** + * + * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -3620,6 +4319,7 @@ public java.lang.String getLanguageCode() {
        * 
* * int32 channel_tag = 5; + * * @return The channelTag. */ @java.lang.Override @@ -3630,11 +4330,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 @@ -3642,37 +4347,57 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder + getSegmentParticipantOrBuilder() { return getSegmentParticipant(); } 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 @@ -3680,37 +4405,56 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder + getDialogflowSegmentMetadataOrBuilder() { return getDialogflowSegmentMetadata(); } 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 @@ -3718,18 +4462,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.
        * 
@@ -3737,11 +4488,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentOrBuilder() { return getSentiment(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3753,8 +4506,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_); } @@ -3795,35 +4547,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3833,43 +4581,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3889,8 +4633,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(); @@ -3916,88 +4659,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 @@ -4007,45 +4778,55 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4091,19 +4872,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); } @@ -4111,8 +4896,12 @@ 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); int from_bitField0_ = bitField0_; if (messageTimeBuilder_ == null) { result.messageTime_ = messageTime_; @@ -4155,46 +4944,58 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr 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()); } @@ -4223,9 +5024,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation. wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWordsFieldBuilder() : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWordsFieldBuilder() + : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -4262,11 +5064,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4275,38 +5081,52 @@ public Builder mergeFrom( } 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 messageTimeBuilder_ != null || messageTime_ != null; } /** + * + * *
          * 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.
          * 
@@ -4327,14 +5147,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(); onChanged(); @@ -4345,6 +5166,8 @@ public Builder setMessageTime( return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4355,7 +5178,9 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { if (messageTime_ != null) { messageTime_ = - com.google.protobuf.Timestamp.newBuilder(messageTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(messageTime_) + .mergeFrom(value) + .buildPartial(); } else { messageTime_ = value; } @@ -4367,6 +5192,8 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4385,6 +5212,8 @@ public Builder clearMessageTime() { return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4392,11 +5221,13 @@ public Builder clearMessageTime() { * .google.protobuf.Timestamp message_time = 6; */ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { - + onChanged(); return getMessageTimeFieldBuilder().getBuilder(); } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4407,11 +5238,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.
          * 
@@ -4419,14 +5253,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_; @@ -4434,18 +5271,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; @@ -4454,20 +5293,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 { @@ -4475,67 +5315,77 @@ 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) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
          * The text of this segment.
          * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); 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 @@ -4543,57 +5393,82 @@ 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; 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() { - + confidence_ = 0F; onChanged(); 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_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(words_); + words_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo>(words_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -4601,11 +5476,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) { @@ -4615,13 +5494,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 { @@ -4629,14 +5514,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(); @@ -4650,14 +5542,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()); @@ -4668,13 +5567,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(); @@ -4688,14 +5594,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(); @@ -4709,14 +5622,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()); @@ -4727,14 +5646,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()); @@ -4745,18 +5671,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); @@ -4764,11 +5697,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) { @@ -4781,11 +5718,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) { @@ -4798,39 +5739,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 { @@ -4838,49 +5797,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; @@ -4888,6 +5878,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.
@@ -4895,13 +5887,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; @@ -4910,6 +5902,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.
@@ -4917,15 +5911,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 { @@ -4933,6 +5926,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.
@@ -4940,20 +5935,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) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4961,15 +5958,18 @@ public Builder setLanguageCode(
          * 
* * string language_code = 4; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4977,23 +5977,25 @@ 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) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); 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
@@ -5002,6 +6004,7 @@ public Builder setLanguageCodeBytes(
          * 
* * int32 channel_tag = 5; + * * @return The channelTag. */ @java.lang.Override @@ -5009,6 +6012,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
@@ -5017,16 +6022,19 @@ 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; onChanged(); return this; } /** + * + * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -5035,52 +6043,76 @@ public Builder setChannelTag(int value) {
          * 
* * int32 channel_tag = 5; + * * @return This builder for chaining. */ public Builder clearChannelTag() { - + channelTag_ = 0; onChanged(); 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 segmentParticipantBuilder_ != null || 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. */ - 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(); @@ -5094,14 +6126,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(); onChanged(); @@ -5112,17 +6149,25 @@ 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 (segmentParticipant_ != null) { segmentParticipant_ = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder(segmentParticipant_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder( + segmentParticipant_) + .mergeFrom(value) + .buildPartial(); } else { segmentParticipant_ = value; } @@ -5134,11 +6179,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() { if (segmentParticipantBuilder_ == null) { @@ -5152,90 +6201,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() { + 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 dialogflowSegmentMetadataBuilder_ != null || 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. */ - 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(); @@ -5249,14 +6347,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(); onChanged(); @@ -5267,17 +6371,28 @@ 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 (dialogflowSegmentMetadata_ != null) { dialogflowSegmentMetadata_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder(dialogflowSegmentMetadata_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.newBuilder( + dialogflowSegmentMetadata_) + .mergeFrom(value) + .buildPartial(); } else { dialogflowSegmentMetadata_ = value; } @@ -5289,11 +6404,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() { if (dialogflowSegmentMetadataBuilder_ == null) { @@ -5307,48 +6426,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() { + 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_; @@ -5356,34 +6502,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 sentimentBuilder_ != null || sentiment_ != null; } /** + * + * *
          * 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.
          * 
@@ -5404,6 +6563,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5422,17 +6583,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 (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) + .mergeFrom(value) + .buildPartial(); } else { sentiment_ = value; } @@ -5444,6 +6610,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5462,33 +6630,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() { + 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.
          * 
@@ -5496,18 +6673,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) { @@ -5520,30 +6701,36 @@ 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 { - return new TranscriptSegment(input, extensionRegistry); - } - }; + 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 { + return new TranscriptSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5555,73 +6742,103 @@ 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; - 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; @@ -5633,8 +6850,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)); } @@ -5648,8 +6864,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5659,15 +6875,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5689,87 +6905,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 @@ -5779,45 +7003,51 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTranscriptSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -5831,14 +7061,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 @@ -5852,7 +7084,8 @@ 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); int from_bitField0_ = bitField0_; if (transcriptSegmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -5871,46 +7104,53 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript buildPa 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()) { @@ -5929,9 +7169,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_); } @@ -5956,7 +7197,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5965,28 +7208,45 @@ public Builder mergeFrom( } 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 { @@ -5994,11 +7254,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) { @@ -6008,13 +7272,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 { @@ -6022,14 +7291,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(); @@ -6043,14 +7318,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()); @@ -6061,13 +7343,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(); @@ -6081,14 +7369,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(); @@ -6102,14 +7396,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()); @@ -6120,14 +7420,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()); @@ -6138,18 +7445,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); @@ -6157,11 +7471,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) { @@ -6174,11 +7492,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) { @@ -6191,39 +7513,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 { @@ -6231,45 +7571,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(), @@ -6278,6 +7651,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) { @@ -6290,30 +7664,32 @@ 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 { - return new Transcript(input, extensionRegistry); - } - }; + 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 { + return new Transcript(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6325,20 +7701,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; } @@ -6354,31 +7733,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; } @@ -6394,30 +7778,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 @@ -6425,43 +7816,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 @@ -6469,22 +7871,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.
@@ -6495,19 +7902,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 @@ -6515,22 +7925,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.
@@ -6541,7 +7956,7 @@ 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();
   }
@@ -6549,6 +7964,8 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -6556,6 +7973,7 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -6564,14 +7982,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:
@@ -6579,16 +7998,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 { @@ -6599,11 +8017,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 @@ -6611,18 +8032,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.
    * 
@@ -6630,18 +8058,23 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder + getDataSourceOrBuilder() { return getDataSource(); } 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 @@ -6649,11 +8082,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 @@ -6661,11 +8098,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() { @@ -6675,11 +8115,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 @@ -6687,11 +8131,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 @@ -6699,11 +8147,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() { @@ -6713,11 +8164,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 @@ -6725,11 +8179,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 @@ -6737,6 +8194,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which the conversation started.
    * 
@@ -6751,11 +8210,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object languageCode_; /** + * + * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; + * * @return The languageCode. */ @java.lang.Override @@ -6764,29 +8226,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 { @@ -6797,12 +8259,15 @@ public java.lang.String getLanguageCode() { public static final int AGENT_ID_FIELD_NUMBER = 5; 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 @@ -6811,30 +8276,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 { @@ -6843,24 +8308,23 @@ 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, + ""); } - 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_; } @@ -6869,6 +8333,8 @@ 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.
@@ -6876,22 +8342,22 @@ 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.
@@ -6900,11 +8366,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
   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.
@@ -6913,16 +8380,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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.
@@ -6931,12 +8398,11 @@ public 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();
     }
@@ -6946,11 +8412,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 @@ -6958,64 +8429,95 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder + getTranscriptOrBuilder() { return getTranscript(); } public static final int MEDIUM_FIELD_NUMBER = 9; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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 @@ -7023,11 +8525,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 @@ -7035,11 +8541,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() { @@ -7049,11 +8558,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int TURN_COUNT_FIELD_NUMBER = 11; 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 @@ -7064,11 +8576,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 @@ -7076,23 +8593,34 @@ 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() { @@ -7100,86 +8628,119 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnal } public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER = 13; - 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()); } + + 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 - internalGetDialogflowIntents() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + internalGetDialogflowIntents() { if (dialogflowIntents_ == null) { return com.google.protobuf.MapField.emptyMapField( DialogflowIntentsDefaultEntryHolder.defaultEntry); @@ -7191,78 +8752,95 @@ 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 com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -7272,11 +8850,14 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI public static final int OBFUSCATED_USER_ID_FIELD_NUMBER = 21; 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 @@ -7285,29 +8866,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 { @@ -7316,6 +8897,7 @@ public java.lang.String getObfuscatedUserId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7327,8 +8909,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_); } @@ -7344,19 +8925,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) { @@ -7383,8 +8963,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, @@ -7405,82 +8984,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_); @@ -7493,70 +9071,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: @@ -7564,12 +9127,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: @@ -7663,143 +9224,151 @@ 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() @@ -7807,17 +9376,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRuntimeAnnotationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7891,9 +9460,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 @@ -7912,7 +9481,8 @@ 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); int from_bitField0_ = bitField0_; if (metadataCase_ == 7) { if (callMetadataBuilder_ == null) { @@ -7999,38 +9569,39 @@ public com.google.cloud.contactcenterinsights.v1.Conversation 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.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; @@ -8038,7 +9609,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_; onChanged(); @@ -8063,8 +9635,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation agentId_ = other.agentId_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasTranscript()) { mergeTranscript(other.getTranscript()); } @@ -8098,41 +9669,46 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation runtimeAnnotationsBuilder_ = null; runtimeAnnotations_ = other.runtimeAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - 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()); if (!other.getObfuscatedUserId().isEmpty()) { obfuscatedUserId_ = other.obfuscatedUserId_; 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.unknownFields); onChanged(); @@ -8153,7 +9729,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8162,12 +9739,12 @@ public Builder mergeFrom( } 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() { @@ -8179,10 +9756,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() { @@ -8195,13 +9771,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 @@ -8209,11 +9792,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 @@ -8222,22 +9809,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(); @@ -8251,14 +9844,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(); @@ -8269,18 +9866,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; } @@ -8296,11 +9903,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) { @@ -8319,68 +9929,94 @@ 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()); metadata_ = null; } metadataCase_ = 7; - onChanged();; + onChanged(); + ; return callMetadataBuilder_; } 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 @@ -8388,12 +10024,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 @@ -8411,6 +10050,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.
@@ -8432,6 +10073,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.
@@ -8439,8 +10082,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();
@@ -8451,6 +10093,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.
@@ -8460,10 +10104,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;
         }
@@ -8479,6 +10125,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.
@@ -8503,6 +10151,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.
@@ -8514,6 +10164,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.
@@ -8533,6 +10185,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.
@@ -8541,33 +10195,43 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return expireTimeBuilder_;
     }
 
     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 @@ -8575,12 +10239,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 @@ -8598,6 +10265,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.
@@ -8619,6 +10288,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.
@@ -8626,8 +10297,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();
@@ -8638,6 +10308,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.
@@ -8647,10 +10319,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;
         }
@@ -8666,6 +10340,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.
@@ -8690,6 +10366,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.
@@ -8701,6 +10379,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.
@@ -8720,6 +10400,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.
@@ -8728,26 +10410,32 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return ttlBuilder_;
     }
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8755,13 +10443,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; @@ -8770,6 +10458,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8777,15 +10467,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 { @@ -8793,6 +10482,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8800,20 +10491,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8821,15 +10514,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8837,16 +10533,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -8854,41 +10550,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 dataSourceBuilder_ != null || dataSource_ != null; } /** + * + * *
      * 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(); @@ -8902,6 +10612,8 @@ public Builder setDataSource(com.google.cloud.contactcenterinsights.v1.Conversat return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -8920,17 +10632,23 @@ 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 (dataSource_ != null) { dataSource_ = - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder(dataSource_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder( + dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -8942,6 +10660,8 @@ public Builder mergeDataSource(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -8960,33 +10680,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() { + 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.
      * 
@@ -8994,14 +10723,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_; @@ -9009,39 +10741,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 createTimeBuilder_ != null || 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. */ 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) { @@ -9057,14 +10808,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(); onChanged(); @@ -9075,17 +10829,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -9097,11 +10855,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() { if (createTimeBuilder_ == null) { @@ -9115,48 +10877,64 @@ 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() { - + onChanged(); 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_; @@ -9164,39 +10942,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -9212,14 +11009,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(); onChanged(); @@ -9230,17 +11030,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -9252,11 +11056,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() { if (updateTimeBuilder_ == null) { @@ -9270,48 +11078,64 @@ 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() { - + onChanged(); 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_; @@ -9319,24 +11143,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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -9347,6 +11180,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9367,14 +11202,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(); onChanged(); @@ -9385,6 +11221,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9395,7 +11233,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -9407,6 +11245,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9425,6 +11265,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9432,11 +11274,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 17; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9447,11 +11291,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.
      * 
@@ -9459,14 +11304,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_; @@ -9474,18 +11322,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; @@ -9494,20 +11344,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 { @@ -9515,54 +11366,61 @@ 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) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); 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) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -9570,19 +11428,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; @@ -9591,21 +11451,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 { @@ -9613,78 +11474,84 @@ 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) { + public Builder setAgentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + agentId_ = value; 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() { - + agentId_ = getDefaultInstance().getAgentId(); onChanged(); 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) { + public Builder setAgentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + agentId_ = value; onChanged(); 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -9696,6 +11563,8 @@ 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.
@@ -9703,22 +11572,22 @@ 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.
@@ -9727,11 +11596,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     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.
@@ -9740,16 +11610,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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.
@@ -9758,12 +11629,11 @@ public 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();
       }
@@ -9771,11 +11641,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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.
@@ -9783,23 +11654,21 @@ 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() {
       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.
@@ -9807,19 +11676,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       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.
@@ -9827,51 +11697,68 @@ 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);
       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 transcriptBuilder_ != null || 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. */ 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(); @@ -9885,11 +11772,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) { @@ -9903,17 +11794,25 @@ 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 (transcript_ != null) { transcript_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder(transcript_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder( + transcript_) + .mergeFrom(value) + .buildPartial(); } else { transcript_ = value; } @@ -9925,11 +11824,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() { if (transcriptBuilder_ == null) { @@ -9943,48 +11846,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() { + 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_; @@ -9992,51 +11913,75 @@ 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. */ public Builder setMediumValue(int value) { - + medium_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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. */ @@ -10044,21 +11989,26 @@ public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation. if (value == null) { throw new NullPointerException(); } - + medium_ = value.getNumber(); onChanged(); 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() { - + medium_ = 0; onChanged(); return this; @@ -10066,24 +12016,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 durationBuilder_ != null || 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. */ public com.google.protobuf.Duration getDuration() { @@ -10094,11 +12055,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) { @@ -10114,14 +12078,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(); onChanged(); @@ -10132,17 +12098,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 (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -10154,11 +12123,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() { if (durationBuilder_ == null) { @@ -10172,60 +12144,74 @@ 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() { - + onChanged(); 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 @@ -10233,30 +12219,36 @@ 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; 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() { - + turnCount_ = 0; onChanged(); return this; @@ -10264,39 +12256,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 latestAnalysisBuilder_ != null || 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. */ 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) { @@ -10312,11 +12323,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) { @@ -10330,17 +12345,23 @@ 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 (latestAnalysis_ != null) { latestAnalysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_) + .mergeFrom(value) + .buildPartial(); } else { latestAnalysis_ = value; } @@ -10352,11 +12373,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() { if (latestAnalysisBuilder_ == null) { @@ -10370,74 +12395,102 @@ 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() { - + onChanged(); 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_ & 0x00000002) != 0)) { - runtimeAnnotations_ = new java.util.ArrayList(runtimeAnnotations_); + runtimeAnnotations_ = + new java.util.ArrayList( + runtimeAnnotations_); bitField0_ |= 0x00000002; - } + } } 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 { @@ -10445,12 +12498,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) { @@ -10460,14 +12517,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 { @@ -10475,12 +12537,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) { @@ -10497,15 +12563,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()); @@ -10516,14 +12587,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(); @@ -10537,12 +12613,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) { @@ -10559,12 +12639,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) { @@ -10578,15 +12662,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()); @@ -10597,19 +12686,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); @@ -10617,12 +12710,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) { @@ -10635,12 +12732,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) { @@ -10653,42 +12754,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 { @@ -10696,48 +12811,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_ & 0x00000002) != 0), getParentForChildren(), @@ -10748,21 +12885,28 @@ 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 - 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_; } - private com.google.protobuf.MapField - internalGetMutableDialogflowIntents() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + internalGetMutableDialogflowIntents() { + onChanged(); + ; 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(); @@ -10774,78 +12918,97 @@ 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 com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -10853,87 +13016,97 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI } public Builder clearDialogflowIntents() { - 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 - getMutableDialogflowIntents() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + getMutableDialogflowIntents() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableDialogflowIntents().getMutableMap() - .put(key, value); + internalGetMutableDialogflowIntents().getMutableMap().put(key, value); 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); 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; @@ -10942,20 +13115,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 { @@ -10963,61 +13137,68 @@ 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) { + public Builder setObfuscatedUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedUserId_ = value; 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() { - + obfuscatedUserId_ = getDefaultInstance().getObfuscatedUserId(); onChanged(); 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) { + public Builder setObfuscatedUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedUserId_ = 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); } @@ -11027,12 +13208,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(); } @@ -11041,16 +13222,16 @@ 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 { - return new Conversation(input, extensionRegistry); - } - }; + 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 { + return new Conversation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11065,6 +13246,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Conversation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java index 87e56a68..09fe0fa8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ConversationDataSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,41 +68,51 @@ private ConversationDataSource( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); + case 10: + { + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } - source_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); - source_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; + if (sourceCase_ == 3) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 3; + break; } - sourceCase_ = 1; - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; - if (sourceCase_ == 3) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,35 +120,40 @@ private ConversationDataSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; } @@ -138,30 +169,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 @@ -169,21 +206,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.
    * 
@@ -193,18 +235,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 @@ -212,21 +257,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.
    * 
@@ -234,14 +284,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; @@ -253,8 +305,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_); } @@ -271,12 +322,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,22 +339,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: @@ -335,117 +387,127 @@ 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() @@ -453,16 +515,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -472,13 +533,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(); } @@ -493,7 +555,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = + new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -517,58 +580,65 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource buildPar 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.unknownFields); onChanged(); @@ -589,7 +659,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,12 +670,12 @@ public Builder mergeFrom( } 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() { @@ -613,15 +685,20 @@ public Builder clearSource() { return this; } - 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 @@ -629,11 +706,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 @@ -651,6 +731,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { } } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -671,6 +753,8 @@ public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -689,6 +773,8 @@ public Builder setGcsSource( return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -697,10 +783,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; } @@ -716,6 +806,8 @@ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSourc return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -739,6 +831,8 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -749,6 +843,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource.Builder getGcsSourceB return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -767,6 +863,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -774,32 +872,44 @@ 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()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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 @@ -807,11 +917,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 @@ -829,13 +942,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(); @@ -849,6 +965,8 @@ public Builder setDialogflowSource(com.google.cloud.contactcenterinsights.v1.Dia return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -867,18 +985,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; } @@ -894,6 +1020,8 @@ public Builder mergeDialogflowSource(com.google.cloud.contactcenterinsights.v1.D return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -917,16 +1045,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.
      * 
@@ -934,7 +1067,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 { @@ -945,6 +1079,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDi } } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -952,26 +1088,32 @@ 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()); source_ = null; } sourceCase_ = 3; - onChanged();; + 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); } @@ -981,30 +1123,32 @@ 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 { - return new ConversationDataSource(input, extensionRegistry); - } - }; + 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 { + return new ConversationDataSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,9 +1160,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java index c20823f9..307b4423 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java index dffbed5a..bee231d7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ConversationLevelSentiment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,35 @@ private ConversationLevelSentiment( case 0: done = true; break; - case 8: { - - channelTag_ = input.readInt32(); - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentimentData_ != null) { - subBuilder = sentimentData_.toBuilder(); + case 8: + { + channelTag_ = input.readInt32(); + break; } - sentimentData_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentimentData_); - sentimentData_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentimentData_ != null) { + subBuilder = sentimentData_.toBuilder(); + } + sentimentData_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentimentData_); + sentimentData_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +104,39 @@ private ConversationLevelSentiment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ @java.lang.Override @@ -122,11 +147,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 @@ -134,18 +162,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.
    * 
@@ -153,11 +188,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentDataOrBuilder() { return getSentimentData(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,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 { if (channelTag_ != 0) { output.writeInt32(1, channelTag_); } @@ -187,12 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,19 +236,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,134 +272,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,14 +426,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 @@ -403,7 +449,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = + new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); result.channelTag_ = channelTag_; if (sentimentDataBuilder_ == null) { result.sentimentData_ = sentimentData_; @@ -418,46 +465,51 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment 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.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()); } @@ -483,7 +535,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,13 +547,16 @@ public Builder mergeFrom( return this; } - 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 @@ -507,30 +564,36 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -538,34 +601,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 sentimentDataBuilder_ != null || sentimentData_ != null; } /** + * + * *
      * 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.
      * 
@@ -586,6 +662,8 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -604,17 +682,22 @@ 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 (sentimentData_ != null) { sentimentData_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_) + .mergeFrom(value) + .buildPartial(); } else { sentimentData_ = value; } @@ -626,6 +709,8 @@ public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.Sent return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -644,33 +729,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() { + 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.
      * 
@@ -678,21 +772,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); } @@ -702,30 +799,32 @@ 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 { - return new ConversationLevelSentiment(input, extensionRegistry); - } - }; + 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 { + return new ConversationLevelSentiment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -737,9 +836,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java index a845256e..dabb5dd1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java index 60426fae..b3326779 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java +++ b/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.
@@ -313,11 +414,13 @@ boolean containsLabels(
    */
 
   /* 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.
@@ -325,254 +428,346 @@ 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java index 7f9d7d99..37fa86ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java +++ b/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,16 +45,15 @@ 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; } + private ConversationParticipant( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,43 +72,48 @@ private ConversationParticipant( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowParticipant_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + dialogflowParticipant_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - role_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + role_ = rawValue; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - obfuscatedExternalUserId_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 5; - participant_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 6; - participant_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + obfuscatedExternalUserId_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 5; + participant_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 6; + participant_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,36 +121,41 @@ private ConversationParticipant( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -137,6 +164,8 @@ public enum Role */ ROLE_UNSPECIFIED(0), /** + * + * *
      * Participant is a human agent.
      * 
@@ -145,6 +174,8 @@ public enum Role */ HUMAN_AGENT(1), /** + * + * *
      * Participant is an automated agent.
      * 
@@ -153,6 +184,8 @@ public enum Role */ AUTOMATED_AGENT(2), /** + * + * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -161,6 +194,8 @@ public enum Role */ END_USER(3), /** + * + * *
      * Participant is either a human or automated agent.
      * 
@@ -172,6 +207,8 @@ public enum Role ; /** + * + * *
      * Participant's role is not set.
      * 
@@ -180,6 +217,8 @@ public enum Role */ public static final int ROLE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Participant is a human agent.
      * 
@@ -188,6 +227,8 @@ public enum Role */ public static final int HUMAN_AGENT_VALUE = 1; /** + * + * *
      * Participant is an automated agent.
      * 
@@ -196,6 +237,8 @@ public enum Role */ public static final int AUTOMATED_AGENT_VALUE = 2; /** + * + * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -204,6 +247,8 @@ public enum Role */ public static final int END_USER_VALUE = 3; /** + * + * *
      * Participant is either a human or automated agent.
      * 
@@ -212,7 +257,6 @@ public enum Role */ public static final int ANY_AGENT_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -237,51 +281,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; @@ -300,13 +348,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; } @@ -322,43 +373,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() { @@ -369,8 +429,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; @@ -379,24 +438,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; } @@ -408,22 +468,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() { @@ -434,8 +500,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; @@ -444,23 +509,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; } @@ -473,6 +539,8 @@ public java.lang.String getUserId() { public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER = 1; private volatile java.lang.Object dialogflowParticipant_; /** + * + * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -480,24 +548,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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,18 +577,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -527,11 +600,14 @@ public java.lang.String getUserId() { public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object obfuscatedExternalUserId_; /** + * + * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; + * * @return The obfuscatedExternalUserId. */ @java.lang.Override @@ -540,29 +616,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 { @@ -573,31 +649,43 @@ public java.lang.String getObfuscatedExternalUserId() { public static final int ROLE_FIELD_NUMBER = 2; private int role_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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; @@ -609,12 +697,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_)) { @@ -638,12 +727,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_); @@ -659,27 +750,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: @@ -719,134 +808,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -862,13 +962,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(); } @@ -883,7 +984,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = + new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); if (participantCase_ == 5) { result.participant_ = participant_; } @@ -902,46 +1004,50 @@ public com.google.cloud.contactcenterinsights.v1.ConversationParticipant buildPa 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_; onChanged(); @@ -954,21 +1060,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.unknownFields); onChanged(); @@ -989,7 +1098,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -998,12 +1109,12 @@ public Builder mergeFrom( } 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() { @@ -1013,14 +1124,17 @@ public Builder clearParticipant() { 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 Whether the dialogflowParticipantName field is set. */ @java.lang.Override @@ -1028,12 +1142,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 @@ -1043,8 +1161,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; @@ -1055,25 +1172,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; } @@ -1083,32 +1202,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) { + public Builder setDialogflowParticipantName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 5; + 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() { @@ -1120,21 +1246,24 @@ 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) { + public Builder setDialogflowParticipantNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 5; participant_ = value; onChanged(); @@ -1142,11 +1271,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 @@ -1154,11 +1286,14 @@ public boolean hasUserId() { return participantCase_ == 6; } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @return The userId. */ @java.lang.Override @@ -1168,8 +1303,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; @@ -1180,24 +1314,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; } @@ -1207,30 +1342,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) { + public Builder setUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 6; + 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() { @@ -1242,20 +1382,22 @@ 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) { + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 6; participant_ = value; onChanged(); @@ -1264,6 +1406,8 @@ public Builder setUserIdBytes( private java.lang.Object dialogflowParticipant_ = ""; /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1271,15 +1415,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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; @@ -1288,6 +1434,8 @@ public Builder setUserIdBytes( } } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1295,17 +1443,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -1313,6 +1462,8 @@ public Builder setUserIdBytes( } } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1320,22 +1471,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDialogflowParticipant( - java.lang.String value) { + @java.lang.Deprecated + public Builder setDialogflowParticipant(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowParticipant_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1343,17 +1498,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearDialogflowParticipant() { - + @java.lang.Deprecated + public Builder clearDialogflowParticipant() { + dialogflowParticipant_ = getDefaultInstance().getDialogflowParticipant(); onChanged(); return this; } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1361,18 +1521,20 @@ 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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The bytes for dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDialogflowParticipantBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowParticipant_ = value; onChanged(); return this; @@ -1380,18 +1542,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; @@ -1400,20 +1564,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 { @@ -1421,54 +1586,61 @@ 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) { + public Builder setObfuscatedExternalUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedExternalUserId_ = value; onChanged(); return this; } /** + * + * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; + * * @return This builder for chaining. */ public Builder clearObfuscatedExternalUserId() { - + obfuscatedExternalUserId_ = getDefaultInstance().getObfuscatedExternalUserId(); onChanged(); 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) { + public Builder setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedExternalUserId_ = value; onChanged(); return this; @@ -1476,80 +1648,100 @@ 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. */ public Builder setRoleValue(int value) { - + role_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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(); } - + role_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return This builder for chaining. */ public Builder clearRole() { - + role_ = 0; 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); } @@ -1559,30 +1751,32 @@ 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 { - return new ConversationParticipant(input, extensionRegistry); - } - }; + 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 { + return new ConversationParticipant(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1594,9 +1788,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java index 8ad1af13..a62a540b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java +++ b/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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java index 8810cca3..e49a1b0d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java index 3db5e931..839045ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java @@ -1,40 +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; /** + * + * *
  * 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; } + private CreateAnalysisOperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +71,50 @@ private CreateAnalysisOperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - conversation_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + conversation_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +122,41 @@ private CreateAnalysisOperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -134,11 +164,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 @@ -146,11 +180,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() { @@ -160,11 +197,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 @@ -172,11 +213,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 @@ -184,11 +229,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() { @@ -198,11 +246,16 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int CONVERSATION_FIELD_NUMBER = 3; 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 @@ -211,29 +264,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 { @@ -242,6 +297,7 @@ public java.lang.String getConversation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,8 +309,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()); } @@ -274,12 +329,10 @@ 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_); @@ -292,25 +345,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,134 +390,146 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -487,19 +551,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); } @@ -507,8 +574,10 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = + new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -528,46 +597,52 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata 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()); } @@ -593,11 +668,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,39 +687,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -657,14 +754,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(); onChanged(); @@ -675,17 +775,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -697,11 +801,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() { if (createTimeBuilder_ == null) { @@ -715,48 +823,64 @@ 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() { - + onChanged(); 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_; @@ -764,24 +888,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -792,11 +927,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) { @@ -812,14 +950,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(); onChanged(); @@ -830,17 +970,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -852,11 +995,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() { if (endTimeBuilder_ == null) { @@ -870,48 +1016,59 @@ 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() { - + onChanged(); 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_; @@ -919,18 +1076,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; @@ -939,20 +1100,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 { @@ -960,61 +1124,74 @@ 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) { + public Builder setConversation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversation_ = value; 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() { - + conversation_ = getDefaultInstance().getConversation(); 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) = { ... } + * + * * @param value The bytes for conversation to set. * @return This builder for chaining. */ - public Builder setConversationBytes( - com.google.protobuf.ByteString value) { + public Builder setConversationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversation_ = 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); } @@ -1024,30 +1201,33 @@ 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 { - return new CreateAnalysisOperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,9 +1239,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java index febfbb08..2d0102b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java @@ -1,83 +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 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java index 6058d1e6..684fa132 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java @@ -1,40 +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 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; } + private CreateAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,37 @@ private CreateAnalysisRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (analysis_ != null) { - subBuilder = analysis_.toBuilder(); + parent_ = s; + break; } - analysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysis_); - analysis_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (analysis_ != null) { + subBuilder = analysis_.toBuilder(); + } + analysis_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysis_); + analysis_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +108,41 @@ private CreateAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -122,29 +151,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 { @@ -155,11 +186,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 @@ -167,23 +203,34 @@ 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() { @@ -191,6 +238,7 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +250,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_); } @@ -223,8 +270,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,117 +316,127 @@ 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() @@ -389,16 +444,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +468,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(); } @@ -435,7 +490,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); result.parent_ = parent_; if (analysisBuilder_ == null) { result.analysis_ = analysis_; @@ -450,46 +506,50 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest buildPart 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_; onChanged(); @@ -516,7 +576,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +590,22 @@ public Builder mergeFrom( 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; @@ -548,20 +614,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 { @@ -569,54 +638,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -624,39 +706,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 analysisBuilder_ != null || 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. */ 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) { @@ -672,11 +773,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) { @@ -690,17 +795,23 @@ 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 (analysis_ != null) { analysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_) + .mergeFrom(value) + .buildPartial(); } else { analysis_ = value; } @@ -712,11 +823,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() { if (analysisBuilder_ == null) { @@ -730,55 +845,71 @@ 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() { - + onChanged(); 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); } @@ -788,30 +919,32 @@ 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 { - return new CreateAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +956,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..166e25b1 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java index cf84eecf..58b0e0c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java +++ b/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,16 +44,15 @@ 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; } + private CreateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateConversationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); + } + conversation_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - conversationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + conversationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -129,29 +159,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 { @@ -162,11 +194,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 @@ -174,32 +211,46 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { return getConversation(); } public static final int CONVERSATION_ID_FIELD_NUMBER = 3; 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
@@ -209,6 +260,7 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string conversation_id = 3; + * * @return The conversationId. */ @java.lang.Override @@ -217,14 +269,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
@@ -234,16 +287,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 { @@ -252,6 +304,7 @@ public java.lang.String getConversationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +316,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_); } @@ -287,8 +339,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_); @@ -301,22 +352,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -342,134 +391,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +547,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 @@ -508,7 +570,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); result.parent_ = parent_; if (conversationBuilder_ == null) { result.conversation_ = conversation_; @@ -524,46 +587,51 @@ public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest build 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_; onChanged(); @@ -594,7 +662,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,18 +676,22 @@ public Builder mergeFrom( 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; @@ -626,20 +700,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 { @@ -647,54 +724,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -702,39 +792,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 conversationBuilder_ != null || 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. */ 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) { @@ -750,11 +859,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) { @@ -768,17 +881,23 @@ 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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) + .mergeFrom(value) + .buildPartial(); } else { conversation_ = value; } @@ -790,11 +909,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() { if (conversationBuilder_ == null) { @@ -808,48 +931,65 @@ 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() { - + onChanged(); 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_; @@ -857,6 +997,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
@@ -866,13 +1008,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; @@ -881,6 +1023,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
@@ -890,15 +1034,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 { @@ -906,6 +1049,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
@@ -915,20 +1060,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) { + public Builder setConversationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversationId_ = value; 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
@@ -938,15 +1085,18 @@ public Builder setConversationId(
      * 
* * string conversation_id = 3; + * * @return This builder for chaining. */ public Builder clearConversationId() { - + conversationId_ = getDefaultInstance().getConversationId(); 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
@@ -956,23 +1106,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) { + public Builder setConversationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversationId_ = 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); } @@ -982,30 +1132,32 @@ 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 { - return new CreateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1017,9 +1169,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java index 62a507c3..665ce99c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java index 4d4da2ce..2f01c4e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private CreateIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private CreateIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = + null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private CreateIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1147,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.CreateIssueM return this; } /** + * + * *
      * The original request for creation.
      * 
@@ -996,17 +1167,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1194,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.CreateIssu return this; } /** + * + * *
      * The original request for creation.
      * 
@@ -1036,33 +1214,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() { + 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.
      * 
@@ -1070,21 +1257,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); } @@ -1094,30 +1284,32 @@ 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 { - return new CreateIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1321,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java index 9497c693..58cbb698 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java index 241a5a09..183a83be 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java @@ -1,40 +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 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; } + private CreateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,37 @@ private CreateIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); + parent_ = s; + break; } - issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); + } + issueModel_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +108,41 @@ private CreateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -122,29 +151,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 { @@ -155,11 +186,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 @@ -167,23 +203,34 @@ 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() { @@ -191,6 +238,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +250,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_); } @@ -223,8 +270,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,134 +316,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +470,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(); } @@ -435,7 +492,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); result.parent_ = parent_; if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; @@ -450,46 +508,50 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest buildPa 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_; onChanged(); @@ -516,7 +578,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +592,22 @@ public Builder mergeFrom( 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; @@ -548,20 +616,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 { @@ -569,54 +640,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -624,39 +708,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 issueModelBuilder_ != null || 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. */ 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) { @@ -672,11 +775,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) { @@ -690,17 +797,23 @@ 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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) + .mergeFrom(value) + .buildPartial(); } else { issueModel_ = value; } @@ -712,11 +825,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() { if (issueModelBuilder_ == null) { @@ -730,55 +847,71 @@ 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() { - + onChanged(); 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); } @@ -788,30 +921,32 @@ 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 { - return new CreateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +958,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..6c61b4ce --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java index 4e1667ce..2af079c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private CreatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,37 @@ private CreatePhraseMatcherRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); + parent_ = s; + break; } - phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); + } + phraseMatcher_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +108,33 @@ private CreatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -116,7 +142,10 @@ private CreatePhraseMatcherRequest(
    * `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 @@ -125,14 +154,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.
@@ -140,17 +170,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 { @@ -161,11 +192,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 @@ -173,30 +209,43 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +257,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_); } @@ -229,8 +277,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +287,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,134 +323,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,14 +477,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 @@ -441,7 +500,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); result.parent_ = parent_; if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; @@ -456,46 +516,51 @@ public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest 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.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_; onChanged(); @@ -522,7 +587,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -534,6 +601,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -541,14 +610,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; @@ -557,6 +628,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -564,16 +637,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 { @@ -581,6 +655,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -588,21 +664,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -610,16 +690,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -627,17 +712,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -645,39 +732,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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -693,11 +799,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) { @@ -711,17 +821,24 @@ 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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) + .mergeFrom(value) + .buildPartial(); } else { phraseMatcher_ = value; } @@ -733,11 +850,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() { if (phraseMatcherBuilder_ == null) { @@ -751,55 +872,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() { + 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); } @@ -809,30 +948,32 @@ 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 { - return new CreatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new CreatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,9 +985,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java index bfb2e263..49f143f2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java +++ b/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.
@@ -15,11 +33,16 @@ public interface CreatePhraseMatcherRequestOrBuilder 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 phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -27,36 +50,52 @@ public interface CreatePhraseMatcherRequestOrBuilder 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 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java index 3a2a32ab..d953631b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java @@ -1,40 +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; } + private CreateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateViewRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); + parent_ = s; + break; } - view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); + } + view_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -116,7 +141,10 @@ private CreateViewRequest(
    * `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 @@ -125,14 +153,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.
@@ -140,17 +169,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 { @@ -161,11 +191,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 @@ -173,23 +208,34 @@ 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() { @@ -197,6 +243,7 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +255,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_); } @@ -229,8 +275,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +285,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,117 +321,127 @@ 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() @@ -395,16 +449,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +473,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 @@ -441,7 +494,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); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); result.parent_ = parent_; if (viewBuilder_ == null) { result.view_ = view_; @@ -456,38 +510,39 @@ public com.google.cloud.contactcenterinsights.v1.CreateViewRequest 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.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; @@ -495,7 +550,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_; onChanged(); @@ -522,7 +578,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -534,6 +591,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -541,14 +600,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; @@ -557,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -564,16 +627,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 { @@ -581,6 +645,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -588,21 +654,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -610,16 +680,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -627,17 +702,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -645,39 +722,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 viewBuilder_ != null || 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. */ 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) { @@ -693,14 +789,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(); onChanged(); @@ -711,17 +810,23 @@ 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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) + .mergeFrom(value) + .buildPartial(); } else { view_ = value; } @@ -733,11 +838,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() { if (viewBuilder_ == null) { @@ -751,55 +860,71 @@ 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() { - + onChanged(); 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); } @@ -809,12 +934,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(); } @@ -823,16 +948,16 @@ 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 { - return new CreateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java index a28331f2..cfde3343 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java index e8bff5e2..a9438df3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java @@ -1,40 +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 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; } + private DeleteAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteAnalysisRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest buildPart 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_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( 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; @@ -467,20 +515,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 { @@ -488,61 +539,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +616,32 @@ 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 { - return new DeleteAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..8c33f3c2 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java index 382d2f6d..19741311 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java @@ -1,40 +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 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; } + private DeleteConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteConversationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,41 @@ private DeleteConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -114,29 +139,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 { @@ -147,6 +174,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; 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
@@ -154,6 +183,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -162,6 +192,7 @@ public boolean getForce() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -194,8 +224,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,17 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,142 +258,152 @@ 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) + unknownFields.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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +415,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 @@ -398,7 +438,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -409,46 +450,51 @@ public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest build 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_; onChanged(); @@ -475,7 +521,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,18 +535,22 @@ public Builder mergeFrom( 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; @@ -507,20 +559,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 { @@ -528,61 +583,76 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -590,6 +660,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -597,6 +668,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
@@ -604,16 +677,19 @@ public boolean getForce() {
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; 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
@@ -621,17 +697,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; 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); } @@ -641,30 +718,32 @@ 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 { - return new DeleteConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -676,9 +755,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java new file mode 100644 index 00000000..d121cf71 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java index 68f8dac2..a2accb10 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private DeleteIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private DeleteIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = + null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private DeleteIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1147,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssueM return this; } /** + * + * *
      * The original request for deletion.
      * 
@@ -996,17 +1167,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1194,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssu return this; } /** + * + * *
      * The original request for deletion.
      * 
@@ -1036,33 +1214,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() { + 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.
      * 
@@ -1070,21 +1257,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); } @@ -1094,30 +1284,32 @@ 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 { - return new DeleteIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1321,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java index 886dce7d..540ef300 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java index b7ecd689..da49a5b2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java @@ -1,40 +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 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; } + private DeleteIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,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(); } @@ -362,7 +401,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest buildPa 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_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( 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; @@ -467,20 +517,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 { @@ -488,61 +541,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +618,32 @@ 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 { - return new DeleteIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..d4812a9a --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java index e06c9a3e..64f5926f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java @@ -1,40 +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 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; } + private DeletePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePhraseMatcherRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeletePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,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 @@ -362,7 +402,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest 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.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_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( 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; @@ -467,20 +519,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 { @@ -488,61 +543,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +620,32 @@ 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 { - return new DeletePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new DeletePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..35dd3830 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java index 19aad5f2..ca629fa6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java @@ -1,40 +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 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; } + private DeleteViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteViewRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new DeleteViewRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java new file mode 100644 index 00000000..9ab179f3 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java index cf51267b..50a143f3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private DeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private DeployIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = + null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private DeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1147,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeployIssueM return this; } /** + * + * *
      * The original request for deployment.
      * 
@@ -996,17 +1167,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1194,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeployIssu return this; } /** + * + * *
      * The original request for deployment.
      * 
@@ -1036,33 +1214,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() { + 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.
      * 
@@ -1070,21 +1257,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); } @@ -1094,30 +1284,32 @@ 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 { - return new DeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1321,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java index aee42989..df5ca21f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java index dc5a301a..831b213f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java @@ -1,40 +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 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; } + private DeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeployIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,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(); } @@ -362,7 +401,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest buildPa 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_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( 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; @@ -467,20 +517,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 { @@ -488,61 +541,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +618,32 @@ 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 { - return new DeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..6fab3448 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java index 6d70c9c8..df079120 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private DeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private DeployIssueModelResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private DeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,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 @@ -297,7 +329,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; } @@ -306,46 +339,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.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +426,32 @@ 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 { - return new DeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..d4bc280e --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java index 596a8cac..26e23472 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java +++ b/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,31 +28,31 @@
  *
  * 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;
   }
+
   private DialogflowIntent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DialogflowIntent(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,34 +92,39 @@ private DialogflowIntent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object displayName_;
   /**
+   *
+   *
    * 
    * The human-readable name of the intent.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -110,29 +133,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 { @@ -141,6 +164,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +176,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_); } @@ -177,15 +200,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,96 +228,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.
@@ -302,21 +333,23 @@ 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()
@@ -324,16 +357,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -343,9 +375,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
@@ -364,7 +396,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);
+      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result =
+          new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
       result.displayName_ = displayName_;
       onBuilt();
       return result;
@@ -374,38 +407,39 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent 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.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;
@@ -413,7 +447,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_;
         onChanged();
@@ -437,7 +472,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -449,18 +485,20 @@ public Builder mergeFrom(
 
     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; @@ -469,20 +507,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 { @@ -490,61 +529,68 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -554,12 +600,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(); } @@ -568,16 +614,16 @@ 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 { - return new DialogflowIntent(input, extensionRegistry); - } - }; + 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 { + return new DialogflowIntent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java new file mode 100644 index 00000000..4a9de6f7 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java index 9d9723e3..7f852e32 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java @@ -1,40 +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; /** + * + * *
  * 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; } + private DialogflowInteractionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DialogflowInteractionData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - dialogflowIntentId_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dialogflowIntentId_ = s; + break; + } + case 21: + { + confidence_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,35 +96,40 @@ private DialogflowInteractionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -115,30 +138,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 { @@ -149,12 +172,15 @@ public java.lang.String getDialogflowIntentId() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -163,6 +189,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +201,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_); } @@ -195,8 +221,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,18 +231,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,142 +256,152 @@ 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) + unknownFields.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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +413,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 @@ -400,7 +436,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = + new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); result.dialogflowIntentId_ = dialogflowIntentId_; result.confidence_ = confidence_; onBuilt(); @@ -411,46 +448,51 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData build 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_; onChanged(); @@ -477,7 +519,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,19 +533,21 @@ public Builder mergeFrom( 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; @@ -510,21 +556,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 { @@ -532,70 +579,80 @@ 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) { + public Builder setDialogflowIntentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowIntentId_ = value; 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() { - + dialogflowIntentId_ = getDefaultInstance().getDialogflowIntentId(); onChanged(); 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) { + public Builder setDialogflowIntentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowIntentId_ = value; onChanged(); 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 @@ -603,39 +660,45 @@ 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; 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() { - + confidence_ = 0F; 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); } @@ -645,30 +708,32 @@ 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 { - return new DialogflowInteractionData(input, extensionRegistry); - } - }; + 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 { + return new DialogflowInteractionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -680,9 +745,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java index 7a5fc37e..d6217d5d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java index 8a7c0ca7..156fe21a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java +++ b/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,16 +44,15 @@ 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; } + private DialogflowSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DialogflowSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowConversation_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + dialogflowConversation_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + audioUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private DialogflowSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object dialogflowConversation_; /** + * + * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -110,6 +133,7 @@ private DialogflowSource(
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dialogflowConversation. */ @java.lang.Override @@ -118,14 +142,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:
@@ -133,16 +158,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 { @@ -153,12 +177,15 @@ public java.lang.String getDialogflowConversation() { public static final int AUDIO_URI_FIELD_NUMBER = 3; 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 @@ -167,30 +194,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 { @@ -199,6 +226,7 @@ public java.lang.String getAudioUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +238,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_); } @@ -241,17 +268,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -273,117 +299,127 @@ 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() @@ -391,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +447,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 @@ -433,7 +468,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); + com.google.cloud.contactcenterinsights.v1.DialogflowSource result = + new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); result.dialogflowConversation_ = dialogflowConversation_; result.audioUri_ = audioUri_; onBuilt(); @@ -444,38 +480,39 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource 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.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; @@ -483,7 +520,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_; onChanged(); @@ -511,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -523,6 +562,8 @@ public Builder mergeFrom( private java.lang.Object dialogflowConversation_ = ""; /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -530,13 +571,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; @@ -545,6 +586,8 @@ public java.lang.String getDialogflowConversation() { } } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -552,15 +595,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 { @@ -568,6 +610,8 @@ public java.lang.String getDialogflowConversation() { } } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -575,20 +619,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) { + public Builder setDialogflowConversation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowConversation_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -596,15 +642,18 @@ public Builder setDialogflowConversation(
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDialogflowConversation() { - + dialogflowConversation_ = getDefaultInstance().getDialogflowConversation(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -612,16 +661,16 @@ 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) { + public Builder setDialogflowConversationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowConversation_ = value; onChanged(); return this; @@ -629,19 +678,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; @@ -650,21 +701,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 { @@ -672,64 +724,71 @@ 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) { + public Builder setAudioUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = 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); } @@ -739,12 +798,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(); } @@ -753,16 +812,16 @@ 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 { - return new DialogflowSource(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java index c3429c3d..8e3dc711 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java index 8ee57d45..6bb2d94e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java +++ b/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,16 +46,15 @@ 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;
   }
+
   private Entity(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,56 +74,64 @@ private Entity(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
-
-            type_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              metadata_ = com.google.protobuf.MapField.newMapField(
-                  MetadataDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              displayName_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            metadata__ = input.readMessage(
-                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            metadata_.getMutableMap().put(
-                metadata__.getKey(), metadata__.getValue());
-            break;
-          }
-          case 37: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            salience_ = input.readFloat();
-            break;
-          }
-          case 42: {
-            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-            if (sentiment_ != null) {
-              subBuilder = sentiment_.toBuilder();
+              type_ = rawValue;
+              break;
             }
-            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sentiment_);
-              sentiment_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                metadata_ =
+                    com.google.protobuf.MapField.newMapField(
+                        MetadataDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry metadata__ =
+                  input.readMessage(
+                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 37:
+            {
+              salience_ = input.readFloat();
+              break;
+            }
+          case 42:
+            {
+              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+              if (sentiment_ != null) {
+                subBuilder = sentiment_.toBuilder();
+              }
+              sentiment_ =
+                  input.readMessage(
+                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sentiment_);
+                sentiment_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,39 +139,42 @@ private Entity(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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
@@ -156,9 +184,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.
      * 
@@ -167,6 +196,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Person.
      * 
@@ -175,6 +206,8 @@ public enum Type */ PERSON(1), /** + * + * *
      * Location.
      * 
@@ -183,6 +216,8 @@ public enum Type */ LOCATION(2), /** + * + * *
      * Organization.
      * 
@@ -191,6 +226,8 @@ public enum Type */ ORGANIZATION(3), /** + * + * *
      * Event.
      * 
@@ -199,6 +236,8 @@ public enum Type */ EVENT(4), /** + * + * *
      * Artwork.
      * 
@@ -207,6 +246,8 @@ public enum Type */ WORK_OF_ART(5), /** + * + * *
      * Consumer product.
      * 
@@ -215,6 +256,8 @@ public enum Type */ CONSUMER_GOOD(6), /** + * + * *
      * Other types of entities.
      * 
@@ -223,6 +266,8 @@ public enum Type */ OTHER(7), /** + * + * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -239,6 +284,8 @@ public enum Type
      */
     PHONE_NUMBER(9),
     /**
+     *
+     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -259,6 +306,8 @@ public enum Type
      */
     ADDRESS(10),
     /**
+     *
+     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -271,6 +320,8 @@ public enum Type
      */
     DATE(11),
     /**
+     *
+     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -280,6 +331,8 @@ public enum Type
      */
     NUMBER(12),
     /**
+     *
+     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -292,6 +345,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified.
      * 
@@ -300,6 +355,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Person.
      * 
@@ -308,6 +365,8 @@ public enum Type */ public static final int PERSON_VALUE = 1; /** + * + * *
      * Location.
      * 
@@ -316,6 +375,8 @@ public enum Type */ public static final int LOCATION_VALUE = 2; /** + * + * *
      * Organization.
      * 
@@ -324,6 +385,8 @@ public enum Type */ public static final int ORGANIZATION_VALUE = 3; /** + * + * *
      * Event.
      * 
@@ -332,6 +395,8 @@ public enum Type */ public static final int EVENT_VALUE = 4; /** + * + * *
      * Artwork.
      * 
@@ -340,6 +405,8 @@ public enum Type */ public static final int WORK_OF_ART_VALUE = 5; /** + * + * *
      * Consumer product.
      * 
@@ -348,6 +415,8 @@ public enum Type */ public static final int CONSUMER_GOOD_VALUE = 6; /** + * + * *
      * Other types of entities.
      * 
@@ -356,6 +425,8 @@ public enum Type */ public static final int OTHER_VALUE = 7; /** + * + * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -372,6 +443,8 @@ public enum Type
      */
     public static final int PHONE_NUMBER_VALUE = 9;
     /**
+     *
+     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -392,6 +465,8 @@ public enum Type
      */
     public static final int ADDRESS_VALUE = 10;
     /**
+     *
+     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -404,6 +479,8 @@ public enum Type
      */
     public static final int DATE_VALUE = 11;
     /**
+     *
+     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -413,6 +490,8 @@ public enum Type
      */
     public static final int NUMBER_VALUE = 12;
     /**
+     *
+     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -422,7 +501,6 @@ public enum Type
      */
     public static final int PRICE_VALUE = 13;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -447,59 +525,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;
@@ -519,11 +607,14 @@ private Type(int value) {
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object displayName_;
   /**
+   *
+   *
    * 
    * The representative name for the entity.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -532,29 +623,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 { @@ -565,49 +656,59 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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, + ""); } - 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_; } @@ -616,6 +717,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -625,22 +728,22 @@ 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`)
@@ -651,11 +754,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   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`)
@@ -666,16 +770,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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`)
@@ -686,12 +791,11 @@ public 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();
     }
@@ -701,6 +805,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int SALIENCE_FIELD_NUMBER = 4;
   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
@@ -710,6 +816,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * float salience = 4; + * * @return The salience. */ @java.lang.Override @@ -720,11 +827,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 @@ -732,18 +842,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.
    * 
@@ -756,6 +873,7 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -767,20 +885,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_); } @@ -799,27 +913,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -829,25 +941,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -869,8 +978,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(); @@ -880,97 +988,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
@@ -979,43 +1094,43 @@ 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()
@@ -1023,16 +1138,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1053,9 +1167,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
@@ -1074,7 +1188,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);
+      com.google.cloud.contactcenterinsights.v1.Entity result =
+          new com.google.cloud.contactcenterinsights.v1.Entity(this);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.type_ = type_;
@@ -1094,38 +1209,39 @@ public com.google.cloud.contactcenterinsights.v1.Entity 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.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;
@@ -1133,7 +1249,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_;
         onChanged();
@@ -1141,8 +1258,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());
       if (other.getSalience() != 0F) {
         setSalience(other.getSalience());
       }
@@ -1177,22 +1293,25 @@ public Builder mergeFrom(
       }
       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; @@ -1201,20 +1320,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 { @@ -1222,54 +1342,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The representative name for the entity.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1277,51 +1404,67 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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. */ @@ -1329,42 +1472,45 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.Entity.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -1376,6 +1522,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1385,22 +1533,22 @@ 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`)
@@ -1411,11 +1559,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     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`)
@@ -1426,16 +1575,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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`)
@@ -1446,12 +1596,11 @@ public 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();
       }
@@ -1459,11 +1608,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      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`)
@@ -1473,23 +1623,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1499,19 +1647,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1521,16 +1670,15 @@ 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);
       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
@@ -1540,6 +1688,7 @@ public Builder putAllMetadata(
      * 
* * float salience = 4; + * * @return The salience. */ @java.lang.Override @@ -1547,6 +1696,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
@@ -1556,16 +1707,19 @@ public float getSalience() {
      * 
* * float salience = 4; + * * @param value The salience to set. * @return This builder for chaining. */ public Builder setSalience(float value) { - + salience_ = value; 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
@@ -1575,10 +1729,11 @@ public Builder setSalience(float value) {
      * 
* * float salience = 4; + * * @return This builder for chaining. */ public Builder clearSalience() { - + salience_ = 0F; onChanged(); return this; @@ -1586,34 +1741,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 sentimentBuilder_ != null || sentiment_ != null; } /** + * + * *
      * 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.
      * 
@@ -1634,6 +1802,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1652,6 +1822,8 @@ public Builder setSentiment( return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1662,7 +1834,9 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) + .mergeFrom(value) + .buildPartial(); } else { sentiment_ = value; } @@ -1674,6 +1848,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1692,6 +1868,8 @@ public Builder clearSentiment() { return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1699,26 +1877,32 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1726,21 +1910,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); } @@ -1750,12 +1937,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(); } @@ -1764,16 +1951,16 @@ 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 { - return new Entity(input, extensionRegistry); - } - }; + 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 { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1788,6 +1975,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java index 66b43556..50af599c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java +++ b/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,16 +45,15 @@ 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;
   }
+
   private EntityMentionData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,38 +72,44 @@ private EntityMentionData(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            entityUniqueId_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              entityUniqueId_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            type_ = rawValue;
-            break;
-          }
-          case 26: {
-            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-            if (sentiment_ != null) {
-              subBuilder = sentiment_.toBuilder();
+              type_ = rawValue;
+              break;
             }
-            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sentiment_);
-              sentiment_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+              if (sentiment_ != null) {
+                subBuilder = sentiment_.toBuilder();
+              }
+              sentiment_ =
+                  input.readMessage(
+                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sentiment_);
+                sentiment_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,36 +117,41 @@ private EntityMentionData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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.
      * 
@@ -132,6 +160,8 @@ public enum MentionType */ MENTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Proper noun.
      * 
@@ -140,6 +170,8 @@ public enum MentionType */ PROPER(1), /** + * + * *
      * Common noun (or noun compound).
      * 
@@ -151,6 +183,8 @@ public enum MentionType ; /** + * + * *
      * Unspecified.
      * 
@@ -159,6 +193,8 @@ public enum MentionType */ public static final int MENTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Proper noun.
      * 
@@ -167,6 +203,8 @@ public enum MentionType */ public static final int PROPER_VALUE = 1; /** + * + * *
      * Common noun (or noun compound).
      * 
@@ -175,7 +213,6 @@ public enum MentionType */ public static final int COMMON_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +237,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; @@ -262,12 +301,15 @@ private MentionType(int value) { public static final int ENTITY_UNIQUE_ID_FIELD_NUMBER = 1; 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 @@ -276,30 +318,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 { @@ -310,38 +352,52 @@ public java.lang.String getEntityUniqueId() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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 @@ -349,18 +405,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.
    * 
@@ -373,6 +436,7 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,12 +448,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) { @@ -407,13 +473,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,20 +490,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -463,96 +529,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.
@@ -560,21 +634,23 @@ 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()
@@ -582,16 +658,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -609,9 +684,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
@@ -630,7 +705,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);
+      com.google.cloud.contactcenterinsights.v1.EntityMentionData result =
+          new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
       result.entityUniqueId_ = entityUniqueId_;
       result.type_ = type_;
       if (sentimentBuilder_ == null) {
@@ -646,38 +722,39 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData 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.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;
@@ -685,7 +762,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_;
         onChanged();
@@ -715,7 +793,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -727,19 +806,21 @@ public Builder mergeFrom(
 
     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; @@ -748,21 +829,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 { @@ -770,57 +852,64 @@ 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) { + public Builder setEntityUniqueId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityUniqueId_ = value; 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() { - + entityUniqueId_ = getDefaultInstance().getEntityUniqueId(); 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; + * * @param value The bytes for entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityUniqueId_ = value; onChanged(); return this; @@ -828,73 +917,93 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -902,34 +1011,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 sentimentBuilder_ != null || sentiment_ != null; } /** + * + * *
      * 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.
      * 
@@ -950,6 +1072,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -968,6 +1092,8 @@ public Builder setSentiment( return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -978,7 +1104,9 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) + .mergeFrom(value) + .buildPartial(); } else { sentiment_ = value; } @@ -990,6 +1118,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1008,6 +1138,8 @@ public Builder clearSentiment() { return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1015,26 +1147,32 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1042,21 +1180,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); } @@ -1066,12 +1207,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(); } @@ -1080,16 +1221,16 @@ 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 { - return new EntityMentionData(input, extensionRegistry); - } - }; + 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 { + return new EntityMentionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1104,6 +1245,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.EntityMentionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java index c9d5746e..998caaca 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java index 65ea6820..ab05234b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java +++ b/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`)
@@ -99,11 +129,13 @@ boolean containsMetadata(
    */
 
   /* 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`)
@@ -113,11 +145,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
@@ -127,29 +159,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java index 20a3c560..9734ef17 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ExactMatchConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,18 +68,18 @@ private ExactMatchConfig( case 0: done = true; break; - case 8: { - - caseSensitive_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + caseSensitive_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -71,34 +87,39 @@ private ExactMatchConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * Whether to consider case sensitivity when performing an exact match.
    * 
* * bool case_sensitive = 1; + * * @return The caseSensitive. */ @java.lang.Override @@ -107,6 +128,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +140,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_); } @@ -133,8 +154,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -144,15 +164,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -165,125 +185,134 @@ 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) + unknownFields.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() @@ -291,16 +320,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +338,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 @@ -331,7 +359,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); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = + new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); result.caseSensitive_ = caseSensitive_; onBuilt(); return result; @@ -341,38 +370,39 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig 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.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; @@ -380,7 +410,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()); } @@ -403,7 +434,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -413,13 +445,16 @@ public Builder mergeFrom( return this; } - 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 @@ -427,37 +462,43 @@ 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; 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() { - + caseSensitive_ = false; 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); } @@ -467,12 +508,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(); } @@ -481,16 +522,16 @@ 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 { - return new ExactMatchConfig(input, extensionRegistry); - } - }; + 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 { + return new ExactMatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -505,6 +546,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java new file mode 100644 index 00000000..5afadfff --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java index 8d22f573..074ff17b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java @@ -1,40 +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; /** + * + * *
  * 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; } + private ExportInsightsDataMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,61 +71,71 @@ private ExportInsightsDataMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder + subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - partialErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - partialErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + partialErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + partialErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,8 +143,7 @@ private ExportInsightsDataMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); @@ -126,27 +152,34 @@ private ExportInsightsDataMetadata( makeExtensionsImmutable(); } } - 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 @@ -154,11 +187,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 @@ -166,11 +203,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() { @@ -180,11 +220,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 @@ -192,11 +236,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 @@ -204,11 +252,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() { @@ -218,11 +269,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 @@ -230,18 +284,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.
    * 
@@ -249,13 +310,16 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; private java.util.List partialErrors_; /** + * + * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -268,6 +332,8 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -276,11 +342,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.
@@ -293,6 +360,8 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -305,6 +374,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.
@@ -313,12 +384,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;
@@ -330,8 +401,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());
     }
@@ -354,20 +424,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -377,30 +443,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -434,135 +497,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPartialErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -594,14 +669,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 @@ -615,7 +692,8 @@ 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); int from_bitField0_ = bitField0_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -649,46 +727,51 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata 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.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()); } @@ -716,9 +799,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsight partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000001); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartialErrorsFieldBuilder() : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartialErrorsFieldBuilder() + : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -743,7 +827,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,43 +838,63 @@ public Builder mergeFrom( } 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 createTimeBuilder_ != null || 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. */ 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) { @@ -804,14 +910,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(); onChanged(); @@ -822,17 +931,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -844,11 +957,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() { if (createTimeBuilder_ == null) { @@ -862,48 +979,64 @@ 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() { - + onChanged(); 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_; @@ -911,24 +1044,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -939,11 +1083,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) { @@ -959,14 +1106,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(); onChanged(); @@ -977,17 +1126,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -999,11 +1151,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() { if (endTimeBuilder_ == null) { @@ -1017,48 +1172,59 @@ 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() { - + onChanged(); 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_; @@ -1066,41 +1232,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -1114,6 +1295,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.ExportInsigh return this; } /** + * + * *
      * The original request for export.
      * 
@@ -1121,7 +1304,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(); onChanged(); @@ -1132,17 +1316,23 @@ 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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder( + request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1154,6 +1344,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.ExportInsi return this; } /** + * + * *
      * The original request for export.
      * 
@@ -1172,33 +1364,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() { + 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.
      * 
@@ -1206,32 +1408,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_ & 0x00000001) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -1247,6 +1456,8 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1262,6 +1473,8 @@ public int getPartialErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1277,6 +1490,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1284,8 +1499,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();
@@ -1299,6 +1513,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1306,8 +1522,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());
@@ -1318,6 +1533,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1339,6 +1556,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.
@@ -1346,8 +1565,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();
@@ -1361,6 +1579,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1368,8 +1588,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());
@@ -1380,6 +1599,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1387,8 +1608,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());
@@ -1399,6 +1619,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1406,12 +1628,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);
@@ -1419,6 +1639,8 @@ public Builder addAllPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1437,6 +1659,8 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1455,6 +1679,8 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1462,11 +1688,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.
@@ -1474,14 +1701,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.
@@ -1489,8 +1718,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 {
@@ -1498,6 +1727,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1506,10 +1737,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.
@@ -1517,12 +1749,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.
@@ -1530,16 +1763,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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1548,9 +1784,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);
     }
 
@@ -1560,30 +1796,32 @@ 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 {
-      return new ExportInsightsDataMetadata(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new ExportInsightsDataMetadata(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1595,9 +1833,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
index 64ecfb1a..f7975a42 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
+++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
index ec3d1308..fea7d248 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
+++ b/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,16 +46,15 @@ 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; } + private ExportInsightsDataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,51 +73,68 @@ private ExportInsightsDataRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_).toBuilder(); + parent_ = s; + break; } - destination_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.Builder + subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_) + .toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 2; + break; } - destinationCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKey_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + kmsKey_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - writeDisposition_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + writeDisposition_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,36 +142,42 @@ private ExportInsightsDataRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -146,6 +186,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.
@@ -155,6 +197,8 @@ public enum WriteDisposition
      */
     WRITE_TRUNCATE(1),
     /**
+     *
+     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -166,6 +210,8 @@ public enum WriteDisposition ; /** + * + * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -174,6 +220,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.
@@ -183,6 +231,8 @@ public enum WriteDisposition
      */
     public static final int WRITE_TRUNCATE_VALUE = 1;
     /**
+     *
+     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -191,7 +241,6 @@ public enum WriteDisposition */ public static final int WRITE_APPEND_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,40 +265,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(); @@ -257,8 +311,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; @@ -275,11 +328,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,
@@ -287,10 +343,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,
@@ -298,12 +357,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 returns an
@@ -311,10 +372,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 returns an
@@ -322,12 +386,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
@@ -335,10 +401,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
@@ -346,27 +415,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_ = ""; @@ -375,16 +448,15 @@ 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; } + private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -403,31 +475,34 @@ private BigQueryDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + table_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + projectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -435,29 +510,35 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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,
@@ -465,6 +546,7 @@ private BigQueryDestination(
      * 
* * string project_id = 3; + * * @return The projectId. */ @java.lang.Override @@ -473,14 +555,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,
@@ -488,16 +571,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 { @@ -508,6 +590,8 @@ public java.lang.String getProjectId() { public static final int DATASET_FIELD_NUMBER = 1; 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
@@ -515,6 +599,7 @@ public java.lang.String getProjectId() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -523,14 +608,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 returns an
@@ -538,16 +624,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 { @@ -558,6 +643,8 @@ public java.lang.String getDataset() { public static final int TABLE_FIELD_NUMBER = 2; 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
@@ -565,6 +652,7 @@ public java.lang.String getDataset() {
      * 
* * string table = 2; + * * @return The table. */ @java.lang.Override @@ -573,14 +661,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
@@ -588,16 +677,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 { @@ -606,6 +694,7 @@ public java.lang.String getTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,8 +706,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_); } @@ -654,19 +742,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -689,88 +781,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 @@ -780,44 +898,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -831,19 +958,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); } @@ -851,8 +982,12 @@ 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); + 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); result.projectId_ = projectId_; result.dataset_ = dataset_; result.table_ = table_; @@ -864,46 +999,59 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQu 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_; onChanged(); @@ -931,11 +1079,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -947,6 +1099,8 @@ public Builder mergeFrom( 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,
@@ -954,13 +1108,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; @@ -969,6 +1123,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,
@@ -976,15 +1132,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 { @@ -992,6 +1147,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,
@@ -999,20 +1156,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) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; 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,
@@ -1020,15 +1179,18 @@ public Builder setProjectId(
        * 
* * string project_id = 3; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); 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,
@@ -1036,16 +1198,16 @@ 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) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1053,6 +1215,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 returns an
@@ -1060,13 +1224,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; @@ -1075,6 +1239,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 returns an
@@ -1082,15 +1248,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 { @@ -1098,6 +1263,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 returns an
@@ -1105,20 +1272,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) { + public Builder setDataset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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
@@ -1126,15 +1295,18 @@ public Builder setDataset(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); 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
@@ -1142,16 +1314,16 @@ 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) { + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -1159,6 +1331,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
@@ -1166,13 +1340,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; @@ -1181,6 +1355,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
@@ -1188,15 +1364,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 { @@ -1204,6 +1379,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
@@ -1211,20 +1388,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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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
@@ -1232,15 +1411,18 @@ public Builder setTable(
        * 
* * string table = 2; + * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); 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
@@ -1248,20 +1430,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) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1274,30 +1457,36 @@ 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 { - return new BigQueryDestination(input, extensionRegistry); - } - }; + 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 { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,20 +1498,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; } @@ -1338,29 +1530,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 @@ -1368,43 +1567,66 @@ 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; 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 @@ -1413,29 +1635,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 { @@ -1446,12 +1670,15 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -1460,30 +1687,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 { @@ -1494,6 +1721,8 @@ public java.lang.String getFilter() { public static final int KMS_KEY_FIELD_NUMBER = 4; private volatile java.lang.Object kmsKey_; /** + * + * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1501,6 +1730,7 @@ public java.lang.String getFilter() {
    * 
* * string kms_key = 4; + * * @return The kmsKey. */ @java.lang.Override @@ -1509,14 +1739,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:
@@ -1524,16 +1755,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 { @@ -1544,31 +1774,50 @@ public java.lang.String getKmsKey() { public static final int WRITE_DISPOSITION_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(writeDisposition_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .valueOf(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; @@ -1580,13 +1829,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_); @@ -1594,7 +1845,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_); } unknownFields.writeTo(output); @@ -1610,8 +1864,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_); @@ -1619,9 +1877,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1631,25 +1891,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: @@ -1687,134 +1944,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1832,14 +2100,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 @@ -1853,7 +2123,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = + new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); if (destinationCase_ == 2) { if (bigQueryDestinationBuilder_ == null) { result.destination_ = destination_; @@ -1874,46 +2145,51 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest build 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_; onChanged(); @@ -1930,13 +2206,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.unknownFields); onChanged(); @@ -1957,7 +2235,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1966,12 +2246,12 @@ public Builder mergeFrom( } 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() { @@ -1981,15 +2261,24 @@ public Builder clearDestination() { return this; } - 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 @@ -1997,35 +2286,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(); @@ -2039,14 +2344,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(); @@ -2057,18 +2368,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; } @@ -2084,11 +2409,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) { @@ -2107,73 +2436,111 @@ 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; } destinationCase_ = 2; - onChanged();; + onChanged(); + ; return bigQueryDestinationBuilder_; } 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; @@ -2182,20 +2549,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 { @@ -2203,54 +2573,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -2258,19 +2641,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; @@ -2279,21 +2664,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 { @@ -2301,57 +2687,64 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -2359,6 +2752,8 @@ public Builder setFilterBytes( private java.lang.Object kmsKey_ = ""; /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2366,13 +2761,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; @@ -2381,6 +2776,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2388,15 +2785,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 { @@ -2404,6 +2800,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2411,20 +2809,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) { + public Builder setKmsKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKey_ = value; onChanged(); return this; } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2432,15 +2832,18 @@ public Builder setKmsKey(
      * 
* * string kms_key = 4; + * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = getDefaultInstance().getKmsKey(); onChanged(); return this; } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2448,16 +2851,16 @@ 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) { + public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKey_ = value; onChanged(); return this; @@ -2465,80 +2868,114 @@ 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. */ public Builder setWriteDispositionValue(int value) { - + writeDisposition_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(writeDisposition_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .valueOf(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(); } - + writeDisposition_ = value.getNumber(); onChanged(); 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() { - + writeDisposition_ = 0; 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); } @@ -2548,30 +2985,32 @@ 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 { - return new ExportInsightsDataRequest(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2583,9 +3022,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java index 52741507..d49fc829 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java index 8a0cfd2b..9bb2ce79 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ExportInsightsDataResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ExportInsightsDataResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ExportInsightsDataResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,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 @@ -297,7 +329,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; } @@ -306,46 +339,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.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +426,32 @@ 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 { - return new ExportInsightsDataResponse(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java new file mode 100644 index 00000000..b69f2c25 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java index 3d909e54..39fabb52 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java +++ b/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,16 +46,15 @@ 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; } + private FaqAnswerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,55 +74,61 @@ private FaqAnswerData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - answer_ = s; - break; - } - case 21: { - - confidenceScore_ = input.readFloat(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + answer_ = s; + break; + } + case 21: + { + confidenceScore_ = input.readFloat(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - question_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + question_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + queryRecord_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + source_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,46 +136,50 @@ private FaqAnswerData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -161,29 +188,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 { @@ -194,6 +221,8 @@ public java.lang.String getAnswer() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -201,6 +230,7 @@ public java.lang.String getAnswer() {
    * 
* * float confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -211,11 +241,14 @@ public float getConfidenceScore() { public static final int QUESTION_FIELD_NUMBER = 3; private volatile java.lang.Object question_; /** + * + * *
    * The corresponding FAQ question.
    * 
* * string question = 3; + * * @return The question. */ @java.lang.Override @@ -224,29 +257,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 { @@ -255,24 +288,23 @@ 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, + ""); } - 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_; } @@ -281,6 +313,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -288,22 +322,22 @@ 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.
@@ -312,11 +346,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -325,16 +360,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -343,12 +379,11 @@ public 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();
     }
@@ -358,6 +393,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -365,6 +402,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ @java.lang.Override @@ -373,14 +411,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:
@@ -388,16 +427,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 { @@ -408,6 +446,8 @@ public java.lang.String getQueryRecord() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -415,6 +455,7 @@ public java.lang.String getQueryRecord() {
    * 
* * string source = 6; + * * @return The source. */ @java.lang.Override @@ -423,14 +464,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:
@@ -438,16 +480,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 { @@ -456,6 +497,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -467,8 +509,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_); } @@ -478,12 +519,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_); } @@ -503,21 +540,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_); @@ -533,26 +569,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -567,8 +598,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()) { @@ -585,139 +615,147 @@ 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() @@ -725,16 +763,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -753,9 +790,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 @@ -774,7 +811,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); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = + new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); int from_bitField0_ = bitField0_; result.answer_ = answer_; result.confidenceScore_ = confidenceScore_; @@ -791,38 +829,39 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData 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.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; @@ -830,7 +869,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_; onChanged(); @@ -842,8 +882,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData question_ = other.question_; onChanged(); } - internalGetMutableMetadata().mergeFrom( - other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -871,7 +910,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -880,22 +920,25 @@ public Builder mergeFrom( } 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; @@ -904,20 +947,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 { @@ -925,61 +969,70 @@ 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) { + public Builder setAnswer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + answer_ = value; onChanged(); return this; } /** + * + * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; + * * @return This builder for chaining. */ public Builder clearAnswer() { - + answer_ = getDefaultInstance().getAnswer(); onChanged(); 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) { + public Builder setAnswerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + answer_ = value; onChanged(); 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
@@ -987,6 +1040,7 @@ public Builder setAnswerBytes(
      * 
* * float confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -994,6 +1048,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
@@ -1001,16 +1057,19 @@ 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; 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
@@ -1018,10 +1077,11 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); return this; @@ -1029,18 +1089,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; @@ -1049,20 +1111,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 { @@ -1070,75 +1133,82 @@ 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) { + public Builder setQuestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + question_ = value; onChanged(); return this; } /** + * + * *
      * The corresponding FAQ question.
      * 
* * string question = 3; + * * @return This builder for chaining. */ public Builder clearQuestion() { - + question_ = getDefaultInstance().getQuestion(); onChanged(); 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) { + public Builder setQuestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + question_ = value; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -1150,6 +1220,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1157,22 +1229,22 @@ 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.
@@ -1181,11 +1253,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1194,16 +1267,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -1212,12 +1286,11 @@ public 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();
       }
@@ -1225,11 +1298,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1237,23 +1311,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1261,19 +1333,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1281,16 +1354,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1298,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; @@ -1313,6 +1385,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1320,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 { @@ -1336,6 +1409,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1343,20 +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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1364,15 +1441,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 5; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1380,16 +1460,16 @@ 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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1397,6 +1477,8 @@ public Builder setQueryRecordBytes( private java.lang.Object source_ = ""; /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1404,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; @@ -1419,6 +1501,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1426,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 { @@ -1442,6 +1525,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1449,20 +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) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1470,15 +1557,18 @@ public Builder setSource(
      * 
* * string source = 6; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1486,23 +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) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1512,12 +1602,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(); } @@ -1526,16 +1616,16 @@ 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 { - return new FaqAnswerData(input, extensionRegistry); - } - }; + 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 { + return new FaqAnswerData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1550,6 +1640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java index 0ab35191..c1516b0c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java +++ b/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.
@@ -104,11 +136,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -116,11 +150,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:
@@ -128,10 +162,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -139,12 +176,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:
@@ -152,10 +191,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:
@@ -163,8 +205,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java index 264abf83..2e3fd646 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java +++ b/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,16 +44,15 @@ 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; } + private GcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + audioUri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - transcriptUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + transcriptUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,40 @@ private GcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -117,30 +141,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 { @@ -151,12 +175,15 @@ public java.lang.String getAudioUri() { public static final int TRANSCRIPT_URI_FIELD_NUMBER = 2; 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 @@ -165,30 +192,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 { @@ -197,6 +224,7 @@ public java.lang.String getTranscriptUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +236,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_); } @@ -239,17 +266,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +297,126 @@ 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() @@ -389,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +444,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 @@ -431,7 +465,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); + com.google.cloud.contactcenterinsights.v1.GcsSource result = + new com.google.cloud.contactcenterinsights.v1.GcsSource(this); result.audioUri_ = audioUri_; result.transcriptUri_ = transcriptUri_; onBuilt(); @@ -442,38 +477,39 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource 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.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; @@ -481,7 +517,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_; onChanged(); @@ -509,7 +546,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,19 +559,21 @@ public Builder mergeFrom( 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; @@ -542,21 +582,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 { @@ -564,57 +605,64 @@ 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) { + public Builder setAudioUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = value; onChanged(); return this; @@ -622,19 +670,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; @@ -643,21 +693,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 { @@ -665,64 +716,71 @@ 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) { + public Builder setTranscriptUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcriptUri_ = value; 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() { - + transcriptUri_ = getDefaultInstance().getTranscriptUri(); 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]; + * * @param value The bytes for transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUriBytes( - com.google.protobuf.ByteString value) { + public Builder setTranscriptUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcriptUri_ = 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); } @@ -732,12 +790,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(); } @@ -746,16 +804,16 @@ 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 { - return new GcsSource(input, extensionRegistry); - } - }; + 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 { + return new GcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +828,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java index d83b0bd8..509047f4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java index 90501294..cb6faeb7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java @@ -1,40 +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 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; } + private GetAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAnalysisRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest 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.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; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( 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; @@ -467,20 +513,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 { @@ -488,61 +537,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +614,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(); } @@ -566,16 +629,16 @@ 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 { - return new GetAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..42725fd8 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java index 924b421e..efd0e027 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java +++ b/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,16 +44,15 @@ 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; } + private GetConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetConversationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private GetConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -116,29 +142,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 { @@ -149,31 +177,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -185,12 +225,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_); } unknownFields.writeTo(output); @@ -205,9 +246,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +290,127 @@ 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() @@ -366,16 +418,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,13 +438,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(); } @@ -408,7 +460,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,46 +472,50 @@ public com.google.cloud.contactcenterinsights.v1.GetConversationRequest buildPar 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_; onChanged(); @@ -485,7 +542,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +556,22 @@ public Builder mergeFrom( 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; @@ -517,20 +580,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 { @@ -538,54 +604,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +672,67 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -645,28 +740,31 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -676,30 +774,32 @@ 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 { - return new GetConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new GetConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,9 +811,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java index 94a3e47a..754361b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java index f36394b9..12ecac1f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java @@ -1,40 +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 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; } + private GetIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest buildParti 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; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( 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; @@ -467,20 +514,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 { @@ -488,61 +538,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +615,32 @@ 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 { - return new GetIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +652,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..9043ad09 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java index 2f3f8e8d..5c8fd73d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java @@ -1,40 +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 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; } + private GetIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetIssueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = + new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new GetIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java new file mode 100644 index 00000000..5b064a2b --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java index 04a63567..3bd768cd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java @@ -1,40 +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 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; } + private GetPhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPhraseMatcherRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetPhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,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(); } @@ -362,7 +401,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest buildPa 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_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( 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; @@ -467,20 +517,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 { @@ -488,61 +541,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +618,32 @@ 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 { - return new GetPhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new GetPhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..b5952af1 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java index fc8c5b9c..e18b706a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java @@ -1,40 +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 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; } + private GetSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = + new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest 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.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; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( 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; @@ -467,20 +513,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 { @@ -488,61 +537,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +614,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(); } @@ -566,16 +629,16 @@ 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 { - return new GetSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java new file mode 100644 index 00000000..64f2b37d --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java index 2bd8d172..e876b639 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java @@ -1,40 +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 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; } + private GetViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetViewRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.GetViewRequest result = + new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.GetViewRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new GetViewRequest(input, extensionRegistry); - } - }; + 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 { + return new GetViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java new file mode 100644 index 00000000..77fe8abe --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java index 81136db5..13a7defa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private HoldData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private HoldData( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private HoldData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ 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() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,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 @@ -297,7 +324,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; } @@ -306,38 +334,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; @@ -345,7 +374,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.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +417,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(); } @@ -400,16 +431,16 @@ 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 { - return new HoldData(input, extensionRegistry); - } - }; + 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 { + return new HoldData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java new file mode 100644 index 00000000..e993a049 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java index 85245c92..bdc9356e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java +++ b/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,16 +45,15 @@ 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;
   }
+
   private Intent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Intent(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            id_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              id_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,34 +100,39 @@ private Intent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object id_;
   /**
+   *
+   *
    * 
    * The unique identifier of the intent.
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -117,29 +141,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 { @@ -150,11 +174,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -163,29 +190,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 { @@ -194,6 +221,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +233,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_); } @@ -236,17 +263,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,97 +293,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.
@@ -365,21 +398,23 @@ 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()
@@ -387,16 +422,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -408,9 +442,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
@@ -429,7 +463,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);
+      com.google.cloud.contactcenterinsights.v1.Intent result =
+          new com.google.cloud.contactcenterinsights.v1.Intent(this);
       result.id_ = id_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -440,38 +475,39 @@ public com.google.cloud.contactcenterinsights.v1.Intent 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.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;
@@ -479,7 +515,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_;
         onChanged();
@@ -519,18 +556,20 @@ public Builder mergeFrom(
 
     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; @@ -539,20 +578,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 { @@ -560,54 +600,61 @@ 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) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the intent.
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -615,18 +662,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; @@ -635,20 +684,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 { @@ -656,61 +706,68 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -720,12 +777,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(); } @@ -734,16 +791,16 @@ 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 { - return new Intent(input, extensionRegistry); - } - }; + 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 { + return new Intent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java index 772221f4..1f012cd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java +++ b/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,31 +30,31 @@
  *
  * 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;
   }
+
   private IntentMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,19 +73,20 @@ private IntentMatchData(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            intentUniqueId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              intentUniqueId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -76,35 +94,40 @@ private IntentMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -113,30 +136,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 { @@ -145,6 +168,7 @@ public java.lang.String getIntentUniqueId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intentUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intentUniqueId_); } @@ -181,15 +204,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,96 +232,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
@@ -308,21 +339,23 @@ 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()
@@ -330,16 +363,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,9 +381,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
@@ -370,7 +402,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);
+      com.google.cloud.contactcenterinsights.v1.IntentMatchData result =
+          new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
       result.intentUniqueId_ = intentUniqueId_;
       onBuilt();
       return result;
@@ -380,38 +413,39 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData 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.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;
@@ -419,7 +453,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_;
         onChanged();
@@ -443,7 +478,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,19 +491,21 @@ public Builder mergeFrom(
 
     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; @@ -476,21 +514,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 { @@ -498,64 +537,71 @@ 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) { + public Builder setIntentUniqueId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + intentUniqueId_ = value; 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() { - + intentUniqueId_ = getDefaultInstance().getIntentUniqueId(); onChanged(); 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) { + public Builder setIntentUniqueIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intentUniqueId_ = 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); } @@ -565,12 +611,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(); } @@ -579,16 +625,16 @@ 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 { - return new IntentMatchData(input, extensionRegistry); - } - }; + 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 { + return new IntentMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java index 8775dedd..e62221e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java index 803f52de..398131ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java index 2becdf9b..b69d67df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private InterruptionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private InterruptionData( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private InterruptionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ 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() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,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 @@ -297,7 +325,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; } @@ -306,38 +335,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; @@ -345,7 +375,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.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,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(); } @@ -400,16 +432,16 @@ 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 { - return new InterruptionData(input, extensionRegistry); - } - }; + 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 { + return new InterruptionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.InterruptionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java new file mode 100644 index 00000000..094a4e12 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java index a056e25a..439f7250 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java +++ b/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_ = ""; @@ -26,16 +44,15 @@ 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; } + private Issue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Issue( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,29 +129,33 @@ private Issue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -136,6 +163,7 @@ private Issue(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -144,14 +172,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:
@@ -159,16 +188,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 { @@ -179,11 +207,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The representative name for the issue.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -192,29 +223,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 { @@ -225,11 +256,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 @@ -237,11 +272,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 @@ -249,11 +288,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() { @@ -263,11 +305,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 @@ -275,11 +321,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 @@ -287,11 +337,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() { @@ -299,6 +352,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,8 +364,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_); } @@ -340,12 +393,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -355,26 +406,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -404,118 +452,127 @@ 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() @@ -523,16 +580,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +612,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 @@ -577,7 +633,8 @@ 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); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -598,38 +655,39 @@ public com.google.cloud.contactcenterinsights.v1.Issue 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.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; @@ -637,7 +695,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_; onChanged(); @@ -683,6 +742,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -690,13 +751,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; @@ -705,6 +766,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -712,15 +775,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 { @@ -728,6 +790,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -735,20 +799,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -756,15 +822,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -772,16 +841,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -789,18 +858,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; @@ -809,20 +880,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 { @@ -830,54 +902,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The representative name for the issue.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -885,39 +964,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 createTimeBuilder_ != null || 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. */ 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) { @@ -933,14 +1031,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(); onChanged(); @@ -951,17 +1052,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -973,11 +1078,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() { if (createTimeBuilder_ == null) { @@ -991,48 +1100,64 @@ 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() { - + onChanged(); 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_; @@ -1040,39 +1165,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1088,14 +1232,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(); onChanged(); @@ -1106,17 +1253,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1128,11 +1279,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() { if (updateTimeBuilder_ == null) { @@ -1146,55 +1301,71 @@ 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() { - + onChanged(); 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_; } + @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); } @@ -1204,12 +1375,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(); } @@ -1218,16 +1389,16 @@ 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 { - return new Issue(input, extensionRegistry); - } - }; + 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 { + return new Issue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,6 +1413,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java index d329e884..d52531ac 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java +++ b/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,16 +44,15 @@ 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; } + private IssueAssignment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private IssueAssignment( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - issue_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - score_ = input.readDouble(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 17: + { + score_ = input.readDouble(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private IssueAssignment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object issue_; /** + * + * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; + * * @return The issue. */ @java.lang.Override @@ -121,29 +145,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 { @@ -154,12 +178,15 @@ public java.lang.String getIssue() { public static final int SCORE_FIELD_NUMBER = 2; 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 @@ -170,12 +197,15 @@ public double getScore() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -184,30 +214,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 { @@ -216,6 +246,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +258,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_); } @@ -251,8 +281,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_); @@ -265,20 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,8 +320,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) + unknownFields.hashCode(); @@ -303,117 +331,127 @@ 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() @@ -421,16 +459,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +481,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 @@ -465,7 +502,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); + com.google.cloud.contactcenterinsights.v1.IssueAssignment result = + new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); result.issue_ = issue_; result.score_ = score_; result.displayName_ = displayName_; @@ -477,38 +515,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment 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.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; @@ -516,7 +555,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_; onChanged(); @@ -547,7 +587,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -559,18 +600,20 @@ public Builder mergeFrom( 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; @@ -579,20 +622,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 { @@ -600,67 +644,77 @@ 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) { + public Builder setIssue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; + * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); 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) { + public Builder setIssueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -668,32 +722,38 @@ 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; 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() { - + score_ = 0D; onChanged(); return this; @@ -701,19 +761,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; @@ -722,21 +784,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 { @@ -744,64 +807,71 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -811,12 +881,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(); } @@ -825,16 +895,16 @@ 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 { - return new IssueAssignment(input, extensionRegistry); - } - }; + 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 { + return new IssueAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,6 +919,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java index 68b7209d..5d71fae4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java index b5f50eb4..632c72c6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java +++ b/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,16 +45,15 @@ 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; } + private IssueModel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,83 +72,100 @@ private IssueModel( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + displayName_ = s; + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 50: { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder subBuilder = null; - if (inputDataConfig_ != null) { - subBuilder = inputDataConfig_.toBuilder(); + break; } - inputDataConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputDataConfig_); - inputDataConfig_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 40: + { + int rawValue = input.readEnum(); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; - if (trainingStats_ != null) { - subBuilder = trainingStats_.toBuilder(); + state_ = rawValue; + break; } - trainingStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trainingStats_); - trainingStats_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder + subBuilder = null; + if (inputDataConfig_ != null) { + subBuilder = inputDataConfig_.toBuilder(); + } + inputDataConfig_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputDataConfig_); + inputDataConfig_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = + null; + if (trainingStats_ != null) { + subBuilder = trainingStats_.toBuilder(); + } + trainingStats_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trainingStats_); + trainingStats_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,36 +173,41 @@ private IssueModel( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -177,6 +216,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -185,6 +226,8 @@ public enum State */ UNDEPLOYED(1), /** + * + * *
      * Model is being deployed.
      * 
@@ -193,6 +236,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.
@@ -202,6 +247,8 @@ public enum State
      */
     DEPLOYED(3),
     /**
+     *
+     *
      * 
      * Model is being undeployed.
      * 
@@ -210,6 +257,8 @@ public enum State */ UNDEPLOYING(4), /** + * + * *
      * Model is being deleted.
      * 
@@ -221,6 +270,8 @@ public enum State ; /** + * + * *
      * Unspecified.
      * 
@@ -229,6 +280,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -237,6 +290,8 @@ public enum State */ public static final int UNDEPLOYED_VALUE = 1; /** + * + * *
      * Model is being deployed.
      * 
@@ -245,6 +300,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.
@@ -254,6 +311,8 @@ public enum State
      */
     public static final int DEPLOYED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Model is being undeployed.
      * 
@@ -262,6 +321,8 @@ public enum State */ public static final int UNDEPLOYING_VALUE = 4; /** + * + * *
      * Model is being deleted.
      * 
@@ -270,7 +331,6 @@ public enum State */ public static final int DELETING_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -295,52 +355,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; @@ -357,85 +422,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=593 + * + * .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=593 * @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=593 + * + * .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=593 * @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_ = ""; @@ -443,16 +533,15 @@ 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; } + private InputDataConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -471,30 +560,32 @@ private InputDataConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - medium_ = rawValue; - break; - } - case 16: { + case 8: + { + int rawValue = input.readEnum(); - trainingConversationsCount_ = input.readInt64(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + medium_ = rawValue; + break; + } + case 16: + { + trainingConversationsCount_ = input.readInt64(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,69 +593,92 @@ private InputDataConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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=593 + * + * .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=593 * @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=593 + * + * .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=593 * @return The medium. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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_; /** + * + * *
      * 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 @@ -575,12 +689,15 @@ public long getTrainingConversationsCount() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -589,30 +706,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 { @@ -621,6 +738,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -632,9 +750,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) { @@ -652,13 +771,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_); @@ -671,18 +791,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -697,8 +816,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) + unknownFields.hashCode(); @@ -707,87 +825,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 @@ -797,44 +923,49 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -848,19 +979,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); } @@ -869,7 +1003,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = + new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); result.medium_ = medium_; result.trainingConversationsCount_ = trainingConversationsCount_; result.filter_ = filter_; @@ -881,46 +1016,53 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig 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) { + 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()); } @@ -950,7 +1092,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -962,105 +1106,144 @@ public Builder mergeFrom( 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=593 + * + * .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=593 * @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=593 + * + * .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=593 * @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; 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=593 + * + * .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=593 * @return The medium. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Deprecated + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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=593 + * + * .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=593 * @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(); } - + medium_ = value.getNumber(); 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=593 + * + * .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=593 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMedium() { - + @java.lang.Deprecated + public Builder clearMedium() { + 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 @@ -1068,30 +1251,38 @@ 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; 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() { - + trainingConversationsCount_ = 0L; onChanged(); return this; @@ -1099,19 +1290,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; @@ -1120,21 +1313,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 { @@ -1142,61 +1336,69 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1209,30 +1411,32 @@ 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 { - return new InputDataConfig(input, extensionRegistry); - } - }; + 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 { + return new InputDataConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,15 +1448,17 @@ 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1260,6 +1466,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getD
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -1268,14 +1475,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:
@@ -1283,16 +1491,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 { @@ -1303,11 +1510,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1316,29 +1526,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 { @@ -1349,11 +1559,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 @@ -1361,11 +1575,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 @@ -1373,11 +1591,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() { @@ -1387,11 +1608,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 @@ -1399,11 +1624,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 @@ -1411,11 +1640,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() { @@ -1425,38 +1657,57 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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 @@ -1464,37 +1715,52 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder + getInputDataConfigOrBuilder() { return getInputDataConfig(); } 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 @@ -1502,30 +1768,43 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder + getTrainingStatsOrBuilder() { return getTrainingStats(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1537,8 +1816,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_); } @@ -1551,7 +1829,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) { @@ -1576,24 +1856,21 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1603,37 +1880,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1674,117 +1946,126 @@ 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() @@ -1792,16 +2073,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1839,9 +2119,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 @@ -1860,7 +2140,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); + com.google.cloud.contactcenterinsights.v1.IssueModel result = + new com.google.cloud.contactcenterinsights.v1.IssueModel(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -1892,38 +2173,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel 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.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; @@ -1931,7 +2213,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_; onChanged(); @@ -1974,7 +2257,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1986,6 +2270,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -1993,13 +2279,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; @@ -2008,6 +2294,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2015,15 +2303,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 { @@ -2031,6 +2318,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2038,20 +2327,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2059,15 +2350,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2075,16 +2369,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2092,18 +2386,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; @@ -2112,20 +2408,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 { @@ -2133,54 +2430,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2188,39 +2492,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2236,14 +2559,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(); onChanged(); @@ -2254,17 +2580,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2276,11 +2606,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() { if (createTimeBuilder_ == null) { @@ -2294,48 +2628,64 @@ 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() { - + onChanged(); 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_; @@ -2343,39 +2693,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2391,14 +2760,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(); onChanged(); @@ -2409,17 +2781,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2431,11 +2807,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() { if (updateTimeBuilder_ == null) { @@ -2449,48 +2829,64 @@ 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() { - + onChanged(); 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_; @@ -2498,51 +2894,75 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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. */ @@ -2550,21 +2970,26 @@ public Builder setState(com.google.cloud.contactcenterinsights.v1.IssueModel.Sta if (value == null) { throw new NullPointerException(); } - + 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() { - + state_ = 0; onChanged(); return this; @@ -2572,41 +2997,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 inputDataConfigBuilder_ != null || 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. */ - 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(); @@ -2620,14 +3067,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(); onChanged(); @@ -2638,17 +3090,25 @@ 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 (inputDataConfig_ != null) { inputDataConfig_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder(inputDataConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder( + inputDataConfig_) + .mergeFrom(value) + .buildPartial(); } else { inputDataConfig_ = value; } @@ -2660,11 +3120,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() { if (inputDataConfigBuilder_ == null) { @@ -2678,48 +3142,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() { + 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_; @@ -2727,41 +3210,61 @@ 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 trainingStatsBuilder_ != null || 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. */ 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(); @@ -2775,11 +3278,15 @@ 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) { @@ -2793,17 +3300,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 (trainingStats_ != null) { trainingStats_ = - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(trainingStats_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder( + trainingStats_) + .mergeFrom(value) + .buildPartial(); } else { trainingStats_ = value; } @@ -2815,11 +3330,15 @@ 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() { if (trainingStatsBuilder_ == null) { @@ -2833,55 +3352,73 @@ 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() { + 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); } @@ -2891,12 +3428,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(); } @@ -2905,16 +3442,16 @@ 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 { - return new IssueModel(input, extensionRegistry); - } - }; + 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 { + return new IssueModel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2929,6 +3466,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java index 1ee08b3a..8811a892 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java @@ -1,39 +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; /** + * + * *
  * 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; } + private IssueModelLabelStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,36 +69,41 @@ private IssueModelLabelStats( case 0: done = true; break; - case 8: { - - analyzedConversationsCount_ = input.readInt64(); - break; - } - case 16: { - - unclassifiedConversationsCount_ = input.readInt64(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueStats_ = com.google.protobuf.MapField.newMapField( - IssueStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 8: + { + analyzedConversationsCount_ = input.readInt64(); + break; } - com.google.protobuf.MapEntry - issueStats__ = input.readMessage( - IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - issueStats_.getMutableMap().put( - issueStats__.getKey(), issueStats__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + unclassifiedConversationsCount_ = input.readInt64(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueStats_ = + com.google.protobuf.MapField.newMapField( + IssueStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueStats__ = + input.readMessage( + IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + issueStats_.getMutableMap().put(issueStats__.getKey(), issueStats__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,43 +111,47 @@ private IssueModelLabelStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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:
@@ -134,10 +159,13 @@ public interface IssueStatsOrBuilder extends
      * 
* * string issue = 1; + * * @return The issue. */ java.lang.String getIssue(); /** + * + * *
      * Issue resource.
      * Format:
@@ -145,57 +173,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_ = ""; @@ -203,16 +242,15 @@ 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; } + private IssueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -231,30 +269,32 @@ private IssueStats( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - issue_ = s; - break; - } - case 16: { - - labeledConversationsCount_ = input.readInt64(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 16: + { + labeledConversationsCount_ = input.readInt64(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -262,29 +302,34 @@ private IssueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object issue_; /** + * + * *
      * Issue resource.
      * Format:
@@ -292,6 +337,7 @@ private IssueStats(
      * 
* * string issue = 1; + * * @return The issue. */ @java.lang.Override @@ -300,14 +346,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:
@@ -315,16 +362,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 { @@ -335,11 +381,14 @@ public java.lang.String getIssue() { public static final int LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -350,11 +399,14 @@ public long getLabeledConversationsCount() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** + * + * *
      * Display name of the issue.
      * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -363,29 +415,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 { @@ -394,6 +446,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,8 +458,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_); } @@ -429,8 +481,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_); @@ -443,19 +495,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,8 +521,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) + unknownFields.hashCode(); @@ -479,88 +529,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 @@ -570,44 +633,50 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,19 +690,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); } @@ -641,8 +713,10 @@ 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); + 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); result.issue_ = issue_; result.labeledConversationsCount_ = labeledConversationsCount_; result.displayName_ = displayName_; @@ -654,46 +728,54 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats 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_; onChanged(); @@ -720,11 +802,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,6 +821,8 @@ public Builder mergeFrom( private java.lang.Object issue_ = ""; /** + * + * *
        * Issue resource.
        * Format:
@@ -743,13 +830,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; @@ -758,6 +845,8 @@ public java.lang.String getIssue() { } } /** + * + * *
        * Issue resource.
        * Format:
@@ -765,15 +854,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 { @@ -781,6 +869,8 @@ public java.lang.String getIssue() { } } /** + * + * *
        * Issue resource.
        * Format:
@@ -788,20 +878,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) { + public Builder setIssue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** + * + * *
        * Issue resource.
        * Format:
@@ -809,15 +901,18 @@ public Builder setIssue(
        * 
* * string issue = 1; + * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); return this; } /** + * + * *
        * Issue resource.
        * Format:
@@ -825,28 +920,31 @@ 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) { + public Builder setIssueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -854,30 +952,36 @@ 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; 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() { - + labeledConversationsCount_ = 0L; onChanged(); return this; @@ -885,18 +989,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; @@ -905,20 +1011,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 { @@ -926,58 +1033,66 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * Display name of the issue.
        * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -990,30 +1105,33 @@ 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 { - return new IssueStats(input, extensionRegistry); - } - }; + 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 { + return new IssueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,20 +1143,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_; /** + * + * *
    * Number of conversations the issue model has analyzed at this point in time.
    * 
* * int64 analyzed_conversations_count = 1; + * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -1049,12 +1170,15 @@ public long getAnalyzedConversationsCount() { public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -1063,24 +1187,36 @@ 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()); } + + 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 - internalGetIssueStats() { + 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_; } @@ -1089,70 +1225,96 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1160,6 +1322,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1171,20 +1334,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); unknownFields.writeTo(output); } @@ -1195,22 +1353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1220,19 +1384,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1245,11 +1408,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(); @@ -1260,139 +1421,147 @@ 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() @@ -1400,16 +1569,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1422,13 +1590,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(); } @@ -1443,7 +1612,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = + new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); int from_bitField0_ = bitField0_; result.analyzedConversationsCount_ = analyzedConversationsCount_; result.unclassifiedConversationsCount_ = unclassifiedConversationsCount_; @@ -1457,38 +1627,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats buildParti 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; @@ -1496,15 +1667,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()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1524,7 +1696,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1533,15 +1707,19 @@ public Builder mergeFrom( } 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 @@ -1549,43 +1727,52 @@ 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; 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() { - + analyzedConversationsCount_ = 0L; onChanged(); 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 @@ -1593,53 +1780,68 @@ 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; 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() { - + unclassifiedConversationsCount_ = 0L; onChanged(); return this; } 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 issueStats_; } - private com.google.protobuf.MapField - internalGetMutableIssueStats() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + internalGetMutableIssueStats() { + onChanged(); + ; 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(); @@ -1651,70 +1853,97 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1722,69 +1951,81 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } public Builder clearIssueStats() { - 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 - getMutableIssueStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getMutableIssueStats() { 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 (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableIssueStats().getMutableMap() - .put(key, value); + internalGetMutableIssueStats().getMutableMap().put(key, value); 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); 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); } @@ -1794,30 +2035,32 @@ 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 { - return new IssueModelLabelStats(input, extensionRegistry); - } - }; + 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 { + return new IssueModelLabelStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1829,9 +2072,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java new file mode 100644 index 00000000..72971003 --- /dev/null +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java @@ -0,0 +1,128 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java index 8055bc6d..89d4e48f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java +++ b/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,155 +47,219 @@ 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. 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java index 676eafbe..c03e981e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java +++ b/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,16 +44,15 @@ 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; } + private IssueModelResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private IssueModelResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + issueModel_ = s; + break; } - issues_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.IssueAssignment>(); + mutable_bitField0_ |= 0x00000001; + } + issues_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private IssueModelResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -94,28 +116,34 @@ private IssueModelResult( makeExtensionsImmutable(); } } - 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; 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 @@ -124,30 +152,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 { @@ -158,6 +186,8 @@ public java.lang.String getIssueModel() { public static final int ISSUES_FIELD_NUMBER = 2; private java.util.List issues_; /** + * + * *
    * All the matched issues.
    * 
@@ -169,6 +199,8 @@ public java.util.List return issues_; } /** + * + * *
    * All the matched issues.
    * 
@@ -176,11 +208,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.
    * 
@@ -192,6 +227,8 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * All the matched issues.
    * 
@@ -203,6 +240,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i return issues_.get(index); } /** + * + * *
    * All the matched issues.
    * 
@@ -216,6 +255,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,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_); } @@ -248,8 +287,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +330,127 @@ 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() @@ -411,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,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 @@ -458,7 +505,8 @@ 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); int from_bitField0_ = bitField0_; result.issueModel_ = issueModel_; if (issuesBuilder_ == null) { @@ -478,38 +526,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult 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.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; @@ -517,7 +566,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_; onChanged(); @@ -540,9 +590,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelRes 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_); } @@ -567,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,23 +628,26 @@ public Builder mergeFrom( } 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; @@ -601,21 +656,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 { @@ -623,82 +679,98 @@ 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) { + public Builder setIssueModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } + * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes( - com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = value; onChanged(); return this; } 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_); + issues_ = + new java.util.ArrayList( + issues_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -706,6 +778,8 @@ public java.util.List } } /** + * + * *
      * All the matched issues.
      * 
@@ -720,6 +794,8 @@ public int getIssuesCount() { } } /** + * + * *
      * All the matched issues.
      * 
@@ -734,6 +810,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i } } /** + * + * *
      * All the matched issues.
      * 
@@ -755,6 +833,8 @@ public Builder setIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -762,7 +842,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()); @@ -773,6 +854,8 @@ public Builder setIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -793,6 +876,8 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.IssueAssignme return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -814,6 +899,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -832,6 +919,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -839,7 +928,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()); @@ -850,6 +940,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -857,11 +949,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); @@ -869,6 +961,8 @@ public Builder addAllIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -886,6 +980,8 @@ public Builder clearIssues() { return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -903,6 +999,8 @@ public Builder removeIssues(int index) { return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -914,6 +1012,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu return getIssuesFieldBuilder().getBuilder(index); } /** + * + * *
      * All the matched issues.
      * 
@@ -923,19 +1023,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 { @@ -943,6 +1047,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } } /** + * + * *
      * All the matched issues.
      * 
@@ -950,10 +1056,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.
      * 
@@ -962,37 +1071,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_ & 0x00000001) != 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_ & 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); } @@ -1002,12 +1118,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(); } @@ -1016,16 +1132,16 @@ 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 { - return new IssueModelResult(input, extensionRegistry); - } - }; + 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 { + return new IssueModelResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java index 42f59e84..ae71726a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java index 821dd050..86d884d5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java +++ b/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,82 +47,109 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java index e79fc153..8d6457bc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java +++ b/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,16 +45,15 @@ 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; } + private ListAnalysesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListAnalysesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,41 @@ private ListAnalysesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -128,29 +155,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 { @@ -161,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -169,6 +200,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -179,6 +211,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -186,6 +220,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -194,14 +229,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
@@ -209,16 +245,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 { @@ -229,12 +264,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -243,30 +281,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 { @@ -275,6 +313,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +325,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_); } @@ -313,8 +351,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_); @@ -330,21 +367,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,117 +404,127 @@ 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() @@ -488,16 +532,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -513,13 +556,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(); } @@ -534,7 +578,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = + new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -547,38 +592,39 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest buildPartia 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; @@ -586,7 +632,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_; onChanged(); @@ -621,7 +669,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,18 +683,22 @@ public Builder mergeFrom( 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; @@ -653,20 +707,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 { @@ -674,61 +731,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -737,6 +809,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -744,6 +817,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
@@ -752,16 +827,19 @@ 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; 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
@@ -770,10 +848,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -781,6 +860,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
@@ -788,13 +869,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; @@ -803,6 +884,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
@@ -810,15 +893,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 { @@ -826,6 +908,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
@@ -833,20 +917,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -854,15 +940,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -870,16 +959,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -887,19 +976,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; @@ -908,21 +999,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 { @@ -930,64 +1022,71 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -997,12 +1096,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(); } @@ -1011,16 +1111,16 @@ 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 { - return new ListAnalysesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java index 6b6a7056..09eec901 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java index 57bd6f38..da59f266 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListAnalysesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListAnalysesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analyses_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analyses_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + analyses_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry)); + break; } - analyses_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListAnalysesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { analyses_ = java.util.Collections.unmodifiableList(analyses_); @@ -94,22 +115,27 @@ private ListAnalysesResponse( makeExtensionsImmutable(); } } - 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; private java.util.List analyses_; /** + * + * *
    * The analyses that match the request.
    * 
@@ -121,6 +147,8 @@ public java.util.List getAna return analyses_; } /** + * + * *
    * The analyses that match the request.
    * 
@@ -128,11 +156,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.
    * 
@@ -144,6 +174,8 @@ public int getAnalysesCount() { return analyses_.size(); } /** + * + * *
    * The analyses that match the request.
    * 
@@ -155,6 +187,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) return analyses_.get(index); } /** + * + * *
    * The analyses that match the request.
    * 
@@ -170,12 +204,15 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -184,30 +221,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 { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 { for (int i = 0; i < analyses_.size(); i++) { output.writeMessage(1, analyses_.get(i)); } @@ -245,8 +282,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_); @@ -259,17 +295,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ 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() @@ -411,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAnalysesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,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(); } @@ -458,7 +504,8 @@ 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); int from_bitField0_ = bitField0_; if (analysesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +525,39 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse buildParti 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; @@ -517,7 +565,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()) { @@ -536,9 +586,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_); } @@ -567,7 +618,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +629,29 @@ public Builder mergeFrom( } 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.
      * 
@@ -605,6 +666,8 @@ public java.util.List getAna } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -619,6 +682,8 @@ public int getAnalysesCount() { } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -633,6 +698,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -654,6 +721,8 @@ public Builder setAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -672,6 +741,8 @@ public Builder setAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -692,6 +763,8 @@ public Builder addAnalyses(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -713,6 +786,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -731,6 +806,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -749,6 +826,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -759,8 +838,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); @@ -768,6 +846,8 @@ public Builder addAllAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -785,6 +865,8 @@ public Builder clearAnalyses() { return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -802,6 +884,8 @@ public Builder removeAnalyses(int index) { return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -813,6 +897,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui return getAnalysesFieldBuilder().getBuilder(index); } /** + * + * *
      * The analyses that match the request.
      * 
@@ -822,19 +908,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 { @@ -842,6 +931,8 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -849,10 +940,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.
      * 
@@ -861,30 +954,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_; @@ -892,19 +991,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; @@ -913,21 +1014,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 { @@ -935,64 +1037,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,30 +1111,32 @@ 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 { - return new ListAnalysesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1148,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java index 69b4f19d..6a12df1b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java index a4b07a7f..8de30a9b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java +++ b/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,16 +46,15 @@ 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; } + private ListConversationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListConversationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + filter_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,41 @@ private ListConversationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -135,29 +163,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 { @@ -168,6 +198,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -176,6 +208,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -193,6 +228,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -201,14 +237,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
@@ -216,16 +253,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 { @@ -236,12 +272,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -250,30 +289,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 { @@ -284,31 +323,43 @@ public java.lang.String getFilter() { public static final int VIEW_FIELD_NUMBER = 5; private int view_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -320,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -334,7 +384,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_); } unknownFields.writeTo(output); @@ -350,8 +402,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_); @@ -359,9 +410,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,21 +423,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; + 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -414,134 +463,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -559,14 +619,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 @@ -580,7 +642,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -594,46 +657,51 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest 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.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_; onChanged(); @@ -671,7 +739,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,18 +753,22 @@ public Builder mergeFrom( 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; @@ -703,20 +777,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 { @@ -724,61 +801,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -787,6 +879,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -794,6 +887,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
@@ -802,16 +897,19 @@ 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; 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
@@ -820,10 +918,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -831,6 +930,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
@@ -838,13 +939,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; @@ -853,6 +954,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
@@ -860,15 +963,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 { @@ -876,6 +978,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
@@ -883,20 +987,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -904,15 +1010,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -920,16 +1029,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -937,19 +1046,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; @@ -958,21 +1069,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 { @@ -980,57 +1092,64 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1038,51 +1157,67 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -1090,28 +1225,31 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -1121,30 +1259,32 @@ 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 { - return new ListConversationsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,9 +1296,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java index 7b83921e..0d4608e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java index 07d3c19d..a2661aa9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListConversationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListConversationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conversations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conversations_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation>(); + mutable_bitField0_ |= 0x00000001; + } + conversations_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry)); + break; } - conversations_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListConversationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conversations_ = java.util.Collections.unmodifiableList(conversations_); @@ -94,22 +116,27 @@ private ListConversationsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List conversations_; /** + * + * *
    * The conversations that match the request.
    * 
@@ -117,10 +144,13 @@ private ListConversationsResponse( * 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.
    * 
@@ -128,11 +158,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.
    * 
@@ -144,6 +176,8 @@ public int getConversationsCount() { return conversations_.size(); } /** + * + * *
    * The conversations that match the request.
    * 
@@ -155,6 +189,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i return conversations_.get(index); } /** + * + * *
    * The conversations that match the request.
    * 
@@ -170,6 +206,8 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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
@@ -177,6 +215,7 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,14 +224,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
@@ -200,16 +240,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 { @@ -218,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +269,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)); } @@ -247,8 +286,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_); @@ -261,17 +299,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,135 +332,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConversationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +488,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 @@ -460,7 +511,8 @@ 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); int from_bitField0_ = bitField0_; if (conversationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -480,46 +532,51 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse build 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()) { @@ -538,9 +595,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_); } @@ -569,7 +627,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,28 +638,38 @@ public Builder mergeFrom( } 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 { @@ -607,6 +677,8 @@ public java.util.List ge } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -621,6 +693,8 @@ public int getConversationsCount() { } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -635,6 +709,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -656,6 +732,8 @@ public Builder setConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -674,6 +752,8 @@ public Builder setConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -694,6 +774,8 @@ public Builder addConversations(com.google.cloud.contactcenterinsights.v1.Conver return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -715,6 +797,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -733,6 +817,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -751,6 +837,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -758,11 +846,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); @@ -770,6 +858,8 @@ public Builder addAllConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -787,6 +877,8 @@ public Builder clearConversations() { return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -804,6 +896,8 @@ public Builder removeConversations(int index) { return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -815,28 +909,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 { @@ -844,17 +943,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.
      * 
@@ -863,26 +967,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(), @@ -894,6 +1007,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
@@ -901,13 +1016,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; @@ -916,6 +1031,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
@@ -923,15 +1040,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 { @@ -939,6 +1055,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
@@ -946,20 +1064,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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -967,15 +1087,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -983,23 +1106,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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1009,30 +1132,32 @@ 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 { - return new ListConversationsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1044,9 +1169,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java index 6dd89e46..c0748e01 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java index 87fe8620..79f7f147 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private ListIssueModelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ListIssueModelsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private ListIssueModelsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest buildPar 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_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( 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; @@ -467,20 +515,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 { @@ -488,61 +539,74 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -552,30 +616,32 @@ 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 { - return new ListIssueModelsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java new file mode 100644 index 00000000..30697135 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java index 225f0b04..aeda2c71 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java @@ -1,40 +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; } + private ListIssueModelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,26 @@ private ListIssueModelsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueModels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueModels_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + issueModels_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry)); + break; } - issueModels_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +98,7 @@ private ListIssueModelsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issueModels_ = java.util.Collections.unmodifiableList(issueModels_); @@ -87,22 +107,27 @@ private ListIssueModelsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List issueModels_; /** + * + * *
    * The issue models that match the request.
    * 
@@ -114,6 +139,8 @@ public java.util.List getI return issueModels_; } /** + * + * *
    * The issue models that match the request.
    * 
@@ -121,11 +148,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.
    * 
@@ -137,6 +166,8 @@ public int getIssueModelsCount() { return issueModels_.size(); } /** + * + * *
    * The issue models that match the request.
    * 
@@ -148,6 +179,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i return issueModels_.get(index); } /** + * + * *
    * The issue models that match the request.
    * 
@@ -161,6 +194,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,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 < issueModels_.size(); i++) { output.writeMessage(1, issueModels_.get(i)); } @@ -187,8 +220,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +230,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,135 +260,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIssueModelsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,13 +414,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(); } @@ -391,7 +436,8 @@ 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); int from_bitField0_ = bitField0_; if (issueModelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,46 +456,50 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse buildPa 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()) { @@ -468,9 +518,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_); } @@ -495,7 +546,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,28 +557,38 @@ public Builder mergeFrom( } 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 { @@ -533,6 +596,8 @@ public java.util.List getI } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -547,6 +612,8 @@ public int getIssueModelsCount() { } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -561,6 +628,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -582,6 +651,8 @@ public Builder setIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -600,6 +671,8 @@ public Builder setIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -620,6 +693,8 @@ public Builder addIssueModels(com.google.cloud.contactcenterinsights.v1.IssueMod return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -641,6 +716,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -659,6 +736,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -677,6 +756,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -687,8 +768,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); @@ -696,6 +776,8 @@ public Builder addAllIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -713,6 +795,8 @@ public Builder clearIssueModels() { return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -730,6 +814,8 @@ public Builder removeIssueModels(int index) { return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -741,6 +827,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelsFieldBuilder().getBuilder(index); } /** + * + * *
      * The issue models that match the request.
      * 
@@ -750,19 +838,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 { @@ -770,6 +861,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -777,10 +870,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.
      * 
@@ -789,37 +884,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); } @@ -829,30 +930,32 @@ 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 { - return new ListIssueModelsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,9 +967,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java index 103f31aa..283c8863 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java index fb307519..61af9e35 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private ListIssuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ListIssuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private ListIssuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = + new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new ListIssuesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java new file mode 100644 index 00000000..3585c15e --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java index 4f6ac7ee..b00211e9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java @@ -1,40 +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; } + private ListIssuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,25 @@ private ListIssuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + issues_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); + break; } - issues_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +97,7 @@ private ListIssuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -87,22 +106,27 @@ private ListIssuesResponse( makeExtensionsImmutable(); } } - 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; private java.util.List issues_; /** + * + * *
    * The issues that match the request.
    * 
@@ -114,6 +138,8 @@ public java.util.List getIssues return issues_; } /** + * + * *
    * The issues that match the request.
    * 
@@ -121,11 +147,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.
    * 
@@ -137,6 +165,8 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * The issues that match the request.
    * 
@@ -148,6 +178,8 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { return issues_.get(index); } /** + * + * *
    * The issues that match the request.
    * 
@@ -155,12 +187,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; @@ -172,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 { for (int i = 0; i < issues_.size(); i++) { output.writeMessage(1, issues_.get(i)); } @@ -187,8 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +228,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +258,127 @@ 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() @@ -346,17 +386,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,13 +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_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(); } @@ -391,7 +432,8 @@ 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); int from_bitField0_ = bitField0_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +452,39 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse 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.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; @@ -449,7 +492,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()) { @@ -468,9 +513,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_); } @@ -495,7 +541,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,21 +551,28 @@ public Builder mergeFrom( } 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.
      * 
@@ -533,6 +587,8 @@ public java.util.List getIssues } } /** + * + * *
      * The issues that match the request.
      * 
@@ -547,6 +603,8 @@ public int getIssuesCount() { } } /** + * + * *
      * The issues that match the request.
      * 
@@ -561,14 +619,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(); @@ -582,6 +641,8 @@ public Builder setIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -600,6 +661,8 @@ public Builder setIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -620,14 +683,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(); @@ -641,6 +705,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -659,6 +725,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -677,6 +745,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -687,8 +757,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); @@ -696,6 +765,8 @@ public Builder addAllIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -713,6 +784,8 @@ public Builder clearIssues() { return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -730,39 +803,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 { @@ -770,6 +848,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild } } /** + * + * *
      * The issues that match the request.
      * 
@@ -777,49 +857,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); } @@ -829,12 +915,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(); } @@ -843,16 +930,16 @@ 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 { - return new ListIssuesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java index 47d11797..11fb517f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java index 0ec6358f..1be89107 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java +++ b/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,16 +45,15 @@ 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; } + private ListPhraseMatchersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListPhraseMatchersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,41 @@ private ListPhraseMatchersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -128,29 +155,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 { @@ -161,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -169,6 +200,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -179,6 +211,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -186,6 +220,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -194,14 +229,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
@@ -209,16 +245,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 { @@ -229,12 +264,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -243,30 +281,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 { @@ -275,6 +313,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +325,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_); } @@ -313,8 +351,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_); @@ -330,21 +367,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,134 +404,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -513,14 +558,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 @@ -534,7 +581,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = + new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -547,46 +595,51 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest build 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_; onChanged(); @@ -621,7 +674,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,18 +688,22 @@ public Builder mergeFrom( 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; @@ -653,20 +712,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 { @@ -674,61 +736,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -737,6 +814,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -744,6 +822,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
@@ -752,16 +832,19 @@ 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; 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
@@ -770,10 +853,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -781,6 +865,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
@@ -788,13 +874,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; @@ -803,6 +889,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
@@ -810,15 +898,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 { @@ -826,6 +913,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
@@ -833,20 +922,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -854,15 +945,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -870,16 +964,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -887,19 +981,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; @@ -908,21 +1004,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 { @@ -930,64 +1027,71 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -997,30 +1101,32 @@ 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 { - return new ListPhraseMatchersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java index e3553062..fc6c4aec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java index 25650c58..c8f7a57e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListPhraseMatchersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListPhraseMatchersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchers_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>(); + mutable_bitField0_ |= 0x00000001; + } + phraseMatchers_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry)); + break; } - phraseMatchers_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListPhraseMatchersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchers_ = java.util.Collections.unmodifiableList(phraseMatchers_); @@ -94,22 +116,27 @@ private ListPhraseMatchersResponse( makeExtensionsImmutable(); } } - 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; private java.util.List phraseMatchers_; /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -117,10 +144,13 @@ private ListPhraseMatchersResponse( * 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.
    * 
@@ -128,11 +158,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.
    * 
@@ -144,6 +176,8 @@ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -155,6 +189,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers return phraseMatchers_.get(index); } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -162,20 +198,23 @@ 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; 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 @@ -184,30 +223,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 { @@ -216,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,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)); } @@ -245,8 +284,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_); @@ -259,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +330,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPhraseMatchersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +486,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 @@ -458,7 +509,8 @@ 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); int from_bitField0_ = bitField0_; if (phraseMatchersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +530,51 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse 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.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()) { @@ -536,9 +593,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_); } @@ -567,7 +625,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +636,39 @@ public Builder mergeFrom( } 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 { @@ -605,11 +676,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) { @@ -619,11 +693,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) { @@ -633,11 +710,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) { @@ -654,14 +734,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()); @@ -672,13 +756,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(); @@ -692,11 +780,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) { @@ -713,11 +804,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) { @@ -731,14 +825,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()); @@ -749,18 +847,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); @@ -768,11 +869,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) { @@ -785,11 +889,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) { @@ -802,39 +909,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 { @@ -842,45 +960,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(), @@ -892,19 +1027,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; @@ -913,21 +1050,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 { @@ -935,64 +1073,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,30 +1147,32 @@ 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 { - return new ListPhraseMatchersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1184,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java index 0a61b739..3cc8ae94 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java index 4cf01d08..078b23a9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java +++ b/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,16 +44,15 @@ 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; } + private ListViewsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListViewsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListViewsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -121,29 +147,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 { @@ -154,6 +182,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -162,6 +192,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -172,6 +203,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -179,6 +212,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -187,14 +221,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
@@ -202,16 +237,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 { @@ -220,6 +254,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,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_); } @@ -255,8 +289,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_); @@ -269,19 +302,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,117 +336,127 @@ 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() @@ -423,16 +464,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +486,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 @@ -467,7 +507,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); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -479,38 +520,39 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsRequest 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.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; @@ -518,7 +560,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_; onChanged(); @@ -549,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -561,18 +605,22 @@ public Builder mergeFrom( 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; @@ -581,20 +629,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 { @@ -602,61 +653,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -665,6 +731,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -672,6 +739,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
@@ -680,16 +749,19 @@ 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; 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
@@ -698,10 +770,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +782,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
@@ -716,13 +791,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; @@ -731,6 +806,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
@@ -738,15 +815,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 { @@ -754,6 +830,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
@@ -761,20 +839,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -782,15 +862,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -798,23 +881,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -824,12 +907,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(); } @@ -838,16 +921,16 @@ 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 { - return new ListViewsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListViewsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -862,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java index 30af1d72..ea56b54c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java index 503e9a51..25f9979c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListViewsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListViewsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - views_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + views_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + views_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); + break; } - views_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListViewsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { views_ = java.util.Collections.unmodifiableList(views_); @@ -94,22 +113,27 @@ private ListViewsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List views_; /** + * + * *
    * The views that match the request.
    * 
@@ -121,6 +145,8 @@ public java.util.List getViewsLi return views_; } /** + * + * *
    * The views that match the request.
    * 
@@ -128,11 +154,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.
    * 
@@ -144,6 +172,8 @@ public int getViewsCount() { return views_.size(); } /** + * + * *
    * The views that match the request.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { return views_.get(index); } /** + * + * *
    * The views that match the request.
    * 
@@ -162,20 +194,22 @@ 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; 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 @@ -184,30 +218,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 { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 { for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } @@ -245,8 +279,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_); @@ -259,17 +292,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ 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() @@ -411,17 +453,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getViewsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,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 @@ -458,7 +500,8 @@ 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); int from_bitField0_ = bitField0_; if (viewsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsResponse 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.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; @@ -517,7 +561,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()) { @@ -536,9 +581,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_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } 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.
      * 
@@ -605,6 +659,8 @@ public java.util.List getViewsLi } } /** + * + * *
      * The views that match the request.
      * 
@@ -619,6 +675,8 @@ public int getViewsCount() { } } /** + * + * *
      * The views that match the request.
      * 
@@ -633,14 +691,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(); @@ -654,6 +713,8 @@ public Builder setViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -672,6 +733,8 @@ public Builder setViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -692,14 +755,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(); @@ -713,6 +777,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -731,6 +797,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -749,6 +817,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -759,8 +829,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); @@ -768,6 +837,8 @@ public Builder addAllViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -785,6 +856,8 @@ public Builder clearViews() { return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -802,39 +875,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 { @@ -842,6 +920,8 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder } } /** + * + * *
      * The views that match the request.
      * 
@@ -849,42 +929,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_; @@ -892,19 +978,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; @@ -913,21 +1001,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 { @@ -935,64 +1024,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,12 +1098,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(); } @@ -1016,16 +1112,16 @@ 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 { - return new ListViewsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListViewsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java index 864c9352..7bdecae0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java index 6afcbcfd..eccc901e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java +++ b/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,16 +45,15 @@ 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;
   }
+
   private PhraseMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private PhraseMatchData(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            phraseMatcher_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              phraseMatcher_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,34 +100,39 @@ private PhraseMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -117,29 +141,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 { @@ -150,11 +174,14 @@ public java.lang.String getPhraseMatcher() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -163,29 +190,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 { @@ -194,6 +221,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +233,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_); } @@ -236,17 +263,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,96 +294,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.
@@ -365,21 +399,23 @@ 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()
@@ -387,16 +423,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -408,9 +443,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
@@ -429,7 +464,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);
+      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result =
+          new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
       result.phraseMatcher_ = phraseMatcher_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -440,38 +476,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData 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.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;
@@ -479,7 +516,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_;
         onChanged();
@@ -507,7 +545,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -519,18 +558,20 @@ public Builder mergeFrom(
 
     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; @@ -539,20 +580,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 { @@ -560,54 +602,61 @@ 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) { + public Builder setPhraseMatcher(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phraseMatcher_ = value; 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() { - + phraseMatcher_ = getDefaultInstance().getPhraseMatcher(); onChanged(); 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) { + public Builder setPhraseMatcherBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phraseMatcher_ = value; onChanged(); return this; @@ -615,18 +664,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; @@ -635,20 +686,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 { @@ -656,61 +708,68 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -720,12 +779,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(); } @@ -734,16 +793,16 @@ 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 { - return new PhraseMatchData(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,6 +817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java index b751257f..0367f2ef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java index a09eba4a..e9574d5c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java @@ -1,40 +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 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; } + private PhraseMatchRule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,37 +70,43 @@ private PhraseMatchRule( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - query_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - negated_ = input.readBool(); - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); + query_ = s; + break; } - config_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + case 16: + { + negated_ = input.readBool(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = + null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,34 +114,39 @@ private PhraseMatchRule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -127,29 +155,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 { @@ -160,12 +188,15 @@ public java.lang.String getQuery() { public static final int NEGATED_FIELD_NUMBER = 2; 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 @@ -176,12 +207,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 @@ -189,19 +223,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.
@@ -210,11 +251,13 @@ 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() {
+  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder
+      getConfigOrBuilder() {
     return getConfig();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -226,8 +269,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_);
     }
@@ -250,12 +292,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -265,21 +305,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -295,8 +333,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();
@@ -307,117 +344,127 @@ 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() @@ -425,16 +472,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +498,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 @@ -473,7 +519,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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); result.query_ = query_; result.negated_ = negated_; if (configBuilder_ == null) { @@ -489,38 +536,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule 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.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; @@ -528,7 +576,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_; onChanged(); @@ -558,7 +607,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -570,18 +620,20 @@ public Builder mergeFrom( 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; @@ -590,20 +642,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 { @@ -611,67 +664,77 @@ 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) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; 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() { - + query_ = getDefaultInstance().getQuery(); onChanged(); 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) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); 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 @@ -679,32 +742,38 @@ 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; 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() { - + negated_ = false; onChanged(); return this; @@ -712,36 +781,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 configBuilder_ != null || 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. */ 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.
@@ -749,7 +831,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();
@@ -763,6 +846,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.
@@ -782,6 +867,8 @@ public Builder setConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -789,11 +876,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 (config_ != null) {
           config_ =
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_).mergeFrom(value).buildPartial();
+              com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           config_ = value;
         }
@@ -805,6 +895,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.
@@ -824,6 +916,8 @@ public Builder clearConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -831,12 +925,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() {
+
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -844,15 +941,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.
@@ -861,21 +962,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);
     }
 
@@ -885,12 +989,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();
   }
@@ -899,16 +1003,16 @@ 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 {
-      return new PhraseMatchRule(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new PhraseMatchRule(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -923,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
index 32569ebb..fa362dbc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
+++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
@@ -1,39 +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;
 
 /**
+ *
+ *
  * 
  * 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; } + private PhraseMatchRuleConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,33 @@ private PhraseMatchRuleConfig( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; - if (configCase_ == 1) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_).toBuilder(); + case 10: + { + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; + if (configCase_ == 1) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) + .toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); + config_ = subBuilder.buildPartial(); + } + configCase_ = 1; + break; } - config_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); - config_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - configCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +102,39 @@ private PhraseMatchRuleConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; } @@ -123,29 +150,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 @@ -153,21 +185,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.
    * 
@@ -175,14 +212,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; @@ -194,8 +233,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_); } @@ -209,8 +247,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,18 +259,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: @@ -261,117 +300,127 @@ 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() @@ -379,16 +428,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,13 +446,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(); } @@ -419,7 +468,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); if (configCase_ == 1) { if (exactMatchConfigBuilder_ == null) { result.config_ = config_; @@ -436,54 +486,60 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig buildPart 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.unknownFields); onChanged(); @@ -504,7 +560,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -513,12 +571,12 @@ public Builder mergeFrom( } 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() { @@ -528,15 +586,20 @@ public Builder clearConfig() { return this; } - 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 @@ -544,11 +607,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 @@ -566,13 +632,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(); @@ -586,6 +655,8 @@ public Builder setExactMatchConfig(com.google.cloud.contactcenterinsights.v1.Exa return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -604,18 +675,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; } @@ -631,6 +710,8 @@ public Builder mergeExactMatchConfig(com.google.cloud.contactcenterinsights.v1.E return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -654,16 +735,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.
      * 
@@ -671,7 +757,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 { @@ -682,6 +769,8 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getEx } } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -689,26 +778,32 @@ 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()); config_ = null; } configCase_ = 1; - onChanged();; + 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); } @@ -718,30 +813,32 @@ 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 { - return new PhraseMatchRuleConfig(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +850,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java index d3c30df2..d14c4657 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java index 0c7e340f..9a9382ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java +++ b/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,16 +44,15 @@ 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; } + private PhraseMatchRuleGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private PhraseMatchRuleGroup( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRules_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + type_ = rawValue; + break; } - phraseMatchRules_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRules_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule>(); + mutable_bitField0_ |= 0x00000001; + } + phraseMatchRules_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private PhraseMatchRuleGroup( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRules_ = java.util.Collections.unmodifiableList(phraseMatchRules_); @@ -94,30 +116,37 @@ private PhraseMatchRuleGroup( makeExtensionsImmutable(); } } - 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.
      * 
@@ -126,6 +155,8 @@ public enum PhraseMatchRuleGroupType */ PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED(0), /** + * + * *
      * Must meet all phrase match rules or there is no match.
      * 
@@ -134,6 +165,8 @@ public enum PhraseMatchRuleGroupType */ ALL_OF(1), /** + * + * *
      * If any of the phrase match rules are met, there is a match.
      * 
@@ -145,6 +178,8 @@ public enum PhraseMatchRuleGroupType ; /** + * + * *
      * Unspecified.
      * 
@@ -153,6 +188,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.
      * 
@@ -161,6 +198,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.
      * 
@@ -169,7 +208,6 @@ public enum PhraseMatchRuleGroupType */ public static final int ANY_OF_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -194,10 +232,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; } } @@ -205,29 +247,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(); @@ -235,8 +279,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; @@ -256,91 +299,128 @@ private PhraseMatchRuleGroupType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .valueOf(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .UNRECOGNIZED + : result; } public static final int PHRASE_MATCH_RULES_FIELD_NUMBER = 2; - 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; @@ -352,9 +432,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++) { @@ -369,13 +451,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -385,16 +468,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,117 +501,127 @@ 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() @@ -536,17 +629,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPhraseMatchRulesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -562,13 +655,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(); } @@ -583,7 +677,8 @@ 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); int from_bitField0_ = bitField0_; result.type_ = type_; if (phraseMatchRulesBuilder_ == null) { @@ -603,38 +698,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup buildParti 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; @@ -642,7 +738,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()); } @@ -664,9 +762,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRu phraseMatchRulesBuilder_ = null; phraseMatchRules_ = other.phraseMatchRules_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPhraseMatchRulesFieldBuilder() : null; + phraseMatchRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPhraseMatchRulesFieldBuilder() + : null; } else { phraseMatchRulesBuilder_.addAllMessages(other.phraseMatchRules_); } @@ -691,7 +790,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -700,102 +801,148 @@ public Builder mergeFrom( } 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + result = + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup + .PhraseMatchRuleGroupType.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRules_ = new java.util.ArrayList(phraseMatchRules_); + phraseMatchRules_ = + new java.util.ArrayList( + phraseMatchRules_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -803,11 +950,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) { @@ -817,13 +967,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 { @@ -831,11 +985,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) { @@ -852,14 +1009,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()); @@ -870,13 +1031,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(); @@ -890,11 +1055,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) { @@ -911,11 +1079,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) { @@ -929,14 +1100,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()); @@ -947,18 +1122,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); @@ -966,11 +1144,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) { @@ -983,11 +1164,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) { @@ -1000,39 +1184,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 { @@ -1040,45 +1235,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1087,9 +1301,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); } @@ -1099,30 +1313,32 @@ 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 { - return new PhraseMatchRuleGroup(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,9 +1350,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java index 12f8accf..ae910d8e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java index bb429f12..f53d29c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
index eebebcb4..5c7509cf 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
+++ b/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,16 +49,15 @@ 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; } + private PhraseMatcher( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,102 +77,119 @@ private PhraseMatcher( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - revisionId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + revisionId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - versionTag_ = s; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (revisionCreateTime_ != null) { - subBuilder = revisionCreateTime_.toBuilder(); + versionTag_ = s; + break; } - revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(revisionCreateTime_); - revisionCreateTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (revisionCreateTime_ != null) { + subBuilder = revisionCreateTime_.toBuilder(); + } + revisionCreateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(revisionCreateTime_); + revisionCreateTime_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 48: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 56: { + displayName_ = s; + break; + } + case 48: + { + int rawValue = input.readEnum(); - active_ = input.readBool(); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + type_ = rawValue; + break; } - phraseMatchRuleGroups_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), extensionRegistry)); - break; - } - case 74: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (activationUpdateTime_ != null) { - subBuilder = activationUpdateTime_.toBuilder(); + case 56: + { + active_ = input.readBool(); + break; } - activationUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(activationUpdateTime_); - activationUpdateTime_ = subBuilder.buildPartial(); + case 66: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRuleGroups_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup>(); + mutable_bitField0_ |= 0x00000001; + } + phraseMatchRuleGroups_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), + extensionRegistry)); + break; } + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (activationUpdateTime_ != null) { + subBuilder = activationUpdateTime_.toBuilder(); + } + activationUpdateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(activationUpdateTime_); + activationUpdateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 80: + { + int rawValue = input.readEnum(); - break; - } - case 80: { - int rawValue = input.readEnum(); - - roleMatch_ = rawValue; - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + roleMatch_ = rawValue; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -163,8 +197,7 @@ private PhraseMatcher( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRuleGroups_ = java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); @@ -173,20 +206,25 @@ private PhraseMatcher( makeExtensionsImmutable(); } } - 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.
@@ -194,9 +232,10 @@ private PhraseMatcher(
    *
    * 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.
      * 
@@ -205,6 +244,8 @@ public enum PhraseMatcherType */ PHRASE_MATCHER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Must meet all phrase match rule groups or there is no match.
      * 
@@ -213,6 +254,8 @@ public enum PhraseMatcherType */ ALL_OF(1), /** + * + * *
      * If any of the phrase match rule groups are met, there is a match.
      * 
@@ -224,6 +267,8 @@ public enum PhraseMatcherType ; /** + * + * *
      * Unspecified.
      * 
@@ -232,6 +277,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.
      * 
@@ -240,6 +287,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.
      * 
@@ -248,7 +297,6 @@ public enum PhraseMatcherType */ public static final int ANY_OF_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -273,10 +321,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; } } @@ -284,29 +336,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(); @@ -314,8 +368,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; @@ -335,6 +388,8 @@ private PhraseMatcherType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The resource name of the phrase matcher.
    * Format:
@@ -342,6 +397,7 @@ private PhraseMatcherType(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -350,14 +406,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:
@@ -365,16 +422,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 { @@ -385,6 +441,8 @@ public java.lang.String getName() { public static final int REVISION_ID_FIELD_NUMBER = 2; 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
@@ -392,7 +450,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 @@ -401,14 +462,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
@@ -416,17 +478,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 { @@ -437,12 +500,15 @@ public java.lang.String getRevisionId() { public static final int VERSION_TAG_FIELD_NUMBER = 3; 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 @@ -451,30 +517,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 { @@ -485,12 +551,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 @@ -498,25 +569,36 @@ 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() { @@ -526,11 +608,14 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; + * * @return The displayName. */ @java.lang.Override @@ -539,29 +624,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 { @@ -572,38 +657,56 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED + : result; } public static final int ACTIVE_FIELD_NUMBER = 7; private boolean active_; /** + * + * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; + * * @return The active. */ @java.lang.Override @@ -612,73 +715,102 @@ public boolean getActive() { } public static final int PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER = 8; - 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 @@ -686,23 +818,34 @@ 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() { @@ -712,42 +855,59 @@ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() public static final int ROLE_MATCH_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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 @@ -755,11 +915,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 @@ -767,11 +931,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() { @@ -779,6 +946,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -790,8 +958,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_); } @@ -807,7 +974,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) { @@ -819,7 +989,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) { @@ -844,35 +1016,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -882,41 +1055,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -944,8 +1109,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(); @@ -966,117 +1130,127 @@ 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() @@ -1084,17 +1258,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPhraseMatchRuleGroupsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1140,9 +1314,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 @@ -1161,7 +1335,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.revisionId_ = revisionId_; @@ -1202,38 +1377,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher 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.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; @@ -1241,7 +1417,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_; onChanged(); @@ -1285,9 +1462,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatchRuleGroupsBuilder_ = null; phraseMatchRuleGroups_ = other.phraseMatchRuleGroups_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRuleGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPhraseMatchRuleGroupsFieldBuilder() : null; + phraseMatchRuleGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPhraseMatchRuleGroupsFieldBuilder() + : null; } else { phraseMatchRuleGroupsBuilder_.addAllMessages(other.phraseMatchRuleGroups_); } @@ -1321,7 +1499,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1330,10 +1509,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1341,13 +1523,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; @@ -1356,6 +1538,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1363,15 +1547,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 { @@ -1379,6 +1562,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1386,20 +1571,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1407,15 +1594,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1423,16 +1613,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1440,6 +1630,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
@@ -1447,14 +1639,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; @@ -1463,6 +1657,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
@@ -1470,16 +1666,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 { @@ -1487,6 +1684,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
@@ -1494,21 +1693,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) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; 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
@@ -1516,16 +1719,21 @@ 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() { - + revisionId_ = getDefaultInstance().getRevisionId(); 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
@@ -1533,17 +1741,19 @@ 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) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -1551,19 +1761,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; @@ -1572,21 +1784,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 { @@ -1594,57 +1807,64 @@ 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) { + public Builder setVersionTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionTag_ = value; 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() { - + versionTag_ = getDefaultInstance().getVersionTag(); 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; + * * @param value The bytes for versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTagBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionTag_ = value; onChanged(); return this; @@ -1652,42 +1872,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 revisionCreateTimeBuilder_ != null || 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. */ 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) { @@ -1703,15 +1942,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(); onChanged(); @@ -1722,18 +1964,24 @@ 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 (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionCreateTime_ = value; } @@ -1745,12 +1993,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() { if (revisionCreateTimeBuilder_ == null) { @@ -1764,51 +2016,67 @@ 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() { - + onChanged(); 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_; @@ -1816,18 +2084,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; @@ -1836,20 +2106,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 { @@ -1857,54 +2128,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1912,85 +2190,118 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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 @@ -1998,55 +2309,72 @@ 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; onChanged(); return this; } /** + * + * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; + * * @return This builder for chaining. */ public Builder clearActive() { - + active_ = false; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = new java.util.ArrayList(phraseMatchRuleGroups_); + phraseMatchRuleGroups_ = + new java.util.ArrayList( + phraseMatchRuleGroups_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2054,11 +2382,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) { @@ -2068,13 +2400,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 { @@ -2082,11 +2419,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) { @@ -2103,14 +2444,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()); @@ -2121,13 +2467,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(); @@ -2141,11 +2492,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) { @@ -2162,11 +2517,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) { @@ -2180,14 +2539,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()); @@ -2198,18 +2562,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); @@ -2217,11 +2585,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) { @@ -2234,11 +2606,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) { @@ -2251,39 +2627,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 { @@ -2291,45 +2681,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2341,39 +2753,58 @@ 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 activationUpdateTimeBuilder_ != null || 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. */ 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) { @@ -2389,14 +2820,17 @@ 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(); onChanged(); @@ -2407,17 +2841,23 @@ 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 (activationUpdateTime_ != null) { activationUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { activationUpdateTime_ = value; } @@ -2429,11 +2869,15 @@ 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() { if (activationUpdateTimeBuilder_ == null) { @@ -2447,48 +2891,64 @@ 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() { - + onChanged(); 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_; @@ -2496,83 +2956,109 @@ 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. */ public Builder setRoleMatchValue(int value) { - + roleMatch_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf( + 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(); } - + roleMatch_ = value.getNumber(); onChanged(); 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() { - + roleMatch_ = 0; onChanged(); return this; @@ -2580,39 +3066,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2628,14 +3133,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(); onChanged(); @@ -2646,17 +3154,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2668,11 +3180,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() { if (updateTimeBuilder_ == null) { @@ -2686,55 +3202,71 @@ 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() { - + onChanged(); 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); } @@ -2744,12 +3276,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(); } @@ -2758,16 +3290,16 @@ 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 { - return new PhraseMatcher(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatcher(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2782,6 +3314,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java index 03a7c88e..d116f89d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java +++ b/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,231 +79,324 @@ 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java new file mode 100644 index 00000000..62e92f3f --- /dev/null +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java @@ -0,0 +1,1244 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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; + + 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." + + "googleapis.com/Analysis\022Xprojects/{proje" + + "ct}/locations/{location}/conversations/{" + + "conversation}/analyses/{analysis}\"\300\001\n\026Co" + + "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" + + "20.google.cloud.contactcenterinsights.v1" + + ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" + + "7.google.cloud.contactcenterinsights.v1." + + "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" + + "e\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\027dialogf" + + "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" + + "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" + + "is_metadata\030\002 \001(\0132J.google.cloud.contact" + + "centerinsights.v1.AnalysisResult.CallAna" + + "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" + + "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" + + "ud.contactcenterinsights.v1.CallAnnotati" + + "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" + + "actcenterinsights.v1.AnalysisResult.Call" + + "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" + + "ents\030\004 \003(\0132A.google.cloud.contactcenteri" + + "nsights.v1.ConversationLevelSentiment\022h\n" + + "\007intents\030\006 \003(\0132W.google.cloud.contactcen" + + "terinsights.v1.AnalysisResult.CallAnalys" + + "isMetadata.IntentsEntry\022w\n\017phrase_matche" + + "rs\030\007 \003(\0132^.google.cloud.contactcenterins" + + "ights.v1.AnalysisResult.CallAnalysisMeta" + + "data.PhraseMatchersEntry\022S\n\022issue_model_" + + "result\030\010 \001(\01327.google.cloud.contactcente" + + "rinsights.v1.IssueModelResult\032^\n\rEntitie" + + "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" + + "gle.cloud.contactcenterinsights.v1.Entit" + + "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" + + "lue\030\002 \001(\0132-.google.cloud.contactcenterin" + + "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" + + "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" + + "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" + + "enterinsights.googleapis.com/IssueModel\022" + + "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" + + "nterinsights.v1.IssueAssignment\"\177\n\032Conve" + + "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" + + "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" + + "d.contactcenterinsights.v1.SentimentData" + + "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" + + "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" + + "\016CallAnnotation\022T\n\021interruption_data\030\n \001" + + "(\01327.google.cloud.contactcenterinsights." + + "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" + + "\013 \001(\01324.google.cloud.contactcenterinsigh" + + "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " + + "\001(\01322.google.cloud.contactcenterinsights" + + ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Hol" + + "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" + + "oogle.cloud.contactcenterinsights.v1.Ent" + + "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " + + "\001(\01326.google.cloud.contactcenterinsights" + + ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" + + "ta\030\021 \001(\01326.google.cloud.contactcenterins" + + "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" + + "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" + + "(\01329.google.cloud.contactcenterinsights." + + "v1.AnnotationBoundary\022Z\n\027annotation_end_" + + "boundary\030\005 \001(\01329.google.cloud.contactcen" + + "terinsights.v1.AnnotationBoundaryB\006\n\004dat" + + "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " + + "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" + + "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" + + "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" + + "ctcenterinsights.v1.Entity.Type\022M\n\010metad" + + "ata\030\003 \003(\0132;.google.cloud.contactcenterin" + + "sights.v1.Entity.MetadataEntry\022\020\n\010salien" + + "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" + + "ud.contactcenterinsights.v1.SentimentDat" + + "a\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_UNSPECIFIED\020" + + "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" + + "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" + + "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" + + "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" + + "PRICE\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\020" + + "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" + + "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" + + "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" + + "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" + + "ud.contactcenterinsights.v1.EntityMentio" + + "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" + + "oogle.cloud.contactcenterinsights.v1.Sen" + + "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" + + "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" + + "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" + + " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" + + "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" + + "gle.cloud.contactcenterinsights.v1.Issue" + + "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " + + "\001(\0132A.google.cloud.contactcenterinsights" + + ".v1.IssueModel.InputDataConfig\022[\n\016traini" + + "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" + + "terinsights.v1.IssueModelLabelStatsB\006\340A\003" + + "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" + + ":.google.cloud.contactcenterinsights.v1." + + "Conversation.MediumB\002\030\001\022)\n\034training_conv" + + "ersations_count\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\nUN" + + "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" + + "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" + + "tactcenterinsights.googleapis.com/IssueM" + + "odel\022Aprojects/{project}/locations/{loca" + + "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" + + "e\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.protobu" + + "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" + + "ntactcenterinsights.googleapis.com/Issue" + + "\022Pprojects/{project}/locations/{location" + + "}/issueModels/{issue_model}/issues/{issu" + + "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" + + "conversations_count\030\001 \001(\003\022(\n unclassifie" + + "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" + + "ts\030\003 \003(\0132K.google.cloud.contactcenterins" + + "ights.v1.IssueModelLabelStats.IssueStats" + + "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" + + "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" + + "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" + + "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" + + "actcenterinsights.v1.IssueModelLabelStat" + + "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" + + "me\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_create_ti" + + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." + + "google.cloud.contactcenterinsights.v1.Ph" + + "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" + + "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" + + " \003(\0132;.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" + + "update_time\030\t \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." + + "cloud.contactcenterinsights.v1.Conversat" + + "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" + + "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" + + "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" + + "}\n2contactcenterinsights.googleapis.com/" + + "PhraseMatcher\022Gprojects/{project}/locati" + + "ons/{location}/phraseMatchers/{phrase_ma" + + "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" + + "\001 \001(\0162T.google.cloud.contactcenterinsigh" + + "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" + + "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" + + " \003(\01326.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" + + "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" + + "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" + + "\n\022exact_match_config\030\001 \001(\01327.google.clou" + + "d.contactcenterinsights.v1.ExactMatchCon" + + "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" + + "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" + + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" + + "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" + + "ubsub_notification_settings\030\006 \003(\0132O.goog" + + "le.cloud.contactcenterinsights.v1.Settin" + + "gs.PubsubNotificationSettingsEntry\022W\n\017an" + + "alysis_config\030\007 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.Settings.AnalysisCon" + + "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" + + "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" + + "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" + + "ights.googleapis.com/Settings\0220projects/" + + "{project}/locations/{location}/settings\"" + + "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" + + "ion\030\006 \001(\0132<.google.cloud.contactcenterin" + + "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" + + "_answer\030\007 \001(\01324.google.cloud.contactcent" + + "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" + + "eply\030\010 \001(\01325.google.cloud.contactcenteri" + + "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" + + "pose_suggestion\030\t \001(\0132A.google.cloud.con" + + "tactcenterinsights.v1.SmartComposeSugges" + + "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" + + "(\0132@.google.cloud.contactcenterinsights." + + "v1.DialogflowInteractionDataH\000\022\025\n\rannota" + + "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022Q\n\016start_boundary" + + "\030\003 \001(\01329.google.cloud.contactcenterinsig" + + "hts.v1.AnnotationBoundary\022O\n\014end_boundar" + + "y\030\004 \001(\01329.google.cloud.contactcenterinsi" + + "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" + + "dback\030\005 \001(\01325.google.cloud.contactcenter" + + "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" + + "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" + + "2F.google.cloud.contactcenterinsights.v1" + + ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" + + "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" + + "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" + + "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" + + "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" + + "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" + + "2J.google.cloud.contactcenterinsights.v1" + + ".ArticleSuggestionData.MetadataEntry\022\024\n\014" + + "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" + + "tadataEntry\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\006answer\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.google.cloud.conta" + + "ctcenterinsights.v1.FaqAnswerData.Metada" + + "taEntry\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\005v" + + "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" + + "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" + + "tadata\030\003 \003(\0132C.google.cloud.contactcente" + + "rinsights.v1.SmartReplyData.MetadataEntr" + + "y\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\032Sma" + + "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " + + "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" + + "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" + + "ghts.v1.SmartComposeSuggestionData.Metad" + + "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" + + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" + + "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" + + "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" + + "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" + + "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" + + "nterinsights.v1.ConversationParticipant." + + "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" + + "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" + + "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" + + "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" + + "ogleapis.com/View\0224projects/{project}/lo" + + "cations/{location}/views/{view}B\354\003\n)com." + + "google.cloud.contactcenterinsights.v1B\016R" + + "esourcesProtoP\001ZZgoogle.golang.org/genpr" + + "oto/googleapis/cloud/contactcenterinsigh" + + "ts/v1;contactcenterinsights\252\002%Google.Clo" + + "ud.ContactCenterInsights.V1\312\002%Google\\Clo" + + "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" + + "oud::ContactCenterInsights::V1\352A\324\001\n%dial" + + "ogflow.googleapis.com/Participant\022Jproje" + + "cts/{project}/conversations/{conversatio" + + "n}/participants/{participant}\022_projects/" + + "{project}/locations/{location}/conversat" + + "ions/{conversation}/participants/{partic" + + "ipant}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", + }); + 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", + "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_IssueModel_descriptor = + getDescriptor().getMessageTypes().get(21); + 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(22); + 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", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = + getDescriptor().getMessageTypes().get(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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", + }); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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(36); + 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(37); + 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(38); + 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", + }); + 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java index f44ba4ae..a4c07193 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java @@ -1,40 +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; } + private RuntimeAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,141 +70,189 @@ private RuntimeAnnotation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - annotationId_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + annotationId_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (startBoundary_ != null) { - subBuilder = startBoundary_.toBuilder(); + case 26: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (startBoundary_ != null) { + subBuilder = startBoundary_.toBuilder(); + } + startBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startBoundary_); + startBoundary_ = subBuilder.buildPartial(); + } + + break; } - startBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startBoundary_); - startBoundary_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (endBoundary_ != null) { + subBuilder = endBoundary_.toBuilder(); + } + endBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endBoundary_); + endBoundary_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (endBoundary_ != null) { - subBuilder = endBoundary_.toBuilder(); + case 42: + { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; + if (answerFeedback_ != null) { + subBuilder = answerFeedback_.toBuilder(); + } + answerFeedback_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(answerFeedback_); + answerFeedback_ = subBuilder.buildPartial(); + } + + break; } - endBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endBoundary_); - endBoundary_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = + null; + if (dataCase_ == 6) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 6; + break; } - - break; - } - case 42: { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; - if (answerFeedback_ != null) { - subBuilder = answerFeedback_.toBuilder(); + case 58: + { + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; + if (dataCase_ == 7) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 7; + break; } - answerFeedback_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(answerFeedback_); - answerFeedback_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; + if (dataCase_ == 8) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 8; + break; } - - break; - } - case 50: { - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = null; - if (dataCase_ == 6) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); - data_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder + subBuilder = null; + if (dataCase_ == 9) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 9; + break; } - dataCase_ = 6; - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; - if (dataCase_ == 7) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); + case 82: + { + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder + subBuilder = null; + if (dataCase_ == 10) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); - data_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - dataCase_ = 7; - break; - } - case 66: { - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; - if (dataCase_ == 8) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 8; - break; - } - case 74: { - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder subBuilder = null; - if (dataCase_ == 9) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 9; - break; - } - case 82: { - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder subBuilder = null; - if (dataCase_ == 10) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -195,30 +260,34 @@ private RuntimeAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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), @@ -227,6 +296,7 @@ public enum DataCase DIALOGFLOW_INTERACTION(10), DATA_NOT_SET(0); private final int value; + private DataCase(int value) { this.value = value; } @@ -242,33 +312,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 @@ -276,42 +356,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 @@ -319,21 +410,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.
    * 
@@ -343,18 +439,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 @@ -362,21 +461,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.
    * 
@@ -384,20 +488,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 @@ -405,42 +515,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 @@ -448,31 +576,42 @@ 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(); } @@ -480,6 +619,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuil public static final int ANNOTATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object annotationId_; /** + * + * *
    * The unique identifier of the annotation.
    * Format:
@@ -487,6 +628,7 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuil
    * 
* * string annotation_id = 1; + * * @return The annotationId. */ @java.lang.Override @@ -495,14 +637,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:
@@ -510,16 +653,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 { @@ -530,11 +672,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 @@ -542,11 +687,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 @@ -554,6 +702,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time at which this annotation was created.
    * 
@@ -568,11 +718,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 @@ -580,18 +733,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.
    * 
@@ -599,18 +759,22 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getStartBoundaryOrBuilder() { return getStartBoundary(); } 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 @@ -618,18 +782,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.
    * 
@@ -637,18 +808,22 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getEndBoundaryOrBuilder() { return getEndBoundary(); } 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 @@ -656,18 +831,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`.
    * 
@@ -675,11 +857,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder + getAnswerFeedbackOrBuilder() { return getAnswerFeedback(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -691,8 +875,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_); } @@ -709,7 +892,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_); @@ -718,10 +902,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_); } unknownFields.writeTo(output); } @@ -736,40 +922,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -779,56 +966,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: @@ -892,117 +1070,127 @@ 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() @@ -1010,16 +1198,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1055,9 +1242,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 @@ -1076,7 +1263,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); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = + new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); if (dataCase_ == 6) { if (articleSuggestionBuilder_ == null) { result.data_ = data_; @@ -1142,38 +1330,39 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation 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.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; @@ -1181,7 +1370,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_; onChanged(); @@ -1199,29 +1389,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.unknownFields); onChanged(); @@ -1242,7 +1438,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1251,12 +1448,12 @@ public Builder mergeFrom( } 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() { @@ -1266,15 +1463,21 @@ public Builder clearData() { return this; } - 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 @@ -1282,11 +1485,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 @@ -1304,13 +1511,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(); @@ -1324,11 +1535,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) { @@ -1342,18 +1556,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; } @@ -1369,11 +1592,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) { @@ -1392,24 +1618,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 { @@ -1420,39 +1654,55 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 6; - onChanged();; + onChanged(); + ; return articleSuggestionBuilder_; } 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 @@ -1460,11 +1710,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 @@ -1482,6 +1735,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { } } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1502,6 +1757,8 @@ public Builder setFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerD return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1520,6 +1777,8 @@ public Builder setFaqAnswer( return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1528,10 +1787,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; } @@ -1547,6 +1810,8 @@ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswe return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1570,6 +1835,8 @@ public Builder clearFaqAnswer() { return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1580,6 +1847,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns return getFaqAnswerFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1587,7 +1856,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 { @@ -1598,6 +1868,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAn } } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1605,32 +1877,44 @@ 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()); data_ = null; } dataCase_ = 7; - onChanged();; + onChanged(); + ; return faqAnswerBuilder_; } 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 @@ -1638,11 +1922,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 @@ -1660,6 +1947,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() } } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1680,6 +1969,8 @@ public Builder setSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRepl return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1698,6 +1989,8 @@ public Builder setSmartReply( return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1706,10 +1999,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; } @@ -1725,6 +2022,8 @@ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRe return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1748,6 +2047,8 @@ public Builder clearSmartReply() { return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1758,6 +2059,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart return getSmartReplyFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1765,7 +2068,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 { @@ -1776,6 +2080,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmar } } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1783,32 +2089,46 @@ 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()); data_ = null; } dataCase_ = 8; - onChanged();; + onChanged(); + ; return smartReplyBuilder_; } 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 @@ -1816,35 +2136,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(); @@ -1858,14 +2191,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(); @@ -1876,18 +2214,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; } @@ -1903,11 +2251,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) { @@ -1926,67 +2278,98 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 9; - onChanged();; + onChanged(); + ; return smartComposeSuggestionBuilder_; } 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 @@ -1994,35 +2377,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(); @@ -2036,14 +2432,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(); @@ -2054,18 +2455,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; } @@ -2081,11 +2492,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) { @@ -2104,61 +2519,86 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 10; - onChanged();; + onChanged(); + ; return dialogflowInteractionBuilder_; } private java.lang.Object annotationId_ = ""; /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2166,13 +2606,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; @@ -2181,6 +2621,8 @@ public java.lang.String getAnnotationId() { } } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2188,15 +2630,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 { @@ -2204,6 +2645,8 @@ public java.lang.String getAnnotationId() { } } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2211,20 +2654,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) { + public Builder setAnnotationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationId_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2232,15 +2677,18 @@ public Builder setAnnotationId(
      * 
* * string annotation_id = 1; + * * @return This builder for chaining. */ public Builder clearAnnotationId() { - + annotationId_ = getDefaultInstance().getAnnotationId(); onChanged(); return this; } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2248,16 +2696,16 @@ 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) { + public Builder setAnnotationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationId_ = value; onChanged(); return this; @@ -2265,34 +2713,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 createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -2313,14 +2774,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(); onChanged(); @@ -2331,6 +2793,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2341,7 +2805,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2353,6 +2817,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2371,6 +2837,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2378,11 +2846,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2393,11 +2863,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.
      * 
@@ -2405,14 +2878,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_; @@ -2420,41 +2896,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 startBoundaryBuilder_ != null || startBoundary_ != null; } /** + * + * *
      * 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(); @@ -2468,6 +2958,8 @@ public Builder setStartBoundary(com.google.cloud.contactcenterinsights.v1.Annota return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2486,17 +2978,23 @@ 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 (startBoundary_ != null) { startBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(startBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( + startBoundary_) + .mergeFrom(value) + .buildPartial(); } else { startBoundary_ = value; } @@ -2508,6 +3006,8 @@ public Builder mergeStartBoundary(com.google.cloud.contactcenterinsights.v1.Anno return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2526,33 +3026,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() { + 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.
      * 
@@ -2560,14 +3069,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_; @@ -2575,41 +3087,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 endBoundaryBuilder_ != null || endBoundary_ != null; } /** + * + * *
      * 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(); @@ -2623,6 +3149,8 @@ public Builder setEndBoundary(com.google.cloud.contactcenterinsights.v1.Annotati return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -2641,17 +3169,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 (endBoundary_ != null) { endBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_) + .mergeFrom(value) + .buildPartial(); } else { endBoundary_ = value; } @@ -2663,6 +3196,8 @@ public Builder mergeEndBoundary(com.google.cloud.contactcenterinsights.v1.Annota return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -2681,33 +3216,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() { + 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.
      * 
@@ -2715,14 +3259,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_; @@ -2730,41 +3277,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 answerFeedbackBuilder_ != null || answerFeedback_ != null; } /** + * + * *
      * 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(); @@ -2778,6 +3339,8 @@ public Builder setAnswerFeedback(com.google.cloud.contactcenterinsights.v1.Answe return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -2796,17 +3359,22 @@ 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 (answerFeedback_ != null) { answerFeedback_ = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_) + .mergeFrom(value) + .buildPartial(); } else { answerFeedback_ = value; } @@ -2818,6 +3386,8 @@ public Builder mergeAnswerFeedback(com.google.cloud.contactcenterinsights.v1.Ans return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -2836,33 +3406,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() { + 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`.
      * 
@@ -2870,21 +3449,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); } @@ -2894,12 +3476,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(); } @@ -2908,16 +3490,16 @@ 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 { - return new RuntimeAnnotation(input, extensionRegistry); - } - }; + 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 { + return new RuntimeAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2932,6 +3514,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java index 55d891c7..4e2082e3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java index 106e2adc..a973ff59 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private SentimentData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,23 @@ private SentimentData( case 0: done = true; break; - case 13: { - - magnitude_ = input.readFloat(); - break; - } - case 21: { - - score_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 13: + { + magnitude_ = input.readFloat(); + break; + } + case 21: + { + score_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,35 +92,40 @@ private SentimentData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * 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 @@ -115,11 +136,14 @@ public float getMagnitude() { public static final int SCORE_FIELD_NUMBER = 2; private float score_; /** + * + * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; + * * @return The score. */ @java.lang.Override @@ -128,6 +152,7 @@ public float getScore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,8 +164,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_); } @@ -157,12 +181,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -172,19 +194,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -197,128 +218,136 @@ 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) + unknownFields.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() @@ -326,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +375,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 @@ -368,7 +396,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); + com.google.cloud.contactcenterinsights.v1.SentimentData result = + new com.google.cloud.contactcenterinsights.v1.SentimentData(this); result.magnitude_ = magnitude_; result.score_ = score_; onBuilt(); @@ -379,38 +408,39 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData 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.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; @@ -418,7 +448,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()); } @@ -444,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -454,14 +486,17 @@ public Builder mergeFrom( return this; } - 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 @@ -469,44 +504,53 @@ 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; 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() { - + magnitude_ = 0F; onChanged(); 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 @@ -514,37 +558,43 @@ 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; 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() { - + score_ = 0F; 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); } @@ -554,12 +604,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(); } @@ -568,16 +618,16 @@ 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 { - return new SentimentData(input, extensionRegistry); - } - }; + 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 { + return new SentimentData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SentimentData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java index b3ce797b..1c905b00 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java index 7433ac50..8e174232 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java +++ b/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,16 +44,15 @@ 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; } + private Settings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,90 +72,111 @@ private Settings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } - case 42: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (conversationTtl_ != null) { - subBuilder = conversationTtl_.toBuilder(); - } - conversationTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationTtl_); - conversationTtl_ = subBuilder.buildPartial(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pubsubNotificationSettings_ = com.google.protobuf.MapField.newMapField( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + languageCode_ = s; + break; } - com.google.protobuf.MapEntry - pubsubNotificationSettings__ = input.readMessage( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - pubsubNotificationSettings_.getMutableMap().put( - pubsubNotificationSettings__.getKey(), pubsubNotificationSettings__.getValue()); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = null; - if (analysisConfig_ != null) { - subBuilder = analysisConfig_.toBuilder(); + case 42: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (conversationTtl_ != null) { + subBuilder = conversationTtl_.toBuilder(); + } + conversationTtl_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationTtl_); + conversationTtl_ = subBuilder.buildPartial(); + } + + break; } - analysisConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisConfig_); - analysisConfig_ = subBuilder.buildPartial(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pubsubNotificationSettings_ = + com.google.protobuf.MapField.newMapField( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + pubsubNotificationSettings__ = + input.readMessage( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + pubsubNotificationSettings_ + .getMutableMap() + .put( + pubsubNotificationSettings__.getKey(), + pubsubNotificationSettings__.getValue()); + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = + null; + if (analysisConfig_ != null) { + subBuilder = analysisConfig_.toBuilder(); + } + analysisConfig_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisConfig_); + analysisConfig_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -146,84 +184,90 @@ private Settings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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(); } /** + * + * *
    * 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; } + private AnalysisConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -242,18 +286,18 @@ private AnalysisConfig( case 0: done = true; break; - case 9: { - - runtimeIntegrationAnalysisPercentage_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 9: + { + runtimeIntegrationAnalysisPercentage_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -261,35 +305,40 @@ private AnalysisConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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 @@ -298,6 +347,7 @@ public double getRuntimeIntegrationAnalysisPercentage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,8 +359,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_); } @@ -324,8 +373,9 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -335,16 +385,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -357,95 +408,105 @@ 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())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -455,44 +516,49 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,14 +568,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 @@ -523,7 +591,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = + new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); result.runtimeIntegrationAnalysisPercentage_ = runtimeIntegrationAnalysisPercentage_; onBuilt(); return result; @@ -533,46 +602,53 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig buildPa 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()); } @@ -595,7 +671,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,14 +683,17 @@ public Builder mergeFrom( return this; } - 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 @@ -620,36 +701,43 @@ 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; 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() { - + runtimeIntegrationAnalysisPercentage_ = 0D; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -662,30 +750,32 @@ 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 { - return new AnalysisConfig(input, extensionRegistry); - } - }; + 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 { + return new AnalysisConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -697,15 +787,17 @@ 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -713,6 +805,7 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefa
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -721,14 +814,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:
@@ -736,16 +830,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 { @@ -756,11 +849,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 @@ -768,11 +865,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 @@ -780,11 +881,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() { @@ -794,11 +898,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 @@ -806,11 +914,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 @@ -818,11 +930,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() { @@ -832,6 +947,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; 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
@@ -839,6 +956,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string language_code = 4; + * * @return The languageCode. */ @java.lang.Override @@ -847,14 +965,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
@@ -862,16 +981,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 { @@ -882,6 +1000,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
@@ -890,6 +1010,7 @@ public java.lang.String getLanguageCode() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return Whether the conversationTtl field is set. */ @java.lang.Override @@ -897,6 +1018,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
@@ -905,13 +1028,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
@@ -927,21 +1055,23 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
   }
 
   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,
+            "");
   }
-  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);
@@ -953,6 +1083,8 @@ 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
@@ -970,22 +1102,22 @@ 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
@@ -1004,11 +1136,12 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-
   public java.util.Map getPubsubNotificationSettingsMap() {
     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
@@ -1027,16 +1160,18 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-
   public java.lang.String getPubsubNotificationSettingsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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
@@ -1055,10 +1190,10 @@ public 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)) {
@@ -1070,11 +1205,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 @@ -1082,30 +1221,41 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder + getAnalysisConfigOrBuilder() { return getAnalysisConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1117,8 +1267,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_); } @@ -1134,8 +1283,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, @@ -1156,33 +1304,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1192,38 +1338,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1266,139 +1407,146 @@ 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() @@ -1406,16 +1554,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1452,9 +1599,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 @@ -1473,7 +1620,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); + com.google.cloud.contactcenterinsights.v1.Settings result = + new com.google.cloud.contactcenterinsights.v1.Settings(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -1507,38 +1655,39 @@ public com.google.cloud.contactcenterinsights.v1.Settings 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.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; @@ -1546,7 +1695,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_; onChanged(); @@ -1564,8 +1714,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()); if (other.hasAnalysisConfig()) { mergeAnalysisConfig(other.getAnalysisConfig()); } @@ -1588,7 +1738,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1597,10 +1748,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1608,13 +1762,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; @@ -1623,6 +1777,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1630,15 +1786,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 { @@ -1646,6 +1801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1653,20 +1810,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1674,15 +1833,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1690,16 +1852,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1707,39 +1869,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1755,14 +1936,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(); onChanged(); @@ -1773,17 +1957,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1795,11 +1983,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() { if (createTimeBuilder_ == null) { @@ -1813,48 +2005,64 @@ 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() { - + onChanged(); 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_; @@ -1862,39 +2070,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1910,14 +2137,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(); onChanged(); @@ -1928,17 +2158,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1950,11 +2184,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() { if (updateTimeBuilder_ == null) { @@ -1968,48 +2206,64 @@ 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() { - + onChanged(); 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_; @@ -2017,6 +2271,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
@@ -2024,13 +2280,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; @@ -2039,6 +2295,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
@@ -2046,15 +2304,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 { @@ -2062,6 +2319,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
@@ -2069,20 +2328,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) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; 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
@@ -2090,15 +2351,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 4; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); 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
@@ -2106,16 +2370,16 @@ 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) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -2123,8 +2387,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
@@ -2133,12 +2402,15 @@ public Builder setLanguageCodeBytes(
      * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return Whether the conversationTtl field is set. */ public boolean hasConversationTtl() { return conversationTtlBuilder_ != null || conversationTtl_ != null; } /** + * + * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2147,16 +2419,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
@@ -2180,6 +2457,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
@@ -2189,8 +2468,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();
         onChanged();
@@ -2201,6 +2479,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
@@ -2214,7 +2494,9 @@ public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       if (conversationTtlBuilder_ == null) {
         if (conversationTtl_ != null) {
           conversationTtl_ =
-            com.google.protobuf.Duration.newBuilder(conversationTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(conversationTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           conversationTtl_ = value;
         }
@@ -2226,6 +2508,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
@@ -2247,6 +2531,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
@@ -2257,11 +2543,13 @@ public Builder clearConversationTtl() {
      * .google.protobuf.Duration conversation_ttl = 5;
      */
     public com.google.protobuf.Duration.Builder getConversationTtlBuilder() {
-      
+
       onChanged();
       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
@@ -2275,11 +2563,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
@@ -2290,35 +2581,42 @@ 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
-    internalGetPubsubNotificationSettings() {
+        pubsubNotificationSettings_;
+
+    private com.google.protobuf.MapField
+        internalGetPubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
       }
       return pubsubNotificationSettings_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutablePubsubNotificationSettings() {
-      onChanged();;
+        internalGetMutablePubsubNotificationSettings() {
+      onChanged();
+      ;
       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();
@@ -2330,6 +2628,8 @@ 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
@@ -2347,22 +2647,22 @@ 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
@@ -2381,11 +2681,12 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-
     public java.util.Map getPubsubNotificationSettingsMap() {
       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
@@ -2404,16 +2705,18 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-
     public java.lang.String getPubsubNotificationSettingsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -2432,10 +2735,10 @@ public 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)) {
@@ -2445,11 +2748,12 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(
     }
 
     public Builder clearPubsubNotificationSettings() {
-      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
@@ -2467,23 +2771,22 @@ 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() {
+        getMutablePubsubNotificationSettings() {
       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
@@ -2501,19 +2804,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .put(key, value);
+      internalGetMutablePubsubNotificationSettings().getMutableMap().put(key, value);
       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
@@ -2531,51 +2835,66 @@ public Builder putPubsubNotificationSettings(
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
-
     public Builder putAllPubsubNotificationSettings(
         java.util.Map values) {
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .putAll(values);
+      internalGetMutablePubsubNotificationSettings().getMutableMap().putAll(values);
       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 analysisConfigBuilder_ != null || 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. */ 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(); @@ -2589,11 +2908,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) { @@ -2607,17 +2929,24 @@ 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 (analysisConfig_ != null) { analysisConfig_ = - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder(analysisConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder( + analysisConfig_) + .mergeFrom(value) + .buildPartial(); } else { analysisConfig_ = value; } @@ -2629,11 +2958,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() { if (analysisConfigBuilder_ == null) { @@ -2647,55 +2979,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() { + 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); } @@ -2705,12 +3052,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(); } @@ -2719,16 +3066,16 @@ 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 { - return new Settings(input, extensionRegistry); - } - }; + 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 { + return new Settings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2743,6 +3090,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Settings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java index 06c8750f..55e6f5ae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java +++ b/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
@@ -230,11 +289,13 @@ boolean containsPubsubNotificationSettings(
    */
 
   /* 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
@@ -252,34 +313,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java index bd7dba18..1b820b55 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private SilenceData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private SilenceData( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private SilenceData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ 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() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,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 @@ -297,7 +325,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; } @@ -306,38 +335,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; @@ -345,7 +375,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.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,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(); } @@ -400,16 +432,16 @@ 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 { - return new SilenceData(input, extensionRegistry); - } - }; + 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 { + return new SilenceData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java new file mode 100644 index 00000000..e86e739d --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java index 790c1de2..2ab6f9e3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java +++ b/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,16 +44,15 @@ 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; } + private SmartComposeSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,43 +72,47 @@ private SmartComposeSuggestionData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - suggestion_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidenceScore_ = input.readDouble(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + suggestion_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 17: + { + confidenceScore_ = input.readDouble(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + queryRecord_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,46 +120,50 @@ private SmartComposeSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object suggestion_; /** + * + * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; + * * @return The suggestion. */ @java.lang.Override @@ -147,29 +172,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 { @@ -180,6 +205,8 @@ public java.lang.String getSuggestion() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -187,6 +214,7 @@ public java.lang.String getSuggestion() {
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -195,24 +223,23 @@ 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, + ""); } - 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_; } @@ -221,6 +248,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -228,22 +257,22 @@ 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.
@@ -252,11 +281,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -265,16 +295,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -283,12 +314,11 @@ public 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();
     }
@@ -298,6 +328,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -305,6 +337,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ @java.lang.Override @@ -313,14 +346,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:
@@ -328,16 +362,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 { @@ -346,6 +379,7 @@ public java.lang.String getQueryRecord() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,20 +391,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_); } @@ -387,18 +416,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_); @@ -411,22 +439,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -441,8 +466,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(); @@ -455,156 +482,165 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -619,14 +655,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 @@ -640,7 +678,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = + new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); int from_bitField0_ = bitField0_; result.suggestion_ = suggestion_; result.confidenceScore_ = confidenceScore_; @@ -655,46 +694,51 @@ public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData 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.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_; onChanged(); @@ -702,8 +746,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -727,7 +770,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,22 +781,25 @@ public Builder mergeFrom( } 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; @@ -760,20 +808,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 { @@ -781,61 +830,70 @@ 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) { + public Builder setSuggestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** + * + * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; + * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); 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) { + public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); 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
@@ -843,6 +901,7 @@ public Builder setSuggestionBytes(
      * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -850,6 +909,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
@@ -857,16 +918,19 @@ 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; 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
@@ -874,31 +938,32 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -910,6 +975,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -917,22 +984,22 @@ 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.
@@ -941,11 +1008,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -954,16 +1022,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -972,12 +1041,11 @@ public 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();
       }
@@ -985,11 +1053,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -997,23 +1066,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1021,19 +1088,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1041,16 +1109,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1058,13 +1125,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; @@ -1073,6 +1140,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1080,15 +1149,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 { @@ -1096,6 +1164,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1103,20 +1173,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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1124,15 +1196,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 4; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1140,23 +1215,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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1166,30 +1241,32 @@ 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 { - return new SmartComposeSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new SmartComposeSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,9 +1278,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java index ec4de4b5..efd04393 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java +++ b/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.
@@ -84,11 +111,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -96,11 +125,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:
@@ -108,10 +137,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -119,8 +151,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java index 528c4ece..30a31825 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java +++ b/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,16 +44,15 @@ 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; } + private SmartReplyData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,43 +72,47 @@ private SmartReplyData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - reply_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidenceScore_ = input.readDouble(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + reply_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 17: + { + confidenceScore_ = input.readDouble(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + queryRecord_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,46 +120,50 @@ private SmartReplyData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object reply_; /** + * + * *
    * The content of the reply.
    * 
* * string reply = 1; + * * @return The reply. */ @java.lang.Override @@ -147,29 +172,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 { @@ -180,6 +205,8 @@ public java.lang.String getReply() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -187,6 +214,7 @@ public java.lang.String getReply() {
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -195,24 +223,23 @@ 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, + ""); } - 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_; } @@ -221,6 +248,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -228,22 +257,22 @@ 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.
@@ -252,11 +281,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -265,16 +295,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -283,12 +314,11 @@ public 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();
     }
@@ -298,6 +328,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -305,6 +337,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ @java.lang.Override @@ -313,14 +346,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:
@@ -328,16 +362,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 { @@ -346,6 +379,7 @@ public java.lang.String getQueryRecord() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,20 +391,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_); } @@ -387,18 +416,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_); @@ -411,22 +439,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -441,8 +466,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(); @@ -455,139 +482,147 @@ 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() @@ -595,16 +630,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -619,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_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 @@ -640,7 +674,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); + com.google.cloud.contactcenterinsights.v1.SmartReplyData result = + new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); int from_bitField0_ = bitField0_; result.reply_ = reply_; result.confidenceScore_ = confidenceScore_; @@ -655,38 +690,39 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData 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.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; @@ -694,7 +730,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_; onChanged(); @@ -702,8 +739,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -727,7 +763,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,22 +773,25 @@ public Builder mergeFrom( } 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; @@ -760,20 +800,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 { @@ -781,61 +822,70 @@ 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) { + public Builder setReply(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reply_ = value; onChanged(); return this; } /** + * + * *
      * The content of the reply.
      * 
* * string reply = 1; + * * @return This builder for chaining. */ public Builder clearReply() { - + reply_ = getDefaultInstance().getReply(); onChanged(); 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) { + public Builder setReplyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reply_ = value; onChanged(); 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
@@ -843,6 +893,7 @@ public Builder setReplyBytes(
      * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -850,6 +901,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
@@ -857,16 +910,19 @@ 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; 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
@@ -874,31 +930,32 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -910,6 +967,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -917,22 +976,22 @@ 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.
@@ -941,11 +1000,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -954,16 +1014,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -972,12 +1033,11 @@ public 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();
       }
@@ -985,11 +1045,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -997,23 +1058,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1021,19 +1080,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1041,16 +1101,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1058,13 +1117,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; @@ -1073,6 +1132,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1080,15 +1141,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 { @@ -1096,6 +1156,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1103,20 +1165,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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1124,15 +1188,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 4; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1140,23 +1207,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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1166,12 +1233,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(); } @@ -1180,16 +1247,16 @@ 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 { - return new SmartReplyData(input, extensionRegistry); - } - }; + 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 { + return new SmartReplyData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1204,6 +1271,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java index 59dae0cd..dde4f8e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java +++ b/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.
@@ -84,11 +111,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -96,11 +125,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:
@@ -108,10 +137,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -119,8 +151,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java index e2cf4095..4e3bc499 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UndeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private UndeployIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder + subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private UndeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1148,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssu return this; } /** + * + * *
      * The original request for undeployment.
      * 
@@ -985,7 +1157,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(); onChanged(); @@ -996,17 +1169,23 @@ 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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder( + request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1197,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.UndeployIs return this; } /** + * + * *
      * The original request for undeployment.
      * 
@@ -1036,33 +1217,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() { + 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.
      * 
@@ -1070,21 +1261,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); } @@ -1094,30 +1288,32 @@ 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 { - return new UndeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1325,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java index 5e656936..2f35b185 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java index a0736023..dfb32d6f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java @@ -1,40 +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 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; } + private UndeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private UndeployIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private UndeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,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 @@ -362,7 +402,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest build 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_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( 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; @@ -467,20 +519,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 { @@ -488,61 +543,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +620,32 @@ 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 { - return new UndeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..431293b2 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java index f454b27f..7ea7f44a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UndeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private UndeployIssueModelResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private UndeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,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 @@ -297,7 +329,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; } @@ -306,46 +339,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.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +426,32 @@ 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 { - return new UndeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..59a7fdb5 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java index 7a4ec025..1dafc28f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateConversationRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); + } + conversation_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,37 +156,52 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { return getConversation(); } 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 @@ -165,11 +209,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 @@ -177,6 +224,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +238,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +250,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()); } @@ -218,12 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +321,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +479,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 @@ -443,7 +502,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); if (conversationBuilder_ == null) { result.conversation_ = conversation_; } else { @@ -462,46 +522,51 @@ public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest build 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,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +606,58 @@ public Builder mergeFrom( 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 conversationBuilder_ != null || 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. */ 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) { @@ -587,11 +673,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) { @@ -605,17 +695,23 @@ 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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) + .mergeFrom(value) + .buildPartial(); } else { conversation_ = value; } @@ -627,11 +723,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() { if (conversationBuilder_ == null) { @@ -645,48 +745,65 @@ 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() { - + onChanged(); 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_; @@ -694,34 +811,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +872,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(); onChanged(); @@ -760,6 +891,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +903,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +915,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +935,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +944,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +961,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.
      * 
@@ -834,21 +976,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); } @@ -858,30 +1003,32 @@ 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 { - return new UpdateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1040,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java index 8790423a..31ea847a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java index 99199490..a0c59c7e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateIssueModelRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); - } - issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); + } + issueModel_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +156,34 @@ 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() { @@ -153,11 +193,14 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod 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 @@ -165,11 +208,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 @@ -177,6 +223,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +249,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()); } @@ -218,12 +266,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +320,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,13 +478,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(); } @@ -443,7 +500,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; } else { @@ -462,46 +520,50 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest buildPa 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()); } @@ -527,7 +589,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +603,58 @@ public Builder mergeFrom( 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 issueModelBuilder_ != null || 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. */ 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) { @@ -587,11 +670,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) { @@ -605,17 +692,23 @@ 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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) + .mergeFrom(value) + .buildPartial(); } else { issueModel_ = value; } @@ -627,11 +720,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() { if (issueModelBuilder_ == null) { @@ -645,48 +742,64 @@ 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() { - + onChanged(); 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_; @@ -694,34 +807,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +868,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(); onChanged(); @@ -760,6 +887,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +899,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +911,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +931,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +940,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +957,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.
      * 
@@ -834,21 +972,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); } @@ -858,30 +999,32 @@ 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 { - return new UpdateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1036,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java index b6afb01f..c94e49ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java index c0a2f7d4..ec8f36b3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateIssueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; - if (issue_ != null) { - subBuilder = issue_.toBuilder(); - } - issue_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issue_); - issue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; + if (issue_ != null) { + subBuilder = issue_.toBuilder(); + } + issue_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issue_); + issue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,41 @@ private UpdateIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +155,34 @@ 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() { @@ -153,11 +192,14 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilde 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 @@ -165,11 +207,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 @@ -177,6 +222,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +248,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()); } @@ -218,12 +265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,117 +319,127 @@ 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() @@ -393,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,13 +475,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(); } @@ -443,7 +497,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); if (issueBuilder_ == null) { result.issue_ = issue_; } else { @@ -462,38 +517,39 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest 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.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; @@ -501,7 +557,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()); } @@ -527,7 +585,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +598,58 @@ public Builder mergeFrom( 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 issueBuilder_ != null || 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. */ 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) { @@ -587,11 +665,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) { @@ -605,17 +687,23 @@ 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 (issue_ != null) { issue_ = - com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_) + .mergeFrom(value) + .buildPartial(); } else { issue_ = value; } @@ -627,11 +715,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() { if (issueBuilder_ == null) { @@ -645,48 +737,64 @@ 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() { - + onChanged(); 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_; @@ -694,34 +802,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +863,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(); onChanged(); @@ -760,6 +882,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +894,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +906,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +926,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +935,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +952,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.
      * 
@@ -834,21 +967,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); } @@ -858,12 +994,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(); } @@ -872,16 +1009,16 @@ 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 { - return new UpdateIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,6 +1033,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java index b4aec186..852c3ad3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java index e9cd099f..a775ab21 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdatePhraseMatcherRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); - } - phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); + } + phraseMatcher_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,37 +156,52 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } 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 @@ -165,11 +209,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 @@ -177,6 +224,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +238,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +250,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()); } @@ -218,12 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +321,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +479,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 @@ -443,7 +502,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; } else { @@ -462,46 +522,51 @@ public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest 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.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,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +606,58 @@ public Builder mergeFrom( 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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -587,11 +673,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) { @@ -605,17 +695,24 @@ 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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) + .mergeFrom(value) + .buildPartial(); } else { phraseMatcher_ = value; } @@ -627,11 +724,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() { if (phraseMatcherBuilder_ == null) { @@ -645,48 +746,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() { + 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_; @@ -694,34 +813,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +874,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(); onChanged(); @@ -760,6 +893,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +905,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +917,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +937,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +946,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +963,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.
      * 
@@ -834,21 +978,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); } @@ -858,30 +1005,32 @@ 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 { - return new UpdatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1042,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java index 2652a669..dba885b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java index 9e7744f1..9a93bc57 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateSettingsRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; - if (settings_ != null) { - subBuilder = settings_.toBuilder(); - } - settings_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(settings_); - settings_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Settings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +156,34 @@ 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() { @@ -153,11 +193,15 @@ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOr 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 @@ -165,11 +209,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 @@ -177,11 +225,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() { @@ -189,6 +240,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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 (settings_ != null) { output.writeMessage(1, getSettings()); } @@ -218,12 +269,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +282,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,117 +323,127 @@ 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() @@ -393,16 +451,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,13 +479,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(); } @@ -443,7 +501,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); if (settingsBuilder_ == null) { result.settings_ = settings_; } else { @@ -462,46 +521,50 @@ public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest buildPart 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()); } @@ -527,7 +590,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +604,58 @@ public Builder mergeFrom( 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 settingsBuilder_ != null || 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. */ 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) { @@ -587,11 +671,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) { @@ -605,17 +693,23 @@ 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 (settings_ != null) { settings_ = - com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_) + .mergeFrom(value) + .buildPartial(); } else { settings_ = value; } @@ -627,11 +721,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() { if (settingsBuilder_ == null) { @@ -645,48 +743,64 @@ 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() { - + onChanged(); 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_; @@ -694,39 +808,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -742,14 +872,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(); onChanged(); @@ -760,17 +892,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,11 +917,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() { if (updateMaskBuilder_ == null) { @@ -800,55 +938,68 @@ 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() { - + onChanged(); 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); } @@ -858,30 +1009,32 @@ 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 { - return new UpdateSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1046,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java index 7d2cd48f..8b040fce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java index 216c6d49..71414626 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateViewRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); - } - view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); + } + view_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,41 @@ private UpdateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +155,34 @@ 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() { @@ -153,11 +192,14 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( 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 @@ -165,11 +207,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 @@ -177,6 +222,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +248,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()); } @@ -218,12 +265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,117 +319,127 @@ 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() @@ -393,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +475,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 @@ -443,7 +496,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); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); if (viewBuilder_ == null) { result.view_ = view_; } else { @@ -462,38 +516,39 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest 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.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; @@ -501,7 +556,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()); } @@ -527,7 +583,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +596,58 @@ public Builder mergeFrom( 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 viewBuilder_ != null || 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. */ 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) { @@ -587,14 +663,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(); onChanged(); @@ -605,17 +684,23 @@ 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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) + .mergeFrom(value) + .buildPartial(); } else { view_ = value; } @@ -627,11 +712,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() { if (viewBuilder_ == null) { @@ -645,48 +734,64 @@ 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() { - + onChanged(); 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_; @@ -694,34 +799,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +860,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(); onChanged(); @@ -760,6 +879,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +891,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +903,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +923,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +932,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +949,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.
      * 
@@ -834,21 +964,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); } @@ -858,12 +991,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(); } @@ -872,16 +1005,16 @@ 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 { - return new UpdateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,6 +1029,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java index 3491f256..af93e5c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java index 792f7531..f54097df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java +++ b/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,16 +45,15 @@ 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; } + private View( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,57 +72,64 @@ private View( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + value_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,29 +137,33 @@ private View( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the view.
    * Format:
@@ -143,6 +171,7 @@ private View(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -151,14 +180,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:
@@ -166,16 +196,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 { @@ -186,11 +215,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -199,29 +231,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 { @@ -232,11 +264,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 @@ -244,11 +280,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 @@ -256,11 +296,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() { @@ -270,11 +313,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 @@ -282,11 +329,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 @@ -294,11 +345,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() { @@ -308,11 +362,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int VALUE_FIELD_NUMBER = 5; private volatile java.lang.Object value_; /** + * + * *
    * String with specific view properties.
    * 
* * string value = 5; + * * @return The value. */ @java.lang.Override @@ -321,29 +378,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 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 { @@ -352,6 +409,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,8 +421,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_); } @@ -396,12 +453,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_); @@ -414,29 +469,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,118 +518,127 @@ 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() @@ -586,16 +646,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +680,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 @@ -642,7 +701,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); + com.google.cloud.contactcenterinsights.v1.View result = + new com.google.cloud.contactcenterinsights.v1.View(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -664,38 +724,39 @@ public com.google.cloud.contactcenterinsights.v1.View 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.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; @@ -753,6 +814,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -760,13 +823,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; @@ -775,6 +838,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -782,15 +847,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 { @@ -798,6 +862,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -805,20 +871,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -826,15 +894,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -842,16 +913,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -859,18 +930,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; @@ -879,20 +952,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 { @@ -900,54 +974,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -955,39 +1036,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1003,14 +1103,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(); onChanged(); @@ -1021,17 +1124,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1043,11 +1150,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() { if (createTimeBuilder_ == null) { @@ -1061,48 +1172,64 @@ 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() { - + onChanged(); 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_; @@ -1110,39 +1237,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1158,14 +1304,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(); onChanged(); @@ -1176,17 +1325,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1198,11 +1351,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() { if (updateTimeBuilder_ == null) { @@ -1216,48 +1373,64 @@ 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() { - + onChanged(); 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_; @@ -1265,18 +1438,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object value_ = ""; /** + * + * *
      * String with specific view properties.
      * 
* * 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; @@ -1285,20 +1460,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * String with specific view properties.
      * 
* * 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 { @@ -1306,61 +1482,68 @@ public java.lang.String getValue() { } } /** + * + * *
      * String with specific view properties.
      * 
* * string value = 5; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * String with specific view properties.
      * 
* * string value = 5; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
      * String with specific view properties.
      * 
* * string value = 5; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -1370,12 +1553,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(); } @@ -1384,16 +1567,16 @@ 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 { - return new View(input, extensionRegistry); - } - }; + 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 { + return new View(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1408,6 +1591,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.View getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java index f11723ea..20c13a34 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java +++ b/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.
    * 
* * string value = 5; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * String with specific view properties.
    * 
* * string value = 5; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto rename to proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto b/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto rename to proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java From fa3d0b94230ec724d97bba42460ae5d1cda96ab3 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 23 Jun 2022 11:43:04 -0400 Subject: [PATCH 3/5] Update pom.xml --- google-cloud-contact-center-insights/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-contact-center-insights/pom.xml b/google-cloud-contact-center-insights/pom.xml index b7aff3b7..cc76f217 100644 --- a/google-cloud-contact-center-insights/pom.xml +++ b/google-cloud-contact-center-insights/pom.xml @@ -58,6 +58,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -77,12 +81,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test + From afa726f6ed6eb1c8459e0fd5a8ed8787872d6060 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:28:47 +0000 Subject: [PATCH 4/5] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../v1/ContactCenterInsightsGrpc.java | 4352 ----------- .../v1/ContactCenterInsightsClient.java | 50 +- .../v1/ContactCenterInsightsSettings.java | 7 +- .../v1/gapic_metadata.json | 0 .../v1/package-info.java | 0 .../v1/stub/ContactCenterInsightsStub.java | 0 .../ContactCenterInsightsStubSettings.java | 12 +- ...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 | 3153 ++++++++ .../contactcenterinsights/v1/Analysis.java | 753 +- .../v1/AnalysisName.java | 0 .../v1/AnalysisOrBuilder.java | 81 +- .../v1/AnalysisResult.java | 2563 +++---- .../v1/AnalysisResultOrBuilder.java | 52 +- .../v1/AnnotationBoundary.java | 366 +- .../v1/AnnotationBoundaryOrBuilder.java | 30 +- .../v1/AnswerFeedback.java | 493 +- .../v1/AnswerFeedbackOrBuilder.java | 38 +- .../v1/ArticleSuggestionData.java | 875 +-- .../v1/ArticleSuggestionDataOrBuilder.java | 88 +- .../v1/CalculateIssueModelStatsRequest.java | 398 +- ...culateIssueModelStatsRequestOrBuilder.java | 29 + .../v1/CalculateIssueModelStatsResponse.java | 455 +- ...ulateIssueModelStatsResponseOrBuilder.java | 29 +- .../v1/CalculateStatsRequest.java | 442 +- .../v1/CalculateStatsRequestOrBuilder.java | 44 +- .../v1/CalculateStatsResponse.java | 2988 +++----- .../v1/CalculateStatsResponseOrBuilder.java | 224 +- .../v1/CallAnnotation.java | 1527 ++-- .../v1/CallAnnotationOrBuilder.java | 123 +- .../v1/ContactCenterInsightsProto.java | 1121 +++ .../v1/Conversation.java | 6735 ++++++----------- .../v1/ConversationDataSource.java | 537 +- .../v1/ConversationDataSourceOrBuilder.java | 40 +- .../v1/ConversationLevelSentiment.java | 416 +- .../ConversationLevelSentimentOrBuilder.java | 29 +- .../v1/ConversationName.java | 0 .../v1/ConversationOrBuilder.java | 335 +- .../v1/ConversationParticipant.java | 881 +-- .../v1/ConversationParticipantOrBuilder.java | 83 +- .../v1/ConversationView.java | 86 +- .../v1/CreateAnalysisOperationMetadata.java | 663 +- ...ateAnalysisOperationMetadataOrBuilder.java | 69 +- .../v1/CreateAnalysisRequest.java | 510 +- .../v1/CreateAnalysisRequestOrBuilder.java | 56 + .../v1/CreateConversationRequest.java | 607 +- .../CreateConversationRequestOrBuilder.java | 64 +- .../v1/CreateIssueModelMetadata.java | 651 +- .../v1/CreateIssueModelMetadataOrBuilder.java | 60 +- .../v1/CreateIssueModelRequest.java | 518 +- .../v1/CreateIssueModelRequestOrBuilder.java | 56 + .../v1/CreatePhraseMatcherRequest.java | 534 +- .../CreatePhraseMatcherRequestOrBuilder.java | 55 +- .../v1/CreateViewRequest.java | 491 +- .../v1/CreateViewRequestOrBuilder.java | 55 +- .../v1/DeleteAnalysisRequest.java | 363 +- .../v1/DeleteAnalysisRequestOrBuilder.java | 29 + .../v1/DeleteConversationRequest.java | 412 +- .../DeleteConversationRequestOrBuilder.java | 41 + .../v1/DeleteIssueModelMetadata.java | 651 +- .../v1/DeleteIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeleteIssueModelRequest.java | 371 +- .../v1/DeleteIssueModelRequestOrBuilder.java | 29 + .../v1/DeletePhraseMatcherRequest.java | 375 +- .../DeletePhraseMatcherRequestOrBuilder.java | 29 + .../v1/DeleteViewRequest.java | 342 +- .../v1/DeleteViewRequestOrBuilder.java | 29 + .../v1/DeployIssueModelMetadata.java | 651 +- .../v1/DeployIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeployIssueModelRequest.java | 371 +- .../v1/DeployIssueModelRequestOrBuilder.java | 29 + .../v1/DeployIssueModelResponse.java | 271 +- .../v1/DeployIssueModelResponseOrBuilder.java | 9 + .../v1/DialogflowIntent.java | 314 +- .../v1/DialogflowIntentOrBuilder.java | 29 + .../v1/DialogflowInteractionData.java | 384 +- .../DialogflowInteractionDataOrBuilder.java | 30 +- .../v1/DialogflowSource.java | 393 +- .../v1/DialogflowSourceOrBuilder.java | 36 +- .../contactcenterinsights/v1/Entity.java | 915 +-- .../v1/EntityMentionData.java | 561 +- .../v1/EntityMentionDataOrBuilder.java | 41 +- .../v1/EntityOrBuilder.java | 75 +- .../v1/ExactMatchConfig.java | 275 +- .../v1/ExactMatchConfigOrBuilder.java | 19 + .../v1/ExportInsightsDataMetadata.java | 801 +- .../ExportInsightsDataMetadataOrBuilder.java | 82 +- .../v1/ExportInsightsDataRequest.java | 1622 ++-- .../ExportInsightsDataRequestOrBuilder.java | 99 +- .../v1/ExportInsightsDataResponse.java | 271 +- .../ExportInsightsDataResponseOrBuilder.java | 9 + .../v1/FaqAnswerData.java | 852 +-- .../v1/FaqAnswerDataOrBuilder.java | 88 +- .../contactcenterinsights/v1/GcsSource.java | 390 +- .../v1/GcsSourceOrBuilder.java | 36 +- .../v1/GetAnalysisRequest.java | 349 +- .../v1/GetAnalysisRequestOrBuilder.java | 29 + .../v1/GetConversationRequest.java | 435 +- .../v1/GetConversationRequestOrBuilder.java | 41 +- .../v1/GetIssueModelRequest.java | 360 +- .../v1/GetIssueModelRequestOrBuilder.java | 29 + .../v1/GetIssueRequest.java | 342 +- .../v1/GetIssueRequestOrBuilder.java | 29 + .../v1/GetPhraseMatcherRequest.java | 371 +- .../v1/GetPhraseMatcherRequestOrBuilder.java | 29 + .../v1/GetSettingsRequest.java | 349 +- .../v1/GetSettingsRequestOrBuilder.java | 29 + .../v1/GetViewRequest.java | 342 +- .../v1/GetViewRequestOrBuilder.java | 29 + .../contactcenterinsights/v1/HoldData.java | 235 +- .../v1/HoldDataOrBuilder.java | 9 + .../contactcenterinsights/v1/Intent.java | 387 +- .../v1/IntentMatchData.java | 314 +- .../v1/IntentMatchDataOrBuilder.java | 27 +- .../v1/IntentOrBuilder.java | 36 +- .../v1/InterruptionData.java | 238 +- .../v1/InterruptionDataOrBuilder.java | 9 + .../cloud/contactcenterinsights/v1/Issue.java | 661 +- .../v1/IssueAssignment.java | 432 +- .../v1/IssueAssignmentOrBuilder.java | 39 +- .../contactcenterinsights/v1/IssueModel.java | 1767 ++--- .../v1/IssueModelLabelStats.java | 1238 ++- .../v1/IssueModelLabelStatsOrBuilder.java | 86 + .../v1/IssueModelName.java | 0 .../v1/IssueModelOrBuilder.java | 127 +- .../v1/IssueModelResult.java | 466 +- .../v1/IssueModelResultOrBuilder.java | 45 +- .../contactcenterinsights/v1/IssueName.java | 0 .../v1/IssueOrBuilder.java | 70 +- .../v1/ListAnalysesRequest.java | 544 +- .../v1/ListAnalysesRequestOrBuilder.java | 56 +- .../v1/ListAnalysesResponse.java | 466 +- .../v1/ListAnalysesResponseOrBuilder.java | 45 +- .../v1/ListConversationsRequest.java | 639 +- .../v1/ListConversationsRequestOrBuilder.java | 62 +- .../v1/ListConversationsResponse.java | 494 +- .../ListConversationsResponseOrBuilder.java | 42 +- .../v1/ListIssueModelsRequest.java | 363 +- .../v1/ListIssueModelsRequestOrBuilder.java | 29 + .../v1/ListIssueModelsResponse.java | 402 +- .../v1/ListIssueModelsResponseOrBuilder.java | 36 +- .../v1/ListIssuesRequest.java | 342 +- .../v1/ListIssuesRequestOrBuilder.java | 29 + .../v1/ListIssuesResponse.java | 389 +- .../v1/ListIssuesResponseOrBuilder.java | 36 +- .../v1/ListPhraseMatchersRequest.java | 569 +- .../ListPhraseMatchersRequestOrBuilder.java | 56 +- .../v1/ListPhraseMatchersResponse.java | 564 +- .../ListPhraseMatchersResponseOrBuilder.java | 42 +- .../v1/ListViewsRequest.java | 455 +- .../v1/ListViewsRequestOrBuilder.java | 47 +- .../v1/ListViewsResponse.java | 460 +- .../v1/ListViewsResponseOrBuilder.java | 45 +- .../v1/LocationName.java | 0 .../v1/PhraseMatchData.java | 393 +- .../v1/PhraseMatchDataOrBuilder.java | 36 +- .../v1/PhraseMatchRule.java | 464 +- .../v1/PhraseMatchRuleConfig.java | 424 +- .../v1/PhraseMatchRuleConfigOrBuilder.java | 29 +- .../v1/PhraseMatchRuleGroup.java | 683 +- .../v1/PhraseMatchRuleGroupOrBuilder.java | 61 +- .../v1/PhraseMatchRuleOrBuilder.java | 38 +- .../v1/PhraseMatcher.java | 1594 ++-- .../v1/PhraseMatcherName.java | 0 .../v1/PhraseMatcherOrBuilder.java | 189 +- .../v1/ResourcesProto.java | 1054 +++ .../v1/RuntimeAnnotation.java | 1626 ++-- .../v1/RuntimeAnnotationOrBuilder.java | 141 +- .../v1/SentimentData.java | 312 +- .../v1/SentimentDataOrBuilder.java | 24 +- .../contactcenterinsights/v1/Settings.java | 1465 ++-- .../v1/SettingsName.java | 0 .../v1/SettingsOrBuilder.java | 129 +- .../contactcenterinsights/v1/SilenceData.java | 238 +- .../v1/SilenceDataOrBuilder.java | 9 + .../v1/SmartComposeSuggestionData.java | 732 +- .../SmartComposeSuggestionDataOrBuilder.java | 70 +- .../v1/SmartReplyData.java | 699 +- .../v1/SmartReplyDataOrBuilder.java | 70 +- .../v1/UndeployIssueModelMetadata.java | 657 +- .../UndeployIssueModelMetadataOrBuilder.java | 63 +- .../v1/UndeployIssueModelRequest.java | 375 +- .../UndeployIssueModelRequestOrBuilder.java | 29 + .../v1/UndeployIssueModelResponse.java | 271 +- .../UndeployIssueModelResponseOrBuilder.java | 9 + .../v1/UpdateConversationRequest.java | 520 +- .../UpdateConversationRequestOrBuilder.java | 46 +- .../v1/UpdateIssueModelRequest.java | 510 +- .../v1/UpdateIssueModelRequestOrBuilder.java | 46 +- .../v1/UpdateIssueRequest.java | 487 +- .../v1/UpdateIssueRequestOrBuilder.java | 46 +- .../v1/UpdatePhraseMatcherRequest.java | 526 +- .../UpdatePhraseMatcherRequestOrBuilder.java | 46 +- .../v1/UpdateSettingsRequest.java | 538 +- .../v1/UpdateSettingsRequestOrBuilder.java | 55 +- .../v1/UpdateViewRequest.java | 483 +- .../v1/UpdateViewRequestOrBuilder.java | 46 +- .../cloud/contactcenterinsights/v1/View.java | 739 +- .../contactcenterinsights/v1/ViewName.java | 0 .../v1/ViewOrBuilder.java | 79 +- .../v1/contact_center_insights.proto | 0 .../contactcenterinsights/v1/resources.proto | 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 .../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 .../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 ...culateIssueModelStatsRequestOrBuilder.java | 54 - .../v1/ContactCenterInsightsProto.java | 1213 --- .../v1/CreateAnalysisRequestOrBuilder.java | 95 - .../v1/CreateIssueModelRequestOrBuilder.java | 95 - .../v1/DeleteAnalysisRequestOrBuilder.java | 54 - .../DeleteConversationRequestOrBuilder.java | 69 - .../v1/DeleteIssueModelRequestOrBuilder.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/InterruptionDataOrBuilder.java | 24 - .../v1/IssueModelLabelStatsOrBuilder.java | 128 - .../v1/ListIssueModelsRequestOrBuilder.java | 54 - .../v1/ListIssuesRequestOrBuilder.java | 54 - .../v1/ResourcesProto.java | 1244 --- .../v1/SilenceDataOrBuilder.java | 24 - .../UndeployIssueModelRequestOrBuilder.java | 54 - .../UndeployIssueModelResponseOrBuilder.java | 24 - 383 files changed, 30153 insertions(+), 50215 deletions(-) delete mode 100644 grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java (99%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java (98%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java (99%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java (99%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java (99%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java (100%) rename {google-cloud-contact-center-insights => owl-bot-staging/v1/google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java (56%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java (54%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java (59%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java (51%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java (59%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java (61%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java (52%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java (51%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java (58%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java (78%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java (55%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java (62%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java (53%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java (52%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java (55%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java (73%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java (72%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java (74%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java (60%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java (78%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java (53%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java (71%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java (82%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java (66%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java (67%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java (64%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java (69%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java (63%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java (62%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java (57%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java (62%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java (54%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java (65%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java (56%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java (68%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java (70%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto (100%) rename {proto-google-cloud-contact-center-insights-v1 => owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java (100%) delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java delete mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java diff --git a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java deleted file mode 100644 index 7856bf22..00000000 --- a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java +++ /dev/null @@ -1,4352 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.contactcenterinsights.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * An API that lets users analyze and explore their business conversation data.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ContactCenterInsightsGrpc { - - private ContactCenterInsightsGrpc() {} - - public static final String SERVICE_NAME = - "google.cloud.contactcenterinsights.v1.ContactCenterInsights"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConversation", - requestType = com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.class, - responseType = com.google.cloud.contactcenterinsights.v1.Conversation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.contactcenterinsights.v1.CreateConversationRequest, - com.google.cloud.contactcenterinsights.v1.Conversation> - getCreateConversationMethod; - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) - == null) { - synchronized (ContactCenterInsightsGrpc.class) { - if ((getCreateConversationMethod = ContactCenterInsightsGrpc.getCreateConversationMethod) - == null) { - ContactCenterInsightsGrpc.getCreateConversationMethod = - getCreateConversationMethod = - io.grpc.MethodDescriptor - . - 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.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.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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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( - 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( - 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * Export insights data to a destination defined in the request body.
-     * 
- */ - public com.google.longrunning.Operation exportInsightsData( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an issue model.
-     * 
- */ - public com.google.longrunning.Operation createIssueModel( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel( - com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel( - com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists issue models.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels( - com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssueModelsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an issue model.
-     * 
- */ - public com.google.longrunning.Operation deleteIssueModel( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deploys an issue model. Returns an error if a model is already deployed.
-     * An issue model can only be used in analysis after it has been deployed.
-     * 
- */ - public com.google.longrunning.Operation deployIssueModel( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Undeploys an issue model.
-     * An issue model can not be used in analysis after it has been undeployed.
-     * 
- */ - public com.google.longrunning.Operation undeployIssueModel( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue getIssue( - com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists issues.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues( - com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssuesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue updateIssue( - com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an issue model's statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse - calculateIssueModelStats( - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher( - com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists phrase matchers.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers( - com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a phrase matcher.
-     * 
- */ - public com.google.protobuf.Empty deletePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher( - com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets conversation statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats( - com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateStatsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings getSettings( - com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings updateSettings( - com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View createView( - com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View getView( - com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists views.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews( - com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListViewsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View updateView( - com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateViewMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a view.
-     * 
- */ - public com.google.protobuf.Empty deleteView( - com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteViewMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsFutureStub - extends io.grpc.stub.AbstractFutureStub { - 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); - } - - /** - * - * - *
-     * 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); - } - - /** - * - * - *
-     * 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_EXPORT_INSIGHTS_DATA = 9; - private static final int METHODID_CREATE_ISSUE_MODEL = 10; - private static final int METHODID_UPDATE_ISSUE_MODEL = 11; - private static final int METHODID_GET_ISSUE_MODEL = 12; - private static final int METHODID_LIST_ISSUE_MODELS = 13; - private static final int METHODID_DELETE_ISSUE_MODEL = 14; - private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; - private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; - private static final int METHODID_GET_ISSUE = 17; - private static final int METHODID_LIST_ISSUES = 18; - private static final int METHODID_UPDATE_ISSUE = 19; - private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; - private static final int METHODID_CREATE_PHRASE_MATCHER = 21; - private static final int METHODID_GET_PHRASE_MATCHER = 22; - private static final int METHODID_LIST_PHRASE_MATCHERS = 23; - private static final int METHODID_DELETE_PHRASE_MATCHER = 24; - private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; - private static final int METHODID_CALCULATE_STATS = 26; - private static final int METHODID_GET_SETTINGS = 27; - private static final int METHODID_UPDATE_SETTINGS = 28; - private static final int METHODID_CREATE_VIEW = 29; - private static final int METHODID_GET_VIEW = 30; - private static final int METHODID_LIST_VIEWS = 31; - private static final int METHODID_UPDATE_VIEW = 32; - private static final int METHODID_DELETE_VIEW = 33; - - 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_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_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(getExportInsightsDataMethod()) - .addMethod(getCreateIssueModelMethod()) - .addMethod(getUpdateIssueModelMethod()) - .addMethod(getGetIssueModelMethod()) - .addMethod(getListIssueModelsMethod()) - .addMethod(getDeleteIssueModelMethod()) - .addMethod(getDeployIssueModelMethod()) - .addMethod(getUndeployIssueModelMethod()) - .addMethod(getGetIssueMethod()) - .addMethod(getListIssuesMethod()) - .addMethod(getUpdateIssueMethod()) - .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/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java similarity index 99% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java index 5e961172..055b6c36 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -66,13 +67,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -196,6 +197,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -4140,10 +4142,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListConversationsPagedResponse extends AbstractPagedListResponse< - ListConversationsRequest, - ListConversationsResponse, - Conversation, - ListConversationsPage, + ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, ListConversationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4164,9 +4163,7 @@ private ListConversationsPagedResponse(ListConversationsPage page) { public static class ListConversationsPage extends AbstractPage< - ListConversationsRequest, - ListConversationsResponse, - Conversation, + ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage> { private ListConversationsPage( @@ -4196,10 +4193,7 @@ public ApiFuture createPageAsync( public static class ListConversationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListConversationsRequest, - ListConversationsResponse, - Conversation, - ListConversationsPage, + ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, ListConversationsFixedSizeCollection> { private ListConversationsFixedSizeCollection( @@ -4220,10 +4214,7 @@ protected ListConversationsFixedSizeCollection createCollection( public static class ListAnalysesPagedResponse extends AbstractPagedListResponse< - ListAnalysesRequest, - ListAnalysesResponse, - Analysis, - ListAnalysesPage, + ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, ListAnalysesFixedSizeCollection> { public static ApiFuture createAsync( @@ -4272,10 +4263,7 @@ public ApiFuture createPageAsync( public static class ListAnalysesFixedSizeCollection extends AbstractFixedSizeCollection< - ListAnalysesRequest, - ListAnalysesResponse, - Analysis, - ListAnalysesPage, + ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, ListAnalysesFixedSizeCollection> { private ListAnalysesFixedSizeCollection(List pages, int collectionSize) { @@ -4295,11 +4283,8 @@ protected ListAnalysesFixedSizeCollection createCollection( public static class ListPhraseMatchersPagedResponse extends AbstractPagedListResponse< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, - PhraseMatcher, - ListPhraseMatchersPage, - ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, + ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4319,9 +4304,7 @@ private ListPhraseMatchersPagedResponse(ListPhraseMatchersPage page) { public static class ListPhraseMatchersPage extends AbstractPage< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, - PhraseMatcher, + ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, ListPhraseMatchersPage> { private ListPhraseMatchersPage( @@ -4351,11 +4334,8 @@ public ApiFuture createPageAsync( public static class ListPhraseMatchersFixedSizeCollection extends AbstractFixedSizeCollection< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, - PhraseMatcher, - ListPhraseMatchersPage, - ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, + ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { private ListPhraseMatchersFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java similarity index 98% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java index c780d005..bda055f1 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java +++ b/owl-bot-staging/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; @@ -48,10 +49,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java similarity index 99% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java index 16c3b7d8..614ffd96 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java @@ -126,10 +126,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -383,8 +383,7 @@ public Iterable extractResources(ListViewsResponse payload) { ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> LIST_CONVERSATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListConversationsRequest, - ListConversationsResponse, + ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -421,8 +420,7 @@ public ApiFuture getFuturePagedResponse( ListPhraseMatchersRequest, ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse> LIST_PHRASE_MATCHERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPhraseMatchersRequest, - ListPhraseMatchersResponse, + ListPhraseMatchersRequest, ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java similarity index 99% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java index eeae3d61..b3c46e80 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java +++ b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java @@ -93,6 +93,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/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java similarity index 100% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java diff --git a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java similarity index 99% rename from google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java index f4342af5..7f20300a 100644 --- a/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java +++ b/owl-bot-staging/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/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java similarity index 100% rename from google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java diff --git a/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java similarity index 100% rename from google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java diff --git a/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java similarity index 100% rename from google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java diff --git a/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java b/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java similarity index 100% rename from google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java rename to owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java new file mode 100644 index 00000000..f27f54d9 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java @@ -0,0 +1,3153 @@ +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 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 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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( + 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( + 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * Export insights data to a destination defined in the request body.
+     * 
+ */ + public com.google.longrunning.Operation exportInsightsData(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an issue model.
+     * 
+ */ + public com.google.longrunning.Operation createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists issue models.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssueModelsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an issue model.
+     * 
+ */ + public com.google.longrunning.Operation deleteIssueModel(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Deploys an issue model. Returns an error if a model is already deployed.
+     * An issue model can only be used in analysis after it has been deployed.
+     * 
+ */ + public com.google.longrunning.Operation deployIssueModel(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Undeploys an issue model.
+     * An issue model can not be used in analysis after it has been undeployed.
+     * 
+ */ + public com.google.longrunning.Operation undeployIssueModel(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists issues.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssuesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an issue model's statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists phrase matchers.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a phrase matcher.
+     * 
+ */ + public com.google.protobuf.Empty deletePhraseMatcher(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets conversation statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateStatsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings getSettings(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateViewMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetViewMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists views.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListViewsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateViewMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a view.
+     * 
+ */ + public com.google.protobuf.Empty deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteViewMethod(), getCallOptions(), request); + } + } + + /** + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsFutureStub extends io.grpc.stub.AbstractFutureStub { + 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); + } + + /** + *
+     * 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); + } + + /** + *
+     * 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_EXPORT_INSIGHTS_DATA = 9; + private static final int METHODID_CREATE_ISSUE_MODEL = 10; + private static final int METHODID_UPDATE_ISSUE_MODEL = 11; + private static final int METHODID_GET_ISSUE_MODEL = 12; + private static final int METHODID_LIST_ISSUE_MODELS = 13; + private static final int METHODID_DELETE_ISSUE_MODEL = 14; + private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; + private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; + private static final int METHODID_GET_ISSUE = 17; + private static final int METHODID_LIST_ISSUES = 18; + private static final int METHODID_UPDATE_ISSUE = 19; + private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; + private static final int METHODID_CREATE_PHRASE_MATCHER = 21; + private static final int METHODID_GET_PHRASE_MATCHER = 22; + private static final int METHODID_LIST_PHRASE_MATCHERS = 23; + private static final int METHODID_DELETE_PHRASE_MATCHER = 24; + private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; + private static final int METHODID_CALCULATE_STATS = 26; + private static final int METHODID_GET_SETTINGS = 27; + private static final int METHODID_UPDATE_SETTINGS = 28; + private static final int METHODID_CREATE_VIEW = 29; + private static final int METHODID_GET_VIEW = 30; + private static final int METHODID_LIST_VIEWS = 31; + private static final int METHODID_UPDATE_VIEW = 32; + private static final int METHODID_DELETE_VIEW = 33; + + 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_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_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(getExportInsightsDataMethod()) + .addMethod(getCreateIssueModelMethod()) + .addMethod(getUpdateIssueModelMethod()) + .addMethod(getGetIssueModelMethod()) + .addMethod(getListIssueModelsMethod()) + .addMethod(getDeleteIssueModelMethod()) + .addMethod(getDeployIssueModelMethod()) + .addMethod(getUndeployIssueModelMethod()) + .addMethod(getGetIssueMethod()) + .addMethod(getListIssuesMethod()) + .addMethod(getUpdateIssueMethod()) + .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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java index 25f7dfe2..5ee35bdb 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private Analysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,67 +53,58 @@ private Analysis( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (requestTime_ != null) { + subBuilder = requestTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (requestTime_ != null) { - subBuilder = requestTime_.toBuilder(); - } - requestTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestTime_); - requestTime_ = subBuilder.buildPartial(); - } - - break; + requestTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestTime_); + requestTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; - if (analysisResult_ != null) { - subBuilder = analysisResult_.toBuilder(); - } - analysisResult_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisResult_); - analysisResult_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; + if (analysisResult_ != null) { + subBuilder = analysisResult_.toBuilder(); + } + analysisResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisResult_); + analysisResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -138,33 +112,29 @@ private Analysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -172,7 +142,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -181,15 +150,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:
@@ -197,15 +165,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 { @@ -216,15 +185,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 @@ -232,15 +197,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 @@ -248,14 +209,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() { @@ -265,16 +223,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.
    * 
* - * .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 @@ -282,16 +236,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.
    * 
* - * .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 @@ -299,15 +249,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.
    * 
* - * .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() { @@ -317,17 +264,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.
    * 
* - * - * .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 @@ -335,45 +277,32 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder() { return getAnalysisResult(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +314,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_); } @@ -411,13 +341,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -427,26 +360,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -479,126 +415,117 @@ 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() @@ -606,15 +533,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -642,9 +570,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 @@ -663,8 +591,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Analysis result = new com.google.cloud.contactcenterinsights.v1.Analysis(this); result.name_ = name_; if (requestTimeBuilder_ == null) { result.requestTime_ = requestTime_; @@ -689,39 +616,38 @@ public com.google.cloud.contactcenterinsights.v1.Analysis 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.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; @@ -729,8 +655,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_; onChanged(); @@ -763,8 +688,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -776,8 +700,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -785,13 +707,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; @@ -800,8 +722,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -809,14 +729,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 { @@ -824,8 +745,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -833,22 +752,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -856,18 +773,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -875,16 +789,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -892,58 +806,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 requestTimeBuilder_ != null || 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. */ 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) { @@ -959,17 +854,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(); onChanged(); @@ -980,23 +872,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 (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -1008,15 +894,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() { if (requestTimeBuilder_ == null) { @@ -1030,64 +912,48 @@ 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() { - + onChanged(); 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_; @@ -1095,61 +961,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.
      * 
* - * - * .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 createTimeBuilder_ != null || 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. */ 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) { @@ -1165,18 +1012,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.
      * 
* - * - * .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(); onChanged(); @@ -1187,22 +1031,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.
      * 
* - * - * .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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1214,16 +1054,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.
      * 
* - * - * .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() { if (createTimeBuilder_ == null) { @@ -1237,67 +1073,51 @@ 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() { - + onChanged(); 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_; @@ -1305,64 +1125,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.
      * 
* - * - * .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 analysisResultBuilder_ != null || 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. */ 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(); @@ -1376,16 +1176,12 @@ 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 setAnalysisResult( com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder builderForValue) { @@ -1399,25 +1195,18 @@ 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 (analysisResult_ != null) { analysisResult_ = - com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_).mergeFrom(value).buildPartial(); } else { analysisResult_ = value; } @@ -1429,16 +1218,12 @@ public Builder mergeAnalysisResult( 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() { if (analysisResultBuilder_ == null) { @@ -1452,76 +1237,58 @@ 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() { + 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_; } - @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); } @@ -1531,12 +1298,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(); } @@ -1545,16 +1312,16 @@ 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 { - return new Analysis(input, extensionRegistry); - } - }; + 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 { + return new Analysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java index d6a4eb43..80020b8f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java +++ b/owl-bot-staging/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,131 +26,95 @@ 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.
    * 
* - * .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(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java index a7566a9d..807aef0a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private AnalysisResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,52 +52,40 @@ private AnalysisResult( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder subBuilder = null; + if (metadataCase_ == 2) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_).toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder - subBuilder = null; - if (metadataCase_ == 2) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_) - .toBuilder(); - } - metadata_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - metadata_); - metadata_ = subBuilder.buildPartial(); - } - metadataCase_ = 2; - break; + metadata_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); + metadata_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + metadataCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,46 +93,40 @@ private AnalysisResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -169,8 +135,6 @@ public interface CallAnalysisMetadataOrBuilder */ com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index); /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -179,19 +143,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.
      * 
@@ -202,8 +162,6 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations int index); /** - * - * *
      * All the entities in the call.
      * 
@@ -212,21 +170,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.
      * 
@@ -234,10 +192,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.
      * 
@@ -246,89 +202,66 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations */ /* 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.
      * 
@@ -337,21 +270,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.
      * 
@@ -359,10 +292,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.
      * 
@@ -371,148 +302,120 @@ com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( */ /* 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(); @@ -520,15 +423,16 @@ 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; } - private CallAnalysisMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -548,113 +452,83 @@ private CallAnalysisMetadata( case 0: done = true; break; - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.CallAnnotation>(); - mutable_bitField0_ |= 0x00000001; - } - annotations_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), - extensionRegistry)); - break; + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + annotations_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + entities_ = com.google.protobuf.MapField.newMapField( + EntitiesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - entities_ = - com.google.protobuf.MapField.newMapField( - EntitiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - entities__ = - input.readMessage( - EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - entities_.getMutableMap().put(entities__.getKey(), entities__.getValue()); - break; + com.google.protobuf.MapEntry + entities__ = input.readMessage( + EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + entities_.getMutableMap().put( + entities__.getKey(), entities__.getValue()); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + sentiments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - sentiments_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>(); - mutable_bitField0_ |= 0x00000004; - } - sentiments_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment - .parser(), - extensionRegistry)); - break; + sentiments_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.parser(), extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + intents_ = com.google.protobuf.MapField.newMapField( + IntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - intents_ = - com.google.protobuf.MapField.newMapField( - IntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - intents__ = - input.readMessage( - IntentsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - intents_.getMutableMap().put(intents__.getKey(), intents__.getValue()); - break; + com.google.protobuf.MapEntry + intents__ = input.readMessage( + IntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + intents_.getMutableMap().put( + intents__.getKey(), intents__.getValue()); + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + phraseMatchers_ = com.google.protobuf.MapField.newMapField( + PhraseMatchersDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000010; } - case 58: - { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - phraseMatchers_ = - com.google.protobuf.MapField.newMapField( - PhraseMatchersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - phraseMatchers__ = - input.readMessage( - PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - phraseMatchers_ - .getMutableMap() - .put(phraseMatchers__.getKey(), phraseMatchers__.getValue()); - break; + com.google.protobuf.MapEntry + phraseMatchers__ = input.readMessage( + PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + phraseMatchers_.getMutableMap().put( + phraseMatchers__.getKey(), phraseMatchers__.getValue()); + break; + } + case 66: { + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = null; + if (issueModelResult_ != null) { + subBuilder = issueModelResult_.toBuilder(); } - case 66: - { - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = - null; - if (issueModelResult_ != null) { - subBuilder = issueModelResult_.toBuilder(); - } - issueModelResult_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModelResult_); - issueModelResult_ = subBuilder.buildPartial(); - } - - break; + issueModelResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModelResult_); + issueModelResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,7 +536,8 @@ private CallAnalysisMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { annotations_ = java.util.Collections.unmodifiableList(annotations_); @@ -674,15 +549,15 @@ private CallAnalysisMetadata( makeExtensionsImmutable(); } } - - 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(); @@ -691,26 +566,21 @@ 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; private java.util.List annotations_; /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -718,13 +588,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.
      * 
@@ -732,14 +599,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.
      * 
@@ -751,8 +615,6 @@ public int getAnnotationsCount() { return annotations_.size(); } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -764,8 +626,6 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i return annotations_.get(index); } /** - * - * *
      * A list of call annotations that apply to this call.
      * 
@@ -773,37 +633,30 @@ 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()); } - - 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_; } @@ -812,31 +665,28 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** - * - * *
      * All the entities in the call.
      * 
* * 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.
      * 
@@ -844,13 +694,11 @@ 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.
      * 
@@ -858,18 +706,16 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
      * 
@@ -877,11 +723,10 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -891,115 +736,84 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public static final int SENTIMENTS_FIELD_NUMBER = 4; - 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()); } - - 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_; } @@ -1008,31 +822,28 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** - * - * *
      * All the matched intents in the call.
      * 
* * 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.
      * 
@@ -1040,13 +851,11 @@ 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.
      * 
@@ -1054,18 +863,16 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
      * 
@@ -1073,11 +880,10 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -1087,30 +893,21 @@ 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()); } - 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); @@ -1122,89 +919,70 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -1214,14 +992,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 @@ -1229,25 +1004,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.
      * 
@@ -1255,13 +1023,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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder getIssueModelResultOrBuilder() { return getIssueModelResult(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1273,19 +1039,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()); } @@ -1299,50 +1078,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1352,24 +1127,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1411,101 +1189,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 @@ -1515,27 +1280,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(); @@ -1544,12 +1306,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(); @@ -1558,39 +1321,35 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAnnotationsFieldBuilder(); getSentimentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1619,22 +1378,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); } @@ -1642,10 +1398,8 @@ 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); int from_bitField0_ = bitField0_; if (annotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1684,56 +1438,46 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMeta 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()) { @@ -1752,16 +1496,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()); if (sentimentsBuilder_ == null) { if (!other.sentiments_.isEmpty()) { if (sentiments_.isEmpty()) { @@ -1780,17 +1524,18 @@ 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()); - internalGetMutablePhraseMatchers().mergeFrom(other.internalGetPhraseMatchers()); + internalGetMutableIntents().mergeFrom( + other.internalGetIntents()); + internalGetMutablePhraseMatchers().mergeFrom( + other.internalGetPhraseMatchers()); if (other.hasIssueModelResult()) { mergeIssueModelResult(other.getIssueModelResult()); } @@ -1809,14 +1554,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1825,39 +1567,28 @@ public Builder mergeFrom( } 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 { @@ -1865,14 +1596,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) { @@ -1882,14 +1610,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) { @@ -1899,14 +1624,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) { @@ -1923,18 +1645,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()); @@ -1945,17 +1663,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(); @@ -1969,14 +1683,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) { @@ -1993,14 +1704,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) { @@ -2014,18 +1722,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()); @@ -2036,21 +1740,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); @@ -2058,14 +1759,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) { @@ -2078,14 +1776,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) { @@ -2098,50 +1793,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 { @@ -2149,64 +1833,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(), @@ -2217,27 +1882,21 @@ 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> - 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 entities_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> - internalGetMutableEntities() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableEntities() { + onChanged();; 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(); @@ -2249,31 +1908,28 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** - * - * *
        * All the entities in the call.
        * 
* * 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.
        * 
@@ -2281,13 +1937,11 @@ 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.
        * 
@@ -2295,18 +1949,16 @@ public boolean containsEntities(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
        * 
@@ -2314,11 +1966,10 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -2328,34 +1979,34 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public Builder clearEntities() { - 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() { + getMutableEntities() { return internalGetMutableEntities().getMutableMap(); } /** - * - * *
        * All the entities in the call.
        * 
@@ -2363,65 +2014,52 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableEntities().getMutableMap().put(key, value); + internalGetMutableEntities().getMutableMap() + .put(key, value); return this; } /** - * - * *
        * All the entities in the call.
        * 
* * 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); 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 { @@ -2429,15 +2067,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) { @@ -2447,18 +2081,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 { @@ -2466,15 +2095,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) { @@ -2491,20 +2116,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()); @@ -2515,18 +2134,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(); @@ -2540,15 +2154,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) { @@ -2565,19 +2175,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()); @@ -2588,20 +2193,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()); @@ -2612,23 +2211,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); @@ -2636,15 +2230,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) { @@ -2657,15 +2247,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) { @@ -2678,54 +2264,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 { @@ -2733,97 +2304,70 @@ 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> - internalGetMutableIntents() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableIntents() { + onChanged();; 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(); @@ -2835,31 +2379,28 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** - * - * *
        * All the matched intents in the call.
        * 
* * 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.
        * 
@@ -2867,13 +2408,11 @@ 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.
        * 
@@ -2881,18 +2420,16 @@ public boolean containsIntents(java.lang.String key) { * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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.
        * 
@@ -2900,11 +2437,10 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -2914,34 +2450,34 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } public Builder clearIntents() { - 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() { + getMutableIntents() { return internalGetMutableIntents().getMutableMap(); } /** - * - * *
        * All the matched intents in the call.
        * 
@@ -2949,56 +2485,48 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableIntents().getMutableMap().put(key, value); + internalGetMutableIntents().getMutableMap() + .put(key, value); return this; } /** - * - * *
        * All the matched intents in the call.
        * 
* * 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); 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> - internalGetMutablePhraseMatchers() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutablePhraseMatchers() { + onChanged();; 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(); @@ -3010,89 +2538,70 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -3100,129 +2609,104 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatche } public Builder clearPhraseMatchers() { - 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> - getMutablePhraseMatchers() { + public java.util.Map + getMutablePhraseMatchers() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutablePhraseMatchers().getMutableMap().put(key, value); + internalGetMutablePhraseMatchers().getMutableMap() + .put(key, value); 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); 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 issueModelResultBuilder_ != null || issueModelResult_ != null; } /** - * - * *
        * 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(); @@ -3236,14 +2720,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) { @@ -3257,24 +2738,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 (issueModelResult_ != null) { issueModelResult_ = - com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder( - issueModelResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder(issueModelResult_).mergeFrom(value).buildPartial(); } else { issueModelResult_ = value; } @@ -3286,14 +2760,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() { if (issueModelResultBuilder_ == null) { @@ -3307,68 +2778,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() { + 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) { @@ -3381,34 +2836,30 @@ 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 { - return new CallAnalysisMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallAnalysisMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3420,23 +2871,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; } @@ -3452,36 +2900,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 @@ -3489,61 +2930,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 @@ -3551,14 +2974,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 @@ -3566,8 +2986,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time at which the analysis ended.
    * 
@@ -3580,7 +2998,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3592,15 +3009,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_); } unknownFields.writeTo(output); } @@ -3612,14 +3027,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3629,22 +3042,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: @@ -3678,127 +3092,117 @@ 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() @@ -3806,15 +3210,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3830,9 +3235,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 @@ -3851,8 +3256,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.AnalysisResult result = new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); if (metadataCase_ == 2) { if (callAnalysisMetadataBuilder_ == null) { result.metadata_ = metadata_; @@ -3874,39 +3278,38 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult 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.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; @@ -3914,21 +3317,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.unknownFields); onChanged(); @@ -3949,8 +3349,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3959,12 +3358,12 @@ public Builder mergeFrom( } 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() { @@ -3974,22 +3373,15 @@ public Builder clearMetadata() { return this; } + 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 @@ -3997,49 +3389,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(); @@ -4053,19 +3431,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(); @@ -4076,31 +3449,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; } @@ -4116,15 +3476,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) { @@ -4143,115 +3499,79 @@ 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; } metadataCase_ = 2; - onChanged(); - ; + onChanged();; return callAnalysisMetadataBuilder_; } 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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -4262,8 +3582,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4284,15 +3602,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(); onChanged(); @@ -4303,8 +3620,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4315,7 +3630,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -4327,8 +3642,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4347,8 +3660,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4356,13 +3667,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 1; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the analysis ended.
      * 
@@ -4373,12 +3682,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.
      * 
@@ -4386,24 +3694,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); } @@ -4413,12 +3718,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(); } @@ -4427,16 +3732,16 @@ 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 { - return new AnalysisResult(input, extensionRegistry); - } - }; + 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 { + return new AnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4451,4 +3756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java similarity index 56% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java index 5fd73819..349628cc 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java index 72f25519..86b3ad96 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private AnnotationBoundary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,24 +52,23 @@ private AnnotationBoundary( case 0: done = true; break; - case 8: - { - transcriptIndex_ = input.readInt32(); - break; - } - case 24: - { - detailedBoundary_ = input.readInt32(); - detailedBoundaryCase_ = 3; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + transcriptIndex_ = input.readInt32(); + break; + } + case 24: { + detailedBoundary_ = input.readInt32(); + detailedBoundaryCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,39 +76,34 @@ private AnnotationBoundary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; } @@ -141,35 +119,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 @@ -177,15 +150,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 @@ -199,15 +169,12 @@ public int getWordIndex() { public static final int TRANSCRIPT_INDEX_FIELD_NUMBER = 1; 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 @@ -216,7 +183,6 @@ public int getTranscriptIndex() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,12 +194,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_)); } unknownFields.writeTo(output); } @@ -245,12 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -260,19 +229,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: @@ -304,127 +274,117 @@ 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() @@ -432,15 +392,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -452,14 +413,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(); } @@ -474,8 +434,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); if (detailedBoundaryCase_ == 3) { result.detailedBoundary_ = detailedBoundary_; } @@ -489,39 +448,38 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary 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.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; @@ -529,22 +487,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.unknownFields); onChanged(); @@ -565,8 +519,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -575,12 +528,12 @@ public Builder mergeFrom( } 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() { @@ -590,31 +543,26 @@ public Builder clearDetailedBoundary() { 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 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() { @@ -624,15 +572,12 @@ 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. */ @@ -643,15 +588,12 @@ public Builder setWordIndex(int value) { 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() { @@ -663,17 +605,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 @@ -681,45 +620,39 @@ 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; 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() { - + transcriptIndex_ = 0; 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); } @@ -729,13 +662,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(); } @@ -744,16 +676,16 @@ 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 { - return new AnnotationBoundary(input, extensionRegistry); - } - }; + 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 { + return new AnnotationBoundary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -768,4 +700,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java index 79e6b46f..c2a96449 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java index c9fe577f..a4a2a17c 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java +++ b/owl-bot-staging/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,31 +11,31 @@
  *
  * 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;
   }
-
   private AnswerFeedback(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,30 +54,29 @@ private AnswerFeedback(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              correctnessLevel_ = rawValue;
-              break;
-            }
-          case 16:
-            {
-              clicked_ = input.readBool();
-              break;
-            }
-          case 24:
-            {
-              displayed_ = input.readBool();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            correctnessLevel_ = rawValue;
+            break;
+          }
+          case 16: {
+
+            clicked_ = input.readBool();
+            break;
+          }
+          case 24: {
+
+            displayed_ = input.readBool();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,41 +84,36 @@ private AnswerFeedback(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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.
      * 
@@ -145,8 +122,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ CORRECTNESS_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Answer is totally wrong.
      * 
@@ -155,8 +130,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ NOT_CORRECT(1), /** - * - * *
      * Answer is partially correct.
      * 
@@ -165,8 +138,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ PARTIALLY_CORRECT(2), /** - * - * *
      * Answer is fully correct.
      * 
@@ -178,8 +149,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Correctness level unspecified.
      * 
@@ -188,8 +157,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int CORRECTNESS_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Answer is totally wrong.
      * 
@@ -198,8 +165,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int NOT_CORRECT_VALUE = 1; /** - * - * *
      * Answer is partially correct.
      * 
@@ -208,8 +173,6 @@ public enum CorrectnessLevel implements com.google.protobuf.ProtocolMessageEnum */ public static final int PARTIALLY_CORRECT_VALUE = 2; /** - * - * *
      * Answer is fully correct.
      * 
@@ -218,6 +181,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( @@ -242,47 +206,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(); @@ -290,7 +248,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; @@ -310,58 +269,38 @@ private CorrectnessLevel(int value) { public static final int CORRECTNESS_LEVEL_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( - correctnessLevel_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(correctnessLevel_); + return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; } public static final int CLICKED_FIELD_NUMBER = 2; private boolean clicked_; /** - * - * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; - * * @return The clicked. */ @java.lang.Override @@ -372,15 +311,12 @@ public boolean getClicked() { public static final int DISPLAYED_FIELD_NUMBER = 3; 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 @@ -389,7 +325,6 @@ public boolean getDisplayed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -401,11 +336,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) { @@ -423,17 +356,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -443,17 +376,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -468,113 +402,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) + unknownFields.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.
@@ -582,23 +510,21 @@ 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()
@@ -606,15 +532,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -628,9 +555,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
@@ -649,8 +576,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result = new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
       result.correctnessLevel_ = correctnessLevel_;
       result.clicked_ = clicked_;
       result.displayed_ = displayed_;
@@ -662,39 +588,38 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback 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.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;
@@ -702,8 +627,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());
       }
@@ -732,8 +656,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -745,120 +668,85 @@ public Builder mergeFrom(
 
     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. */ public Builder setCorrectnessLevelValue(int value) { - + correctnessLevel_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( - correctnessLevel_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(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(); } - + correctnessLevel_ = value.getNumber(); onChanged(); 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() { - + correctnessLevel_ = 0; onChanged(); 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 @@ -866,52 +754,43 @@ 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; 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() { - + clicked_ = false; onChanged(); 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 @@ -919,45 +798,39 @@ 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; 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() { - + displayed_ = false; 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); } @@ -967,12 +840,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(); } @@ -981,16 +854,16 @@ 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 { - return new AnswerFeedback(input, extensionRegistry); - } - }; + 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 { + return new AnswerFeedback(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,4 +878,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java similarity index 54% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java index 886b137b..9109a2a6 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java index be63818f..3557479e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ArticleSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,61 +57,55 @@ private ArticleSuggestionData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + title_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - uri_ = s; - break; - } - case 29: - { - confidenceScore_ = input.readFloat(); - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + uri_ = s; + break; + } + case 29: { - queryRecord_ = s; - break; + confidenceScore_ = input.readFloat(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + queryRecord_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + source_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,50 +113,46 @@ private ArticleSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object title_; /** - * - * *
    * Article title.
    * 
* * string title = 1; - * * @return The title. */ @java.lang.Override @@ -188,29 +161,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 { @@ -221,14 +194,11 @@ public com.google.protobuf.ByteString getTitleBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * Article URI.
    * 
* * string uri = 2; - * * @return The uri. */ @java.lang.Override @@ -237,29 +207,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 { @@ -270,8 +240,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 3; 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
@@ -279,7 +247,6 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * float confidence_score = 3; - * * @return The confidenceScore. */ @java.lang.Override @@ -288,23 +255,24 @@ 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, + ""); } - - 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_; } @@ -313,8 +281,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -322,22 +288,22 @@ 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.
@@ -346,12 +312,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -360,17 +325,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -379,11 +343,12 @@ public 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();
     }
@@ -393,8 +358,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -402,7 +365,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 5; - * * @return The queryRecord. */ @java.lang.Override @@ -411,15 +373,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:
@@ -427,15 +388,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 { @@ -446,8 +408,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -455,7 +415,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
    * 
* * string source = 6; - * * @return The source. */ @java.lang.Override @@ -464,15 +423,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:
@@ -480,15 +438,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 { @@ -497,7 +456,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,7 +467,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_); } @@ -519,8 +478,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_); } @@ -543,17 +506,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_); @@ -569,21 +533,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -600,7 +569,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(); @@ -615,147 +585,139 @@ 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() @@ -763,15 +725,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -790,14 +753,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(); } @@ -812,8 +774,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); int from_bitField0_ = bitField0_; result.title_ = title_; result.uri_ = uri_; @@ -830,50 +791,46 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData buildPart 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_; onChanged(); @@ -885,7 +842,8 @@ public Builder mergeFrom( if (other.getConfidenceScore() != 0F) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -913,9 +871,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -924,25 +880,22 @@ public Builder mergeFrom( } 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; @@ -951,21 +904,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 { @@ -973,61 +925,54 @@ 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) { + public Builder setTitle( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** - * - * *
      * Article title.
      * 
* * string title = 1; - * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); 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) { + public Builder setTitleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -1035,20 +980,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; @@ -1057,21 +1000,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 { @@ -1079,70 +1021,61 @@ 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) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Article URI.
      * 
* * string uri = 2; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); 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) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); 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
@@ -1150,7 +1083,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence_score = 3; - * * @return The confidenceScore. */ @java.lang.Override @@ -1158,8 +1090,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
@@ -1167,19 +1097,16 @@ 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; 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
@@ -1187,32 +1114,31 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 3; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -1224,8 +1150,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1233,22 +1157,22 @@ 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.
@@ -1257,12 +1181,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1271,17 +1194,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1290,11 +1212,12 @@ public 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();
       }
@@ -1302,12 +1225,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1315,21 +1237,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1337,20 +1261,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1358,15 +1281,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1374,13 +1298,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; @@ -1389,8 +1313,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1398,14 +1320,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 { @@ -1413,8 +1336,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1422,22 +1343,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1445,18 +1364,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 5; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1464,16 +1380,16 @@ 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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1481,8 +1397,6 @@ public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { private java.lang.Object source_ = ""; /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1490,13 +1404,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; @@ -1505,8 +1419,6 @@ public java.lang.String getSource() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1514,14 +1426,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 { @@ -1529,8 +1442,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1538,22 +1449,20 @@ 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) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1561,18 +1470,15 @@ public Builder setSource(java.lang.String value) {
      * 
* * string source = 6; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1580,23 +1486,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) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1606,32 +1512,30 @@ 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 { - return new ArticleSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new ArticleSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1643,8 +1547,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java index b9567d83..5a1c1aa3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -136,13 +104,11 @@ public interface ArticleSuggestionDataOrBuilder
    */
 
   /* 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.
@@ -150,11 +116,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:
@@ -162,13 +128,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -176,14 +139,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:
@@ -191,13 +152,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:
@@ -205,8 +163,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java similarity index 59% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java index 63ecca06..4574dc6f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CalculateIssueModelStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private CalculateIssueModelStatsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issueModel_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,34 @@ private CalculateIssueModelStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -136,31 +109,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 { @@ -169,7 +140,6 @@ public com.google.protobuf.ByteString getIssueModelBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -205,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,146 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,22 +341,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); } @@ -406,10 +361,8 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); result.issueModel_ = issueModel_; onBuilt(); return result; @@ -419,52 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest 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_; onChanged(); @@ -484,14 +431,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -503,22 +447,18 @@ public Builder mergeFrom( 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; @@ -527,23 +467,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 { @@ -551,74 +488,61 @@ 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) { + public Builder setIssueModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = 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); } @@ -628,33 +552,30 @@ 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 { - return new CalculateIssueModelStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateIssueModelStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -666,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java new file mode 100644 index 00000000..b7127031 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java index cbe8e2db..dcddf2a1 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CalculateIssueModelStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,31 +52,26 @@ private CalculateIssueModelStatsResponse( case 0: done = true; break; - case 34: - { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = - null; - if (currentStats_ != null) { - subBuilder = currentStats_.toBuilder(); - } - currentStats_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentStats_); - currentStats_ = subBuilder.buildPartial(); - } - - break; + case 34: { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; + if (currentStats_ != null) { + subBuilder = currentStats_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + currentStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentStats_); + currentStats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,41 +79,35 @@ private CalculateIssueModelStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -143,26 +115,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.
@@ -171,13 +136,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() {
+  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getCurrentStatsOrBuilder() {
     return getCurrentStats();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -189,7 +152,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());
     }
@@ -203,7 +167,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -213,18 +178,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -246,152 +210,135 @@ 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)
+      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 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)
+      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 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)
+      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(
+      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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -405,22 +352,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); } @@ -428,10 +372,8 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); if (currentStatsBuilder_ == null) { result.currentStats_ = currentStats_; } else { @@ -445,52 +387,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRespons 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()); } @@ -509,14 +445,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,49 +461,36 @@ public Builder mergeFrom( 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 currentStatsBuilder_ != null || 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. */ 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.
@@ -578,8 +498,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();
@@ -593,8 +512,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.
@@ -614,8 +531,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.
@@ -623,15 +538,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 (currentStats_ != null) {
           currentStats_ =
-              com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(
-                      currentStats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(currentStats_).mergeFrom(value).buildPartial();
         } else {
           currentStats_ = value;
         }
@@ -643,8 +554,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.
@@ -664,8 +573,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.
@@ -673,15 +580,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() {
+      
       onChanged();
       return getCurrentStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -689,19 +593,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.
@@ -710,24 +610,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);
     }
 
@@ -737,33 +634,30 @@ 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 {
-          return new CalculateIssueModelStatsResponse(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new CalculateIssueModelStatsResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -775,8 +669,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
similarity index 65%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
index 57c73991..2eeb3b22 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
+++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
similarity index 66%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
index 4c56e7d9..27887c06 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
+++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CalculateStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private CalculateStatsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + location_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private CalculateStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -142,31 +116,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 { @@ -177,15 +149,12 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int FILTER_FIELD_NUMBER = 2; 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 @@ -194,30 +163,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 { @@ -226,7 +195,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +206,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_); } @@ -268,16 +237,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +269,117 @@ 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() @@ -427,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,14 +408,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(); } @@ -469,8 +429,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); result.location_ = location_; result.filter_ = filter_; onBuilt(); @@ -481,50 +440,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest buildPart 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_; onChanged(); @@ -552,9 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -566,22 +519,18 @@ public Builder mergeFrom( 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; @@ -590,23 +539,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 { @@ -614,67 +560,54 @@ 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) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; 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() { - + location_ = getDefaultInstance().getLocation(); 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) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -682,21 +615,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; @@ -705,22 +636,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 { @@ -728,71 +658,64 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); 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; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -802,32 +725,30 @@ 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 { - return new CalculateStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +760,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java index 40e54fd5..4eb8ec0d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java index 052c91e8..8735fabe 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CalculateStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,129 +53,101 @@ private CalculateStatsResponse( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (averageDuration_ != null) { - subBuilder = averageDuration_.toBuilder(); - } - averageDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(averageDuration_); - averageDuration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (averageDuration_ != null) { + subBuilder = averageDuration_.toBuilder(); } - case 16: - { - averageTurnCount_ = input.readInt32(); - break; + averageDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(averageDuration_); + averageDuration_ = subBuilder.buildPartial(); } - case 24: - { - conversationCount_ = input.readInt32(); - break; + + break; + } + case 16: { + + averageTurnCount_ = input.readInt32(); + break; + } + case 24: { + + conversationCount_ = input.readInt32(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + smartHighlighterMatches_ = com.google.protobuf.MapField.newMapField( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - smartHighlighterMatches_ = - com.google.protobuf.MapField.newMapField( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - smartHighlighterMatches__ = - input.readMessage( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - smartHighlighterMatches_ - .getMutableMap() - .put(smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); - break; + com.google.protobuf.MapEntry + smartHighlighterMatches__ = input.readMessage( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + smartHighlighterMatches_.getMutableMap().put( + smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + customHighlighterMatches_ = com.google.protobuf.MapField.newMapField( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - case 42: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - customHighlighterMatches_ = - com.google.protobuf.MapField.newMapField( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry - customHighlighterMatches__ = - input.readMessage( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - customHighlighterMatches_ - .getMutableMap() - .put(customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); - break; + com.google.protobuf.MapEntry + customHighlighterMatches__ = input.readMessage( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + customHighlighterMatches_.getMutableMap().put( + customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + issueMatches_ = com.google.protobuf.MapField.newMapField( + IssueMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - issueMatches_ = - com.google.protobuf.MapField.newMapField( - IssueMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry issueMatches__ = - input.readMessage( - IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - issueMatches_.getMutableMap().put(issueMatches__.getKey(), issueMatches__.getValue()); - break; + com.google.protobuf.MapEntry + issueMatches__ = input.readMessage( + IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + issueMatches_.getMutableMap().put( + issueMatches__.getKey(), issueMatches__.getValue()); + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder subBuilder = null; + if (conversationCountTimeSeries_ != null) { + subBuilder = conversationCountTimeSeries_.toBuilder(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder - subBuilder = null; - if (conversationCountTimeSeries_ != null) { - subBuilder = conversationCountTimeSeries_.toBuilder(); - } - conversationCountTimeSeries_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationCountTimeSeries_); - conversationCountTimeSeries_ = subBuilder.buildPartial(); - } - - break; + conversationCountTimeSeries_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationCountTimeSeries_); + conversationCountTimeSeries_ = subBuilder.buildPartial(); } - case 66: - { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - issueMatchesStats_ = - com.google.protobuf.MapField.newMapField( - IssueMatchesStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; - } - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueMatchesStats__ = - input.readMessage( - IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - issueMatchesStats_ - .getMutableMap() - .put(issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); - break; + + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + issueMatchesStats_ = com.google.protobuf.MapField.newMapField( + IssueMatchesStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + issueMatchesStats__ = input.readMessage( + IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + issueMatchesStats_.getMutableMap().put( + issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -199,21 +155,22 @@ private CalculateStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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(); @@ -224,52 +181,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.
      * 
@@ -279,118 +225,91 @@ 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; } - private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -410,44 +329,35 @@ private TimeSeries( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (intervalDuration_ != null) { - subBuilder = intervalDuration_.toBuilder(); - } - intervalDuration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(intervalDuration_); - intervalDuration_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (intervalDuration_ != null) { + subBuilder = intervalDuration_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse - .TimeSeries.Interval>(); - mutable_bitField0_ |= 0x00000001; - } - points_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval.parser(), - extensionRegistry)); - break; + intervalDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(intervalDuration_); + intervalDuration_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } + points_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,7 +365,8 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -464,55 +375,42 @@ private TimeSeries( makeExtensionsImmutable(); } } - - 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.
        * 
@@ -522,51 +420,46 @@ 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; } - private Interval( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -585,33 +478,31 @@ private Interval( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 16: - { - conversationCount_ = input.readInt32(); - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + conversationCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -619,42 +510,34 @@ private Interval( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -662,14 +545,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 @@ -677,8 +557,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
        * The start time of this interval.
        * 
@@ -693,14 +571,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 2; private int conversationCount_; /** - * - * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; - * * @return The conversationCount. */ @java.lang.Override @@ -709,7 +584,6 @@ public int getConversationCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -721,7 +595,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()); } @@ -738,10 +613,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -751,22 +628,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -789,116 +664,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 @@ -908,53 +755,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -970,23 +808,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); } @@ -994,12 +828,8 @@ 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); + 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 (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -1014,59 +844,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -1088,15 +905,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1108,47 +921,34 @@ public Builder mergeFrom( 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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
          * 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.
          * 
@@ -1169,15 +969,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(); onChanged(); @@ -1188,8 +987,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -1200,9 +997,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1214,8 +1009,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -1234,8 +1027,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
          * The start time of this interval.
          * 
@@ -1243,13 +1034,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
          * The start time of this interval.
          * 
@@ -1260,14 +1049,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.
          * 
@@ -1275,32 +1061,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 @@ -1308,41 +1088,34 @@ 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; onChanged(); return this; } /** - * - * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; - * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1355,36 +1128,30 @@ 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 { - return new Interval(input, extensionRegistry); - } - }; + 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 { + return new Interval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,23 +1163,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 @@ -1420,25 +1184,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.
      * 
@@ -1451,106 +1208,76 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { } public static final int POINTS_FIELD_NUMBER = 2; - 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; @@ -1562,7 +1289,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()); } @@ -1579,10 +1307,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1592,20 +1322,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1630,101 +1360,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 @@ -1734,52 +1451,45 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1799,22 +1509,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); } @@ -1822,10 +1529,8 @@ 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); int from_bitField0_ = bitField0_; if (intervalDurationBuilder_ == null) { result.intervalDuration_ = intervalDuration_; @@ -1849,55 +1554,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri 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()); } @@ -1919,10 +1615,9 @@ public Builder mergeFrom( pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPointsFieldBuilder() - : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPointsFieldBuilder() : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -1943,14 +1638,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1959,52 +1651,38 @@ public Builder mergeFrom( } 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 intervalDurationBuilder_ != null || intervalDuration_ != null; } /** - * - * *
        * 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.
        * 
@@ -2025,15 +1703,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(); onChanged(); @@ -2044,8 +1721,6 @@ public Builder setIntervalDuration(com.google.protobuf.Duration.Builder builderF return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -2056,9 +1731,7 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { if (intervalDurationBuilder_ == null) { if (intervalDuration_ != null) { intervalDuration_ = - com.google.protobuf.Duration.newBuilder(intervalDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(intervalDuration_).mergeFrom(value).buildPartial(); } else { intervalDuration_ = value; } @@ -2070,8 +1743,6 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -2090,8 +1761,6 @@ public Builder clearIntervalDuration() { return this; } /** - * - * *
        * The duration of each interval.
        * 
@@ -2099,13 +1768,11 @@ public Builder clearIntervalDuration() { * .google.protobuf.Duration interval_duration = 1; */ public com.google.protobuf.Duration.Builder getIntervalDurationBuilder() { - + onChanged(); return getIntervalDurationFieldBuilder().getBuilder(); } /** - * - * *
        * The duration of each interval.
        * 
@@ -2116,14 +1783,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.
        * 
@@ -2131,60 +1795,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_ & 0x00000001) != 0)) { - points_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .Interval>(points_); + points_ = new java.util.ArrayList(points_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2192,17 +1837,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) { @@ -2212,20 +1853,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 { @@ -2233,22 +1869,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(); @@ -2262,23 +1892,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()); @@ -2289,21 +1912,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(); @@ -2317,22 +1934,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(); @@ -2346,22 +1957,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()); @@ -2372,23 +1977,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()); @@ -2399,27 +1997,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); @@ -2427,17 +2018,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) { @@ -2450,17 +2037,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) { @@ -2473,63 +2056,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 { @@ -2537,90 +2102,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_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); points_ = null; } return pointsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2633,33 +2167,30 @@ 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 { - return new TimeSeries(input, extensionRegistry); - } - }; + 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 { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2671,24 +2202,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 @@ -2696,26 +2224,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.
@@ -2731,14 +2252,11 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
   public static final int AVERAGE_TURN_COUNT_FIELD_NUMBER = 2;
   private int averageTurnCount_;
   /**
-   *
-   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; - * * @return The averageTurnCount. */ @java.lang.Override @@ -2749,14 +2267,11 @@ public int getAverageTurnCount() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 3; private int conversationCount_; /** - * - * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; - * * @return The conversationCount. */ @java.lang.Override @@ -2765,23 +2280,21 @@ 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); } - - private com.google.protobuf.MapField - smartHighlighterMatches_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> smartHighlighterMatches_; private com.google.protobuf.MapField - internalGetSmartHighlighterMatches() { + internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { return com.google.protobuf.MapField.emptyMapField( SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); @@ -2793,8 +2306,6 @@ 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.
@@ -2802,22 +2313,22 @@ 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.
@@ -2826,12 +2337,11 @@ public java.util.Map getSmartHighlighterMat
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
+
   public java.util.Map getSmartHighlighterMatchesMap() {
     return internalGetSmartHighlighterMatches().getMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2840,17 +2350,16 @@ 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.
@@ -2859,10 +2368,10 @@ 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)) {
@@ -2872,23 +2381,21 @@ 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);
   }
-
-  private com.google.protobuf.MapField
-      customHighlighterMatches_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.Integer> customHighlighterMatches_;
   private com.google.protobuf.MapField
-      internalGetCustomHighlighterMatches() {
+  internalGetCustomHighlighterMatches() {
     if (customHighlighterMatches_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
@@ -2900,8 +2407,6 @@ 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.
@@ -2909,22 +2414,22 @@ 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.
@@ -2933,12 +2438,11 @@ public java.util.Map getCustomHighlighterMa
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
+
   public java.util.Map getCustomHighlighterMatchesMap() {
     return internalGetCustomHighlighterMatches().getMap();
   }
   /**
-   *
-   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2947,17 +2451,16 @@ 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.
@@ -2966,10 +2469,10 @@ 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)) {
@@ -2979,36 +2482,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);
   }
-
-  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
+  @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:
@@ -3018,23 +2517,22 @@ public int getIssueMatchesCount() {
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated
+  @java.lang.Deprecated 
   @java.lang.Override
-  public boolean containsIssueMatches(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  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:
@@ -3045,13 +2543,11 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
+  @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:
@@ -3062,17 +2558,16 @@ 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:
@@ -3083,12 +2578,12 @@ 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();
     }
@@ -3096,34 +2591,21 @@ 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());
   }
-
-  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);
@@ -3135,104 +2617,78 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -3240,20 +2696,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 @@ -3261,47 +2711,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() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder getConversationCountTimeSeriesOrBuilder() { return getConversationCountTimeSeries(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3313,7 +2748,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()); } @@ -3323,22 +2759,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, @@ -3353,65 +2796,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3421,30 +2859,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3491,121 +2933,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(); @@ -3616,12 +3051,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(); @@ -3632,18 +3068,16 @@ 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() @@ -3651,15 +3085,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3687,14 +3122,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(); } @@ -3709,8 +3143,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); int from_bitField0_ = bitField0_; if (averageDurationBuilder_ == null) { result.averageDuration_ = averageDuration_; @@ -3740,50 +3173,46 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse buildPar 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()); } @@ -3793,12 +3222,14 @@ public Builder mergeFrom( if (other.getConversationCount() != 0) { setConversationCount(other.getConversationCount()); } - internalGetMutableSmartHighlighterMatches() - .mergeFrom(other.internalGetSmartHighlighterMatches()); - internalGetMutableCustomHighlighterMatches() - .mergeFrom(other.internalGetCustomHighlighterMatches()); - internalGetMutableIssueMatches().mergeFrom(other.internalGetIssueMatches()); - internalGetMutableIssueMatchesStats().mergeFrom(other.internalGetIssueMatchesStats()); + internalGetMutableSmartHighlighterMatches().mergeFrom( + other.internalGetSmartHighlighterMatches()); + internalGetMutableCustomHighlighterMatches().mergeFrom( + other.internalGetCustomHighlighterMatches()); + internalGetMutableIssueMatches().mergeFrom( + other.internalGetIssueMatches()); + internalGetMutableIssueMatchesStats().mergeFrom( + other.internalGetIssueMatchesStats()); if (other.hasConversationCountTimeSeries()) { mergeConversationCountTimeSeries(other.getConversationCountTimeSeries()); } @@ -3821,9 +3252,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3832,54 +3261,40 @@ public Builder mergeFrom( } 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 averageDurationBuilder_ != null || 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. */ 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.
@@ -3901,8 +3316,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.
@@ -3910,7 +3323,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();
         onChanged();
@@ -3921,8 +3335,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.
@@ -3934,9 +3346,7 @@ public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       if (averageDurationBuilder_ == null) {
         if (averageDuration_ != null) {
           averageDuration_ =
-              com.google.protobuf.Duration.newBuilder(averageDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(averageDuration_).mergeFrom(value).buildPartial();
         } else {
           averageDuration_ = value;
         }
@@ -3948,8 +3358,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.
@@ -3969,8 +3377,6 @@ public Builder clearAverageDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3979,13 +3385,11 @@ public Builder clearAverageDuration() {
      * .google.protobuf.Duration average_duration = 1;
      */
     public com.google.protobuf.Duration.Builder getAverageDurationBuilder() {
-
+      
       onChanged();
       return getAverageDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3997,14 +3401,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.
@@ -4013,32 +3414,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 @@ -4046,51 +3441,42 @@ 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; onChanged(); return this; } /** - * - * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; - * * @return This builder for chaining. */ public Builder clearAverageTurnCount() { - + averageTurnCount_ = 0; onChanged(); return this; } - private int conversationCount_; + private int conversationCount_ ; /** - * - * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; - * * @return The conversationCount. */ @java.lang.Override @@ -4098,61 +3484,51 @@ 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; onChanged(); return this; } /** - * - * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; - * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); 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() { + internalGetSmartHighlighterMatches() { if (smartHighlighterMatches_ == null) { return com.google.protobuf.MapField.emptyMapField( SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); } return smartHighlighterMatches_; } - private com.google.protobuf.MapField - internalGetMutableSmartHighlighterMatches() { - onChanged(); - ; + internalGetMutableSmartHighlighterMatches() { + onChanged();; 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(); @@ -4164,8 +3540,6 @@ 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.
@@ -4173,22 +3547,22 @@ 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.
@@ -4197,12 +3571,11 @@ public java.util.Map getSmartHighlighterMat
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
+
     public java.util.Map getSmartHighlighterMatchesMap() {
       return internalGetSmartHighlighterMatches().getMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4211,17 +3584,16 @@ 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.
@@ -4230,10 +3602,10 @@ 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)) {
@@ -4243,12 +3615,11 @@ public int getSmartHighlighterMatchesOrThrow(java.lang.String key) {
     }
 
     public Builder clearSmartHighlighterMatches() {
-      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.
@@ -4256,21 +3627,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() {
       return internalGetMutableSmartHighlighterMatches().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4278,17 +3651,16 @@ 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);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -4296,32 +3668,30 @@ public Builder putSmartHighlighterMatches(java.lang.String key, int value) {
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
+
     public Builder putAllSmartHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableSmartHighlighterMatches().getMutableMap().putAll(values);
+      internalGetMutableSmartHighlighterMatches().getMutableMap()
+          .putAll(values);
       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() {
+    internalGetCustomHighlighterMatches() {
       if (customHighlighterMatches_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             CustomHighlighterMatchesDefaultEntryHolder.defaultEntry);
       }
       return customHighlighterMatches_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableCustomHighlighterMatches() {
-      onChanged();
-      ;
+    internalGetMutableCustomHighlighterMatches() {
+      onChanged();;
       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();
@@ -4333,8 +3703,6 @@ 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.
@@ -4342,22 +3710,22 @@ 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.
@@ -4366,12 +3734,11 @@ public java.util.Map getCustomHighlighterMa
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
+
     public java.util.Map getCustomHighlighterMatchesMap() {
       return internalGetCustomHighlighterMatches().getMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4380,17 +3747,16 @@ 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.
@@ -4399,10 +3765,10 @@ 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)) {
@@ -4412,12 +3778,11 @@ public int getCustomHighlighterMatchesOrThrow(java.lang.String key) {
     }
 
     public Builder clearCustomHighlighterMatches() {
-      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.
@@ -4425,21 +3790,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() {
       return internalGetMutableCustomHighlighterMatches().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4447,17 +3814,16 @@ 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);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -4465,44 +3831,41 @@ public Builder putCustomHighlighterMatches(java.lang.String key, int value) {
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
+
     public Builder putAllCustomHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableCustomHighlighterMatches().getMutableMap().putAll(values);
+      internalGetMutableCustomHighlighterMatches().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    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_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableIssueMatches() {
-      onChanged();
-      ;
+    internalGetMutableIssueMatches() {
+      onChanged();;
       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();
       }
       return issueMatches_;
     }
-
-    @java.lang.Deprecated
+    @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:
@@ -4512,23 +3875,22 @@ public int getIssueMatchesCount() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated
+    @java.lang.Deprecated 
     @java.lang.Override
-    public boolean containsIssueMatches(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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:
@@ -4539,13 +3901,11 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated
+    @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:
@@ -4556,17 +3916,16 @@ 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:
@@ -4577,26 +3936,24 @@ 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
+    @java.lang.Deprecated 
     public Builder clearIssueMatches() {
-      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:
@@ -4606,22 +3963,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() {
       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:
@@ -4631,18 +3989,16 @@ 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);
       return this;
     }
     /**
-     *
-     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4652,38 +4008,30 @@ 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);
       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>
-        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_;
     }
-
-    private com.google.protobuf.MapField<
-            java.lang.String,
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
-        internalGetMutableIssueMatchesStats() {
-      onChanged();
-      ;
+    private com.google.protobuf.MapField
+    internalGetMutableIssueMatchesStats() {
+      onChanged();;
       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();
@@ -4695,105 +4043,78 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueMatchesStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -4801,148 +4122,113 @@ public boolean containsIssueMatchesStats(java.lang.String key) { } public Builder clearIssueMatchesStats() { - 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> - getMutableIssueMatchesStats() { + public java.util.Map + getMutableIssueMatchesStats() { 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 (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableIssueMatchesStats().getMutableMap().put(key, value); + internalGetMutableIssueMatchesStats().getMutableMap() + .put(key, value); 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); 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 conversationCountTimeSeriesBuilder_ != null || 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. */ - 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(); @@ -4956,20 +4242,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(); onChanged(); @@ -4980,26 +4261,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 (conversationCountTimeSeries_ != null) { conversationCountTimeSeries_ = - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries - .newBuilder(conversationCountTimeSeries_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder(conversationCountTimeSeries_).mergeFrom(value).buildPartial(); } else { conversationCountTimeSeries_ = value; } @@ -5011,16 +4284,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() { if (conversationCountTimeSeriesBuilder_ == null) { @@ -5034,78 +4303,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() { + 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); } @@ -5115,32 +4364,30 @@ 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 { - return new CalculateStatsResponse(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5152,8 +4399,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java index fe7ed431..2093c6c8 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java +++ b/owl-bot-staging/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,11 @@ 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 +112,11 @@ 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 +126,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 +133,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 +149,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 +159,11 @@ 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 +171,11 @@ 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 +185,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 +196,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 +214,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 +226,11 @@ 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,139 +240,103 @@ 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java index ebaa4b54..bf0ff36b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CallAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,187 +52,142 @@ private CallAnnotation( case 0: done = true; break; - case 8: - { - channelTag_ = input.readInt32(); - break; + case 8: { + + channelTag_ = input.readInt32(); + break; + } + case 34: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (annotationStartBoundary_ != null) { + subBuilder = annotationStartBoundary_.toBuilder(); + } + annotationStartBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationStartBoundary_); + annotationStartBoundary_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (annotationEndBoundary_ != null) { + subBuilder = annotationEndBoundary_.toBuilder(); + } + annotationEndBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationEndBoundary_); + annotationEndBoundary_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; + if (dataCase_ == 10) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; + } + case 90: { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (dataCase_ == 11) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 11; + break; + } + case 98: { + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; + if (dataCase_ == 12) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); } - case 34: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (annotationStartBoundary_ != null) { - subBuilder = annotationStartBoundary_.toBuilder(); - } - annotationStartBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationStartBoundary_); - annotationStartBoundary_ = subBuilder.buildPartial(); - } - - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); + data_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (annotationEndBoundary_ != null) { - subBuilder = annotationEndBoundary_.toBuilder(); - } - annotationEndBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationEndBoundary_); - annotationEndBoundary_ = subBuilder.buildPartial(); - } - - break; + dataCase_ = 12; + break; + } + case 106: { + com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; + if (dataCase_ == 13) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); } - case 82: - { - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; - if (dataCase_ == 10) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.HoldData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); + data_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (dataCase_ == 11) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 11; - break; + dataCase_ = 13; + break; + } + case 122: { + com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; + if (dataCase_ == 15) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_).toBuilder(); } - case 98: - { - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; - if (dataCase_ == 12) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 12; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); + data_ = subBuilder.buildPartial(); } - case 106: - { - com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; - if (dataCase_ == 13) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.HoldData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 13; - break; + dataCase_ = 15; + break; + } + case 130: { + com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; + if (dataCase_ == 16) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); } - case 122: - { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; - if (dataCase_ == 15) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 15; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); + data_ = subBuilder.buildPartial(); } - case 130: - { - com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; - if (dataCase_ == 16) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 16; - break; + dataCase_ = 16; + break; + } + case 138: { + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; + if (dataCase_ == 17) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); } - case 138: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; - if (dataCase_ == 17) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 17; - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); + data_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataCase_ = 17; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -256,34 +195,30 @@ private CallAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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), @@ -294,7 +229,6 @@ public enum DataCase PHRASE_MATCH_DATA(17), DATA_NOT_SET(0); private final int value; - private DataCase(int value) { this.value = value; } @@ -310,46 +244,35 @@ 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 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 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 @@ -357,26 +280,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.
    * 
@@ -384,24 +302,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 @@ -409,26 +323,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.
    * 
@@ -436,24 +345,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 @@ -461,26 +366,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.
    * 
@@ -490,21 +390,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 @@ -512,26 +409,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.
    * 
@@ -541,21 +433,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 @@ -563,26 +452,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.
    * 
@@ -590,24 +474,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 @@ -615,26 +495,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.
    * 
@@ -642,24 +517,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 @@ -667,26 +538,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.
    * 
@@ -694,10 +560,9 @@ 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(); } @@ -705,15 +570,12 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchD public static final int CHANNEL_TAG_FIELD_NUMBER = 1; 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 @@ -724,15 +586,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 @@ -740,51 +598,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationStartBoundaryOrBuilder() { return getAnnotationStartBoundary(); } 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 @@ -792,41 +636,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getAnnotationEndBoundaryOrBuilder() { return getAnnotationEndBoundary(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -838,7 +671,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_); } @@ -879,50 +713,44 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -932,45 +760,54 @@ 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 0: default: @@ -1034,127 +871,117 @@ 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() @@ -1162,15 +989,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1194,9 +1022,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 @@ -1215,8 +1043,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CallAnnotation result = new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); if (dataCase_ == 10) { if (interruptionDataBuilder_ == null) { result.data_ = data_; @@ -1286,39 +1113,38 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation 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.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; @@ -1326,8 +1152,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()); } @@ -1338,45 +1163,37 @@ 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 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 DATA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1397,8 +1214,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1407,12 +1223,12 @@ public Builder mergeFrom( } 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() { @@ -1422,20 +1238,15 @@ public Builder clearData() { return this; } + 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 @@ -1443,14 +1254,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 @@ -1468,16 +1276,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(); @@ -1491,8 +1296,6 @@ public Builder setInterruptionData( return this; } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1511,26 +1314,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; } @@ -1546,8 +1341,6 @@ public Builder mergeInterruptionData( return this; } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1571,21 +1364,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.
      * 
@@ -1593,8 +1381,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 { @@ -1605,8 +1392,6 @@ public Builder clearInterruptionData() { } } /** - * - * *
      * Data specifying an interruption.
      * 
@@ -1614,44 +1399,32 @@ 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()); data_ = null; } dataCase_ = 10; - onChanged(); - ; + onChanged();; return interruptionDataBuilder_; } 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 @@ -1659,14 +1432,11 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** - * - * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; - * * @return The sentimentData. */ @java.lang.Override @@ -1684,8 +1454,6 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1706,8 +1474,6 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1726,25 +1492,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; } @@ -1760,8 +1519,6 @@ public Builder mergeSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1785,21 +1542,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.
      * 
@@ -1807,8 +1559,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 { @@ -1819,8 +1570,6 @@ public Builder clearSentimentData() { } } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -1828,44 +1577,32 @@ 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()); data_ = null; } dataCase_ = 11; - onChanged(); - ; + onChanged();; return sentimentDataBuilder_; } 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 @@ -1873,14 +1610,11 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** - * - * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; - * * @return The silenceData. */ @java.lang.Override @@ -1898,8 +1632,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { } } /** - * - * *
      * Data specifying silence.
      * 
@@ -1920,8 +1652,6 @@ public Builder setSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceD return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1940,8 +1670,6 @@ public Builder setSilenceData( return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1950,14 +1678,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; } @@ -1973,8 +1697,6 @@ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.Silenc return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -1998,8 +1720,6 @@ public Builder clearSilenceData() { return this; } /** - * - * *
      * Data specifying silence.
      * 
@@ -2010,8 +1730,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD return getSilenceDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying silence.
      * 
@@ -2019,8 +1737,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 { @@ -2031,8 +1748,6 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD } } /** - * - * *
      * Data specifying silence.
      * 
@@ -2040,44 +1755,32 @@ 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()); data_ = null; } dataCase_ = 12; - onChanged(); - ; + onChanged();; return silenceDataBuilder_; } 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 @@ -2085,14 +1788,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 @@ -2110,8 +1810,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { } } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2132,8 +1830,6 @@ public Builder setHoldData(com.google.cloud.contactcenterinsights.v1.HoldData va return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2152,8 +1848,6 @@ public Builder setHoldData( return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2162,13 +1856,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; } @@ -2184,8 +1875,6 @@ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2209,8 +1898,6 @@ public Builder clearHoldData() { return this; } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2221,8 +1908,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldData.Builder getHoldDataBui return getHoldDataFieldBuilder().getBuilder(); } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2241,8 +1926,6 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } } /** - * - * *
      * Data specifying a hold.
      * 
@@ -2250,45 +1933,32 @@ 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()); data_ = null; } dataCase_ = 13; - onChanged(); - ; + onChanged();; return holdDataBuilder_; } 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 @@ -2296,15 +1966,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 @@ -2322,17 +1988,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(); @@ -2346,14 +2008,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) { @@ -2367,27 +2026,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; } @@ -2403,14 +2053,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) { @@ -2429,32 +2076,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 { @@ -2465,54 +2104,39 @@ 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()); data_ = null; } dataCase_ = 15; - onChanged(); - ; + onChanged();; return entityMentionDataBuilder_; } 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 @@ -2520,14 +2144,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 @@ -2545,16 +2166,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(); @@ -2568,8 +2186,6 @@ public Builder setIntentMatchData( return this; } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2588,25 +2204,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; } @@ -2622,8 +2231,6 @@ public Builder mergeIntentMatchData( return this; } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2647,21 +2254,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.
      * 
@@ -2669,8 +2271,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 { @@ -2681,8 +2282,6 @@ public Builder clearIntentMatchData() { } } /** - * - * *
      * Data specifying an intent match.
      * 
@@ -2690,44 +2289,32 @@ 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()); data_ = null; } dataCase_ = 16; - onChanged(); - ; + onChanged();; return intentMatchDataBuilder_; } 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 @@ -2735,14 +2322,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 @@ -2760,16 +2344,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(); @@ -2783,8 +2364,6 @@ public Builder setPhraseMatchData( return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2803,25 +2382,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; } @@ -2837,8 +2409,6 @@ public Builder mergePhraseMatchData( return this; } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2862,21 +2432,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.
      * 
@@ -2884,8 +2449,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 { @@ -2896,8 +2460,6 @@ public Builder clearPhraseMatchData() { } } /** - * - * *
      * Data specifying a phrase match.
      * 
@@ -2905,41 +2467,32 @@ 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()); data_ = null; } dataCase_ = 17; - onChanged(); - ; + onChanged();; return phraseMatchDataBuilder_; } - 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 @@ -2947,38 +2500,32 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -2986,62 +2533,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 annotationStartBoundaryBuilder_ != null || 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. */ - 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(); @@ -3055,15 +2581,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) { @@ -3077,25 +2599,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 (annotationStartBoundary_ != null) { annotationStartBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( - annotationStartBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationStartBoundary_).mergeFrom(value).buildPartial(); } else { annotationStartBoundary_ = value; } @@ -3107,15 +2621,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() { if (annotationStartBoundaryBuilder_ == null) { @@ -3129,66 +2639,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() { + 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_; @@ -3196,58 +2688,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 annotationEndBoundaryBuilder_ != null || 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. */ 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(); @@ -3261,14 +2736,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) { @@ -3282,24 +2754,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 (annotationEndBoundary_ != null) { annotationEndBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( - annotationEndBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationEndBoundary_).mergeFrom(value).buildPartial(); } else { annotationEndBoundary_ = value; } @@ -3311,14 +2776,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() { if (annotationEndBoundaryBuilder_ == null) { @@ -3332,70 +2794,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() { + 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); } @@ -3405,12 +2852,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(); } @@ -3419,16 +2866,16 @@ 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 { - return new CallAnnotation(input, extensionRegistry); - } - }; + 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 { + return new CallAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3443,4 +2890,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java similarity index 83% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java index d584c2a6..865ef46a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java +++ b/owl-bot-staging/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,96 +197,69 @@ public interface CallAnnotationOrBuilder com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder(); /** - * - * *
    * 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java new file mode 100644 index 00000000..84a9d35e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java @@ -0,0 +1,1121 @@ +// 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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022N\n\014conversation\030\002 \001(" + + "\01323.google.cloud.contactcenterinsights.v" + + "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" + + " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" + + "ent\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.contactcenterinsights.v" + + "1.ConversationView\"\200\001\n\031ListConversations" + + "Response\022J\n\rconversations\030\001 \003(\01323.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" + + "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" + + "contactcenterinsights.googleapis.com/Con" + + "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" + + "ontactcenterinsights.v1.ConversationView" + + "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" + + "sation\030\001 \001(\01323.google.cloud.contactcente" + + "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + + "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" + + "(\tB9\340A\002\372A3\n1contactcenterinsights.google" + + "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" + + "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" + + "\340A\002\372A3\n1contactcenterinsights.googleapis" + + ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" + + "ogle.cloud.contactcenterinsights.v1.Anal" + + "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" + + "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" + + ".googleapis.com/Conversation\022\021\n\tpage_siz" + + "e\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.contactcenterinsigh" + + "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" + + "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + + "\372A/\n-contactcenterinsights.googleapis.co" + + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" + + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" + + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" + + "htsDataRequest\022u\n\025big_query_destination\030" + + "\002 \001(\0132T.google.cloud.contactcenterinsigh" + + "ts.v1.ExportInsightsDataRequest.BigQuery" + + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" + + "ocations.googleapis.com/Location\022\016\n\006filt" + + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" + + "sition\030\005 \001(\0162Q.google.cloud.contactcente" + + "rinsights.v1.ExportInsightsDataRequest.W" + + "riteDisposition\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\035W" + + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" + + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" + + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" + + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" + + "oogle.cloud.contactcenterinsights.v1.Exp" + + "ortInsightsDataRequest\022*\n\016partial_errors" + + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" + + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" + + "uest\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.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" + + "lMetadata\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\022O\n\007re" + + "quest\030\003 \001(\0132>.google.cloud.contactcenter" + + "insights.v1.CreateIssueModelRequest\"\227\001\n\027" + + "UpdateIssueModelRequest\022K\n\013issue_model\030\001" + + " \001(\01321.google.cloud.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" + + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\"b\n\027Li" + + "stIssueModelsResponse\022G\n\014issue_models\030\001 " + + "\003(\01321.google.cloud.contactcenterinsights" + + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" + + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" + + "hts.googleapis.com/IssueModel\"`\n\027DeleteI" + + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "contactcenterinsights.googleapis.com/Iss" + + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" + + "create_time\030\001 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" + + ".google.cloud.contactcenterinsights.v1.D" + + "eleteIssueModelRequest\"`\n\027DeployIssueMod" + + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" + + "centerinsights.googleapis.com/IssueModel" + + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" + + "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.DeployIssueModelRequ" + + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" + + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" + + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" + + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" + + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" + + "\030\003 \001(\0132@.google.cloud.contactcenterinsig" + + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" + + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" + + "ctcenterinsights.googleapis.com/Issue\"\\\n" + + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" + + "A1\n/contactcenterinsights.googleapis.com" + + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" + + "ues\030\001 \003(\0132,.google.cloud.contactcenterin" + + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" + + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" + + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" + + "culateIssueModelStatsRequest\022L\n\013issue_mo" + + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + + ".googleapis.com/IssueModel\"v\n CalculateI" + + "ssueModelStatsResponse\022R\n\rcurrent_stats\030" + + "\004 \001(\0132;.google.cloud.contactcenterinsigh" + + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" + + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022Q\n\016" + + "phrase_matcher\030\002 \001(\01324.google.cloud.cont" + + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" + + "\215\001\n\031ListPhraseMatchersRequest\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_toke" + + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" + + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" + + "4.google.cloud.contactcenterinsights.v1." + + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" + + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" + + ":\340A\002\372A4\n2contactcenterinsights.googleapi" + + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" + + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" + + "centerinsights.googleapis.com/PhraseMatc" + + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" + + "rase_matcher\030\001 \001(\01324.google.cloud.contac" + + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" + + "(\tB5\340A\002\372A/\n-contactcenterinsights.google" + + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" + + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" + + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" + + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" + + "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." + + "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" + + "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" + + "actcenterinsights.googleapis.com/View\"t\n" + + "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" + + "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" + + ".cloud.contactcenterinsights.v1.View\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" + + "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" + + "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" + + "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + + ")contactcenterinsights.googleapis.com/Vi" + + "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" + + "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" + + ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" + + "rsation\022@.google.cloud.contactcenterinsi" + + "ghts.v1.CreateConversationRequest\0323.goog" + + "le.cloud.contactcenterinsights.v1.Conver" + + "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" + + "ocations/*}/conversations:\014conversation\332" + + "A#parent,conversation,conversation_id\022\374\001" + + "\n\022UpdateConversation\022@.google.cloud.cont" + + "actcenterinsights.v1.UpdateConversationR" + + "equest\0323.google.cloud.contactcenterinsig" + + "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" + + "sation.name=projects/*/locations/*/conve" + + "rsations/*}:\014conversation\332A\030conversation" + + ",update_mask\022\307\001\n\017GetConversation\022=.googl" + + "e.cloud.contactcenterinsights.v1.GetConv" + + "ersationRequest\0323.google.cloud.contactce" + + "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" + + "oogle.cloud.contactcenterinsights.v1.Lis" + + "tConversationsRequest\032@.google.cloud.con" + + "tactcenterinsights.v1.ListConversationsR" + + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" + + "locations/*}/conversations\332A\006parent\022\260\001\n\022" + + "DeleteConversation\022@.google.cloud.contac" + + "tcenterinsights.v1.DeleteConversationReq" + + "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" + + "le.cloud.contactcenterinsights.v1.Create" + + "AnalysisRequest\032\035.google.longrunning.Ope" + + "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" + + "loud.contactcenterinsights.v1.CreateIssu" + + "eModelRequest\032\035.google.longrunning.Opera" + + "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" + + "cations/*}/issueModels:\013issue_model\332A\022pa" + + "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" + + "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" + + ".google.cloud.contactcenterinsights.v1.U" + + "pdateIssueModelRequest\0321.google.cloud.co" + + "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" + + "J2;/v1/{issue_model.name=projects/*/loca" + + "tions/*/issueModels/*}:\013issue_model\332A\027is" + + "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" + + ";.google.cloud.contactcenterinsights.v1." + + "GetIssueModelRequest\0321.google.cloud.cont" + + "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" + + "//v1/{name=projects/*/locations/*/issueM" + + "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" + + "ogle.cloud.contactcenterinsights.v1.List" + + "IssueModelsRequest\032>.google.cloud.contac" + + "tcenterinsights.v1.ListIssueModelsRespon" + + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" + + "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" + + "ssueModel\022>.google.cloud.contactcenterin" + + "sights.v1.DeleteIssueModelRequest\032\035.goog" + + "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" + + "ame=projects/*/locations/*/issueModels/*" + + "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" + + "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" + + "l\022>.google.cloud.contactcenterinsights.v" + + "1.DeployIssueModelRequest\032\035.google.longr" + + "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" + + "ects/*/locations/*/issueModels/*}:deploy" + + ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" + + "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" + + "sueModel\022@.google.cloud.contactcenterins" + + "ights.v1.UndeployIssueModelRequest\032\035.goo" + + "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" + + "{name=projects/*/locations/*/issueModels" + + "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" + + "ModelResponse\022\032UndeployIssueModelMetadat" + + "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" + + "terinsights.v1.GetIssueRequest\032,.google." + + "cloud.contactcenterinsights.v1.Issue\"G\202\323" + + "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" + + "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" + + "sues\0228.google.cloud.contactcenterinsight" + + "s.v1.ListIssuesRequest\0329.google.cloud.co" + + "ntactcenterinsights.v1.ListIssuesRespons" + + "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" + + "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" + + "\013UpdateIssue\0229.google.cloud.contactcente" + + "rinsights.v1.UpdateIssueRequest\032,.google" + + ".cloud.contactcenterinsights.v1.Issue\"a\202" + + "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" + + "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" + + "ssue,update_mask\022\222\002\n\030CalculateIssueModel" + + "Stats\022F.google.cloud.contactcenterinsigh" + + "ts.v1.CalculateIssueModelStatsRequest\032G." + + "google.cloud.contactcenterinsights.v1.Ca" + + "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" + + "/v1/{issue_model=projects/*/locations/*/" + + "issueModels/*}:calculateIssueModelStats\332" + + "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." + + "google.cloud.contactcenterinsights.v1.Cr" + + "eatePhraseMatcherRequest\0324.google.cloud." + + "contactcenterinsights.v1.PhraseMatcher\"b" + + "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" + + "/*}/phraseMatchers:\016phrase_matcher\332A\025par" + + "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" + + ">.google.cloud.contactcenterinsights.v1." + + "GetPhraseMatcherRequest\0324.google.cloud.c" + + "ontactcenterinsights.v1.PhraseMatcher\"A\202" + + "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" + + "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" + + "atchers\022@.google.cloud.contactcenterinsi" + + "ghts.v1.ListPhraseMatchersRequest\032A.goog" + + "le.cloud.contactcenterinsights.v1.ListPh" + + "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" + + "t=projects/*/locations/*}/phraseMatchers" + + "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" + + "le.cloud.contactcenterinsights.v1.Delete" + + "PhraseMatcherRequest\032\026.google.protobuf.E" + + "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" + + "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" + + "tePhraseMatcher\022A.google.cloud.contactce" + + "nterinsights.v1.UpdatePhraseMatcherReque" + + "st\0324.google.cloud.contactcenterinsights." + + "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" + + "tcher.name=projects/*/locations/*/phrase" + + "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" + + "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" + + "ogle.cloud.contactcenterinsights.v1.Calc" + + "ulateStatsRequest\032=.google.cloud.contact" + + "centerinsights.v1.CalculateStatsResponse" + + "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" + + "ions/*}/conversations:calculateStats\332A\010l" + + "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" + + "ontactcenterinsights.v1.GetSettingsReque" + + "st\032/.google.cloud.contactcenterinsights." + + "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" + + "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" + + "eSettings\022<.google.cloud.contactcenterin" + + "sights.v1.UpdateSettingsRequest\032/.google" + + ".cloud.contactcenterinsights.v1.Settings" + + "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" + + "locations/*/settings}:\010settings\332A\024settin" + + "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" + + "loud.contactcenterinsights.v1.CreateView" + + "Request\032+.google.cloud.contactcenterinsi" + + "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" + + "ts/*/locations/*}/views:\004view\332A\013parent,v" + + "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" + + "nterinsights.v1.GetViewRequest\032+.google." + + "cloud.contactcenterinsights.v1.View\"8\202\323\344" + + "\223\002+\022)/v1/{name=projects/*/locations/*/vi" + + "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" + + "ud.contactcenterinsights.v1.ListViewsReq" + + "uest\0328.google.cloud.contactcenterinsight" + + "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" + + "ent=projects/*/locations/*}/views\332A\006pare" + + "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" + + "centerinsights.v1.UpdateViewRequest\032+.go" + + "ogle.cloud.contactcenterinsights.v1.View", + "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" + + "tions/*/views/*}:\004view\332A\020view,update_mas" + + "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" + + "enterinsights.v1.DeleteViewRequest\032\026.goo" + + "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" + + "ojects/*/locations/*/views/*}\332A\004name\032X\312A" + + "$contactcenterinsights.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\240\002\n)com.google.cloud.contactcente" + + "rinsights.v1B\032ContactCenterInsightsProto" + + "P\001ZZgoogle.golang.org/genproto/googleapi" + + "s/cloud/contactcenterinsights/v1;contact" + + "centerinsights\252\002%Google.Cloud.ContactCen" + + "terInsights.V1\312\002%Google\\Cloud\\ContactCen" + + "terInsights\\V1\352\002(Google::Cloud::ContactC" + + "enterInsights::V1b\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", }); + 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_CreateAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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_ExportInsightsDataRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + 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(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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_CalculateIssueModelStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + 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(36); + 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(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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(42); + 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(43); + 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(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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(49); + 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(50); + 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java index 22af8dc9..1ea5782f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java +++ b/owl-bot-staging/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,15 +30,16 @@ 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; } - private Conversation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -76,265 +59,216 @@ private Conversation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = null; + if (dataSource_ != null) { + subBuilder = dataSource_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = - null; - if (dataSource_ != null) { - subBuilder = dataSource_.toBuilder(); - } - dataSource_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataSource_); - dataSource_ = subBuilder.buildPartial(); - } - - break; + dataSource_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataSource_); + dataSource_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - agentId_ = s; - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + agentId_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder subBuilder = null; + if (metadataCase_ == 7) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_).toBuilder(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder - subBuilder = null; - if (metadataCase_ == 7) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - metadata_) - .toBuilder(); - } - metadata_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - metadata_); - metadata_ = subBuilder.buildPartial(); - } - metadataCase_ = 7; - break; + metadata_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); + metadata_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = - null; - if (transcript_ != null) { - subBuilder = transcript_.toBuilder(); - } - transcript_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transcript_); - transcript_ = subBuilder.buildPartial(); - } - - break; + metadataCase_ = 7; + break; + } + case 66: { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = null; + if (transcript_ != null) { + subBuilder = transcript_.toBuilder(); } - case 72: - { - int rawValue = input.readEnum(); - - medium_ = rawValue; - break; + transcript_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transcript_); + transcript_ = subBuilder.buildPartial(); } - case 82: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); - } - break; + break; + } + case 72: { + int rawValue = input.readEnum(); + + medium_ = rawValue; + break; + } + case 82: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); } - case 88: - { - turnCount_ = input.readInt32(); - break; + duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); } - case 98: - { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (latestAnalysis_ != null) { - subBuilder = latestAnalysis_.toBuilder(); - } - latestAnalysis_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(latestAnalysis_); - latestAnalysis_ = subBuilder.buildPartial(); - } - break; + break; + } + case 88: { + + turnCount_ = input.readInt32(); + break; + } + case 98: { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (latestAnalysis_ != null) { + subBuilder = latestAnalysis_.toBuilder(); } - case 106: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - runtimeAnnotations_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation>(); - mutable_bitField0_ |= 0x00000002; - } - runtimeAnnotations_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), - extensionRegistry)); - break; + latestAnalysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(latestAnalysis_); + latestAnalysis_ = subBuilder.buildPartial(); } - case 114: - { - java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; + break; + } + case 106: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + runtimeAnnotations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 122: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationCase_ == 15) { - subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); - } - expiration_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); - expiration_ = subBuilder.buildPartial(); - } - expirationCase_ = 15; - break; + runtimeAnnotations_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), extensionRegistry)); + break; + } + case 114: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + case 122: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationCase_ == 15) { + subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); } - case 130: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (expirationCase_ == 16) { - subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); - } - expiration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); - expiration_ = subBuilder.buildPartial(); - } - expirationCase_ = 16; - break; + expiration_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); + expiration_ = subBuilder.buildPartial(); } - case 138: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + expirationCase_ = 15; + break; + } + case 130: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (expirationCase_ == 16) { + subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); } - case 146: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dialogflowIntents_ = - com.google.protobuf.MapField.newMapField( - DialogflowIntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - dialogflowIntents__ = - input.readMessage( - DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - dialogflowIntents_ - .getMutableMap() - .put(dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); - break; + expiration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); + expiration_ = subBuilder.buildPartial(); + } + expirationCase_ = 16; + break; + } + case 138: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 170: - { - java.lang.String s = input.readStringRequireUtf8(); - obfuscatedUserId_ = s; - break; + break; + } + case 146: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dialogflowIntents_ = com.google.protobuf.MapField.newMapField( + DialogflowIntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + dialogflowIntents__ = input.readMessage( + DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + dialogflowIntents_.getMutableMap().put( + dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); + + obfuscatedUserId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -342,7 +276,8 @@ private Conversation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { runtimeAnnotations_ = java.util.Collections.unmodifiableList(runtimeAnnotations_); @@ -351,48 +286,43 @@ private Conversation( makeExtensionsImmutable(); } } - - 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.
      * 
@@ -401,8 +331,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ MEDIUM_UNSPECIFIED(0), /** - * - * *
      * The format for conversations that took place over the phone.
      * 
@@ -411,8 +339,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { */ PHONE_CALL(1), /** - * - * *
      * The format for conversations that took place over chat.
      * 
@@ -424,8 +350,6 @@ public enum Medium implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -434,8 +358,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.
      * 
@@ -444,8 +366,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.
      * 
@@ -454,6 +374,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( @@ -478,51 +399,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; @@ -539,69 +458,61 @@ 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; } - private CallMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -620,23 +531,23 @@ private CallMetadata( case 0: done = true; break; - case 8: - { - customerChannel_ = input.readInt32(); - break; - } - case 16: - { - agentChannel_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + customerChannel_ = input.readInt32(); + break; + } + case 16: { + + agentChannel_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,39 +555,34 @@ private CallMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; - * * @return The customerChannel. */ @java.lang.Override @@ -687,14 +593,11 @@ public int getCustomerChannel() { public static final int AGENT_CHANNEL_FIELD_NUMBER = 2; private int agentChannel_; /** - * - * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; - * * @return The agentChannel. */ @java.lang.Override @@ -703,7 +606,6 @@ public int getAgentChannel() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -715,7 +617,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_); } @@ -732,10 +635,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -745,16 +650,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -776,95 +682,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 @@ -874,49 +772,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -928,16 +821,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 @@ -951,8 +842,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); result.customerChannel_ = customerChannel_; result.agentChannel_ = agentChannel_; onBuilt(); @@ -963,53 +853,46 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata build 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()); } @@ -1035,9 +918,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1047,16 +928,13 @@ public Builder mergeFrom( return this; } - private int customerChannel_; + private int customerChannel_ ; /** - * - * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; - * * @return The customerChannel. */ @java.lang.Override @@ -1064,51 +942,42 @@ 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; onChanged(); return this; } /** - * - * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; - * * @return This builder for chaining. */ public Builder clearCustomerChannel() { - + customerChannel_ = 0; onChanged(); 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 @@ -1116,41 +985,34 @@ 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; onChanged(); return this; } /** - * - * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; - * * @return This builder for chaining. */ public Builder clearAgentChannel() { - + agentChannel_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1163,32 +1025,30 @@ 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 { - return new CallMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,120 +1060,92 @@ 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; } - private Transcript( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1333,29 +1165,22 @@ private Transcript( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transcriptSegments_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment>(); - mutable_bitField0_ |= 0x00000001; - } - transcriptSegments_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transcriptSegments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transcriptSegments_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1363,7 +1188,8 @@ private Transcript( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transcriptSegments_ = java.util.Collections.unmodifiableList(transcriptSegments_); @@ -1372,54 +1198,42 @@ private Transcript( makeExtensionsImmutable(); } } - - 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.
        * 
@@ -1429,118 +1243,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.
@@ -1548,13 +1325,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.
@@ -1562,14 +1336,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
@@ -1578,125 +1350,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.
        * 
@@ -1706,25 +1436,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(); @@ -1733,15 +1459,16 @@ 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; } - private TranscriptSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1761,124 +1488,96 @@ private TranscriptSegment( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - text_ = s; - break; - } - case 21: - { - confidence_ = input.readFloat(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo>(); - mutable_bitField0_ |= 0x00000001; - } - words_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo.parser(), - extensionRegistry)); - break; + text_ = s; + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + words_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.parser(), extensionRegistry)); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - languageCode_ = s; - break; + languageCode_ = s; + break; + } + case 40: { + + channelTag_ = input.readInt32(); + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (messageTime_ != null) { + subBuilder = messageTime_.toBuilder(); } - case 40: - { - channelTag_ = input.readInt32(); - break; + messageTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(messageTime_); + messageTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (messageTime_ != null) { - subBuilder = messageTime_.toBuilder(); - } - messageTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(messageTime_); - messageTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 74: { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder subBuilder = null; + if (segmentParticipant_ != null) { + subBuilder = segmentParticipant_.toBuilder(); } - case 74: - { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder - subBuilder = null; - if (segmentParticipant_ != null) { - subBuilder = segmentParticipant_.toBuilder(); - } - segmentParticipant_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ConversationParticipant - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentParticipant_); - segmentParticipant_ = subBuilder.buildPartial(); - } - - break; + segmentParticipant_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentParticipant_); + segmentParticipant_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.Builder - subBuilder = null; - if (dialogflowSegmentMetadata_ != null) { - subBuilder = dialogflowSegmentMetadata_.toBuilder(); - } - dialogflowSegmentMetadata_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dialogflowSegmentMetadata_); - dialogflowSegmentMetadata_ = subBuilder.buildPartial(); - } - break; + break; + } + case 82: { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder subBuilder = null; + if (dialogflowSegmentMetadata_ != null) { + subBuilder = dialogflowSegmentMetadata_.toBuilder(); + } + dialogflowSegmentMetadata_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dialogflowSegmentMetadata_); + dialogflowSegmentMetadata_ = subBuilder.buildPartial(); } - case 90: - { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentiment_ != null) { - subBuilder = sentiment_.toBuilder(); - } - sentiment_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentiment_); - sentiment_ = subBuilder.buildPartial(); - } - break; + break; + } + case 90: { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentiment_ != null) { + subBuilder = sentiment_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentiment_); + sentiment_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1886,8 +1585,8 @@ private TranscriptSegment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -1896,58 +1595,44 @@ private TranscriptSegment( makeExtensionsImmutable(); } } - - 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.
@@ -1958,34 +1643,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.
@@ -1996,79 +1673,68 @@ 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; } - private WordInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2087,55 +1753,50 @@ private WordInfo( case 0: done = true; break; - case 10: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startOffset_ != null) { - subBuilder = startOffset_.toBuilder(); - } - startOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startOffset_); - startOffset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startOffset_ != null) { + subBuilder = startOffset_.toBuilder(); } - case 18: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (endOffset_ != null) { - subBuilder = endOffset_.toBuilder(); - } - endOffset_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endOffset_); - endOffset_ = subBuilder.buildPartial(); - } - - break; + startOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startOffset_); + startOffset_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - word_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endOffset_ != null) { + subBuilder = endOffset_.toBuilder(); } - case 37: - { - confidence_ = input.readFloat(); - break; + endOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOffset_); + endOffset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + word_ = s; + break; + } + case 37: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2143,43 +1804,35 @@ private WordInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -2187,26 +1840,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.
@@ -2222,15 +1868,12 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
         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 @@ -2238,26 +1881,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.
@@ -2273,14 +1909,11 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
         public static final int WORD_FIELD_NUMBER = 3;
         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 @@ -2289,29 +1922,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 { @@ -2322,15 +1955,12 @@ public com.google.protobuf.ByteString getWordBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 4; 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 @@ -2339,7 +1969,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2352,7 +1981,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()); } @@ -2375,16 +2004,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2394,32 +2026,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2442,125 +2070,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) + unknownFields.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 @@ -2570,53 +2168,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2640,26 +2229,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); } @@ -2667,14 +2249,8 @@ 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); + 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 (startOffsetBuilder_ == null) { result.startOffset_ = startOffset_; } else { @@ -2695,60 +2271,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -2777,16 +2339,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .WordInfo - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2798,49 +2355,36 @@ public Builder mergeFrom( 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 startOffsetBuilder_ != null || 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. */ 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.
@@ -2862,8 +2406,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.
@@ -2871,7 +2413,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();
               onChanged();
@@ -2882,8 +2425,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.
@@ -2895,9 +2436,7 @@ public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             if (startOffsetBuilder_ == null) {
               if (startOffset_ != null) {
                 startOffset_ =
-                    com.google.protobuf.Duration.newBuilder(startOffset_)
-                        .mergeFrom(value)
-                        .buildPartial();
+                  com.google.protobuf.Duration.newBuilder(startOffset_).mergeFrom(value).buildPartial();
               } else {
                 startOffset_ = value;
               }
@@ -2909,8 +2448,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.
@@ -2930,8 +2467,6 @@ public Builder clearStartOffset() {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2940,13 +2475,11 @@ public Builder clearStartOffset() {
            * .google.protobuf.Duration start_offset = 1;
            */
           public com.google.protobuf.Duration.Builder getStartOffsetBuilder() {
-
+            
             onChanged();
             return getStartOffsetFieldBuilder().getBuilder();
           }
           /**
-           *
-           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2958,14 +2491,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.
@@ -2974,17 +2504,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_;
@@ -2992,49 +2519,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 endOffsetBuilder_ != null || 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. */ 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.
@@ -3056,8 +2570,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.
@@ -3065,7 +2577,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();
               onChanged();
@@ -3076,8 +2589,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.
@@ -3089,9 +2600,7 @@ public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             if (endOffsetBuilder_ == null) {
               if (endOffset_ != null) {
                 endOffset_ =
-                    com.google.protobuf.Duration.newBuilder(endOffset_)
-                        .mergeFrom(value)
-                        .buildPartial();
+                  com.google.protobuf.Duration.newBuilder(endOffset_).mergeFrom(value).buildPartial();
               } else {
                 endOffset_ = value;
               }
@@ -3103,8 +2612,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.
@@ -3124,8 +2631,6 @@ public Builder clearEndOffset() {
             return this;
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -3134,13 +2639,11 @@ public Builder clearEndOffset() {
            * .google.protobuf.Duration end_offset = 2;
            */
           public com.google.protobuf.Duration.Builder getEndOffsetBuilder() {
-
+            
             onChanged();
             return getEndOffsetFieldBuilder().getBuilder();
           }
           /**
-           *
-           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -3152,14 +2655,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.
@@ -3168,17 +2668,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_;
@@ -3186,20 +2683,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; @@ -3208,21 +2703,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 { @@ -3230,77 +2724,67 @@ 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) { + public Builder setWord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** - * - * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; - * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); 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) { + public Builder setWordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); 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 @@ -3308,43 +2792,36 @@ 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; 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() { - + confidence_ = 0F; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3357,36 +2834,30 @@ 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 { - return new WordInfo(input, extensionRegistry); - } - }; + 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 { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3398,67 +2869,58 @@ 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; } - private DialogflowSegmentMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3477,18 +2939,18 @@ private DialogflowSegmentMetadata( case 0: done = true; break; - case 8: - { - smartReplyAllowlistCovered_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + smartReplyAllowlistCovered_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3496,43 +2958,35 @@ private DialogflowSegmentMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
          * 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 @@ -3541,7 +2995,6 @@ public boolean getSmartReplyAllowlistCovered() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3554,7 +3007,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_); } @@ -3568,9 +3021,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3580,23 +3032,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3609,127 +3053,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) + unknownFields.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 @@ -3739,53 +3151,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3795,26 +3198,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); } @@ -3822,14 +3218,8 @@ 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); + 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); result.smartReplyAllowlistCovered_ = smartReplyAllowlistCovered_; onBuilt(); return result; @@ -3839,60 +3229,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -3911,16 +3287,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - .DialogflowSegmentMetadata - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3930,17 +3301,14 @@ public Builder mergeFrom( return this; } - 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 @@ -3948,43 +3316,36 @@ 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; 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() { - + smartReplyAllowlistCovered_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3997,36 +3358,30 @@ 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 { - return new DialogflowSegmentMetadata(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSegmentMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4038,24 +3393,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 @@ -4063,25 +3414,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.
        * 
@@ -4096,14 +3440,11 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int TEXT_FIELD_NUMBER = 1; private volatile java.lang.Object text_; /** - * - * *
        * The text of this segment.
        * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -4112,29 +3453,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 { @@ -4145,15 +3486,12 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -4162,102 +3500,68 @@ public float getConfidence() { } public static final int WORDS_FIELD_NUMBER = 3; - 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; 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.
@@ -4265,7 +3569,6 @@ public int getWordsCount() {
        * 
* * string language_code = 4; - * * @return The languageCode. */ @java.lang.Override @@ -4274,15 +3577,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.
@@ -4290,15 +3592,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 { @@ -4309,8 +3612,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int CHANNEL_TAG_FIELD_NUMBER = 5; private int channelTag_; /** - * - * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -4319,7 +3620,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
        * 
* * int32 channel_tag = 5; - * * @return The channelTag. */ @java.lang.Override @@ -4330,16 +3630,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 @@ -4347,57 +3642,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() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder getSegmentParticipantOrBuilder() { return getSegmentParticipant(); } 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 @@ -4405,56 +3680,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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadataOrBuilder getDialogflowSegmentMetadataOrBuilder() { return getDialogflowSegmentMetadata(); } 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 @@ -4462,25 +3718,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.
        * 
@@ -4488,13 +3737,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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentOrBuilder() { return getSentiment(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4506,7 +3753,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_); } @@ -4547,31 +3795,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4581,39 +3833,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4633,7 +3889,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(); @@ -4659,116 +3916,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 @@ -4778,55 +4007,45 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getWordsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4872,23 +4091,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); } @@ -4896,12 +4111,8 @@ 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); int from_bitField0_ = bitField0_; if (messageTimeBuilder_ == null) { result.messageTime_ = messageTime_; @@ -4944,58 +4155,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -5024,10 +4223,9 @@ public Builder mergeFrom( wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWordsFieldBuilder() - : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWordsFieldBuilder() : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -5064,15 +4262,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5081,52 +4275,38 @@ public Builder mergeFrom( } 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 messageTimeBuilder_ != null || messageTime_ != null; } /** - * - * *
          * 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.
          * 
@@ -5147,15 +4327,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(); onChanged(); @@ -5166,8 +4345,6 @@ public Builder setMessageTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5178,9 +4355,7 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { if (messageTime_ != null) { messageTime_ = - com.google.protobuf.Timestamp.newBuilder(messageTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(messageTime_).mergeFrom(value).buildPartial(); } else { messageTime_ = value; } @@ -5192,8 +4367,6 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5212,8 +4385,6 @@ public Builder clearMessageTime() { return this; } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5221,13 +4392,11 @@ public Builder clearMessageTime() { * .google.protobuf.Timestamp message_time = 6; */ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { - + onChanged(); return getMessageTimeFieldBuilder().getBuilder(); } /** - * - * *
          * The time that the message occurred, if provided.
          * 
@@ -5238,14 +4407,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.
          * 
@@ -5253,17 +4419,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_; @@ -5271,20 +4434,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; @@ -5293,21 +4454,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 { @@ -5315,77 +4475,67 @@ 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) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
          * The text of this segment.
          * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); 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 @@ -5393,82 +4543,57 @@ 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; 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() { - + confidence_ = 0F; onChanged(); 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_ & 0x00000001) != 0)) { - words_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.WordInfo>(words_); + words_ = new java.util.ArrayList(words_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -5476,15 +4601,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) { @@ -5494,19 +4615,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 { @@ -5514,21 +4629,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(); @@ -5542,21 +4650,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()); @@ -5567,20 +4668,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(); @@ -5594,21 +4688,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(); @@ -5622,20 +4709,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()); @@ -5646,21 +4727,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()); @@ -5671,25 +4745,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); @@ -5697,15 +4764,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) { @@ -5718,15 +4781,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) { @@ -5739,57 +4798,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 { @@ -5797,80 +4838,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_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); words_ = null; } return wordsBuilder_; @@ -5878,8 +4888,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.
@@ -5887,13 +4895,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; @@ -5902,8 +4910,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.
@@ -5911,14 +4917,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 { @@ -5926,8 +4933,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.
@@ -5935,22 +4940,20 @@ 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) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5958,18 +4961,15 @@ public Builder setLanguageCode(java.lang.String value) {
          * 
* * string language_code = 4; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** - * - * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -5977,25 +4977,23 @@ 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) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); 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
@@ -6004,7 +5002,6 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) {
          * 
* * int32 channel_tag = 5; - * * @return The channelTag. */ @java.lang.Override @@ -6012,8 +5009,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
@@ -6022,19 +5017,16 @@ 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; onChanged(); return this; } /** - * - * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -6043,76 +5035,52 @@ public Builder setChannelTag(int value) {
          * 
* * int32 channel_tag = 5; - * * @return This builder for chaining. */ public Builder clearChannelTag() { - + channelTag_ = 0; onChanged(); 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 segmentParticipantBuilder_ != null || 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. */ - 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(); @@ -6126,19 +5094,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(); onChanged(); @@ -6149,25 +5112,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 (segmentParticipant_ != null) { segmentParticipant_ = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder( - segmentParticipant_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder(segmentParticipant_).mergeFrom(value).buildPartial(); } else { segmentParticipant_ = value; } @@ -6179,15 +5134,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() { if (segmentParticipantBuilder_ == null) { @@ -6201,139 +5152,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() { + 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 dialogflowSegmentMetadataBuilder_ != null || 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. */ - 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(); @@ -6347,20 +5249,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(); onChanged(); @@ -6371,28 +5267,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 (dialogflowSegmentMetadata_ != null) { dialogflowSegmentMetadata_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript - .TranscriptSegment.DialogflowSegmentMetadata.newBuilder( - dialogflowSegmentMetadata_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder(dialogflowSegmentMetadata_).mergeFrom(value).buildPartial(); } else { dialogflowSegmentMetadata_ = value; } @@ -6404,15 +5289,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() { if (dialogflowSegmentMetadataBuilder_ == null) { @@ -6426,75 +5307,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() { + 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_; @@ -6502,47 +5356,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 sentimentBuilder_ != null || sentiment_ != null; } /** - * - * *
          * 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.
          * 
@@ -6563,8 +5404,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6583,22 +5422,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 (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); } else { sentiment_ = value; } @@ -6610,8 +5444,6 @@ public Builder mergeSentiment( return this; } /** - * - * *
          * The sentiment for this transcript segment.
          * 
@@ -6630,42 +5462,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() { + 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.
          * 
@@ -6673,22 +5496,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) { @@ -6701,36 +5520,30 @@ 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 { - return new TranscriptSegment(input, extensionRegistry); - } - }; + 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 { + return new TranscriptSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6742,103 +5555,73 @@ 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; - 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; @@ -6850,7 +5633,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)); } @@ -6864,8 +5648,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6875,15 +5659,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6905,95 +5689,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 @@ -7003,51 +5779,45 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getTranscriptSegmentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7061,16 +5831,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 @@ -7084,8 +5852,7 @@ 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); int from_bitField0_ = bitField0_; if (transcriptSegmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -7104,53 +5871,46 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript buildPa 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()) { @@ -7169,10 +5929,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_); } @@ -7197,9 +5956,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7208,45 +5965,28 @@ public Builder mergeFrom( } 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 { @@ -7254,15 +5994,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) { @@ -7272,18 +6008,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 { @@ -7291,20 +6022,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(); @@ -7318,21 +6043,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()); @@ -7343,19 +6061,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(); @@ -7369,20 +6081,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(); @@ -7396,20 +6102,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()); @@ -7420,21 +6120,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()); @@ -7445,25 +6138,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); @@ -7471,15 +6157,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) { @@ -7492,15 +6174,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) { @@ -7513,57 +6191,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 { @@ -7571,78 +6231,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(), @@ -7651,7 +6278,6 @@ public Builder removeTranscriptSegments(int index) { } return transcriptSegmentsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7664,32 +6290,30 @@ 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 { - return new Transcript(input, extensionRegistry); - } - }; + 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 { + return new Transcript(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7701,23 +6325,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; } @@ -7733,36 +6354,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; } @@ -7778,37 +6394,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 @@ -7816,54 +6425,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 @@ -7871,27 +6469,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.
@@ -7902,22 +6495,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 @@ -7925,27 +6515,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.
@@ -7956,7 +6541,7 @@ 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();
   }
@@ -7964,8 +6549,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -7973,7 +6556,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -7982,15 +6564,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:
@@ -7998,15 +6579,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 { @@ -8017,14 +6599,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 @@ -8032,25 +6611,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.
    * 
@@ -8058,23 +6630,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() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder getDataSourceOrBuilder() { return getDataSource(); } 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 @@ -8082,15 +6649,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 @@ -8098,14 +6661,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() { @@ -8115,15 +6675,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 @@ -8131,15 +6687,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 @@ -8147,14 +6699,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() { @@ -8164,14 +6713,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 @@ -8179,14 +6725,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 @@ -8194,8 +6737,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which the conversation started.
    * 
@@ -8210,14 +6751,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object languageCode_; /** - * - * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; - * * @return The languageCode. */ @java.lang.Override @@ -8226,29 +6764,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 { @@ -8259,15 +6797,12 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { public static final int AGENT_ID_FIELD_NUMBER = 5; 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 @@ -8276,30 +6811,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 { @@ -8308,23 +6843,24 @@ 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, + ""); } - - 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_; } @@ -8333,8 +6869,6 @@ 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.
@@ -8342,22 +6876,22 @@ 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.
@@ -8366,12 +6900,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
+
   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.
@@ -8380,16 +6913,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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.
@@ -8398,11 +6931,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -8412,16 +6946,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 @@ -8429,95 +6958,64 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder getTranscriptOrBuilder() { return getTranscript(); } public static final int MEDIUM_FIELD_NUMBER = 9; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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 @@ -8525,15 +7023,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 @@ -8541,14 +7035,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() { @@ -8558,14 +7049,11 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int TURN_COUNT_FIELD_NUMBER = 11; 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 @@ -8576,16 +7064,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 @@ -8593,34 +7076,23 @@ 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() { @@ -8628,119 +7100,86 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnal } public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER = 13; - 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< - ? 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.
    * 
* - * - * 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()); } - - 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); @@ -8752,95 +7191,78 @@ 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 com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -8850,14 +7272,11 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI public static final int OBFUSCATED_USER_ID_FIELD_NUMBER = 21; 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 @@ -8866,29 +7285,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 { @@ -8897,7 +7316,6 @@ public com.google.protobuf.ByteString getObfuscatedUserIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8909,7 +7327,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_); } @@ -8925,18 +7344,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) { @@ -8963,7 +7383,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, @@ -8984,81 +7405,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_); @@ -9071,55 +7493,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: @@ -9127,10 +7564,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: @@ -9224,151 +7663,143 @@ 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() @@ -9376,17 +7807,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRuntimeAnnotationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -9460,9 +7891,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 @@ -9481,8 +7912,7 @@ 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); int from_bitField0_ = bitField0_; if (metadataCase_ == 7) { if (callMetadataBuilder_ == null) { @@ -9569,39 +7999,38 @@ public com.google.cloud.contactcenterinsights.v1.Conversation 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.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; @@ -9609,8 +8038,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_; onChanged(); @@ -9635,7 +8063,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation agentId_ = other.agentId_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasTranscript()) { mergeTranscript(other.getTranscript()); } @@ -9669,46 +8098,41 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation runtimeAnnotationsBuilder_ = null; runtimeAnnotations_ = other.runtimeAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - 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()); if (!other.getObfuscatedUserId().isEmpty()) { obfuscatedUserId_ = other.obfuscatedUserId_; 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.unknownFields); onChanged(); @@ -9729,8 +8153,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9739,12 +8162,12 @@ public Builder mergeFrom( } 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() { @@ -9756,9 +8179,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() { @@ -9771,20 +8195,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 @@ -9792,15 +8209,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 @@ -9809,28 +8222,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(); @@ -9844,18 +8251,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(); @@ -9866,28 +8269,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; } @@ -9903,14 +8296,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) { @@ -9929,94 +8319,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()); metadata_ = null; } metadataCase_ = 7; - onChanged(); - ; + onChanged();; return callMetadataBuilder_; } 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 @@ -10024,15 +8388,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 @@ -10050,8 +8411,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.
@@ -10073,8 +8432,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.
@@ -10082,7 +8439,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();
@@ -10093,8 +8451,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.
@@ -10104,12 +8460,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;
         }
@@ -10125,8 +8479,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.
@@ -10151,8 +8503,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.
@@ -10164,8 +8514,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.
@@ -10185,8 +8533,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.
@@ -10195,43 +8541,33 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return expireTimeBuilder_;
     }
 
     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 @@ -10239,15 +8575,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 @@ -10265,8 +8598,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.
@@ -10288,8 +8619,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.
@@ -10297,7 +8626,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();
@@ -10308,8 +8638,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.
@@ -10319,12 +8647,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;
         }
@@ -10340,8 +8666,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.
@@ -10366,8 +8690,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.
@@ -10379,8 +8701,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.
@@ -10400,8 +8720,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.
@@ -10410,32 +8728,26 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return ttlBuilder_;
     }
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10443,13 +8755,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; @@ -10458,8 +8770,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10467,14 +8777,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 { @@ -10482,8 +8793,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10491,22 +8800,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10514,18 +8821,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -10533,16 +8837,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -10550,55 +8854,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 dataSourceBuilder_ != null || dataSource_ != null; } /** - * - * *
      * 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(); @@ -10612,8 +8902,6 @@ public Builder setDataSource( return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -10632,23 +8920,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 (dataSource_ != null) { dataSource_ = - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder( - dataSource_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder(dataSource_).mergeFrom(value).buildPartial(); } else { dataSource_ = value; } @@ -10660,8 +8942,6 @@ public Builder mergeDataSource( return this; } /** - * - * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -10680,42 +8960,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() { + 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.
      * 
@@ -10723,17 +8994,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_; @@ -10741,58 +9009,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 createTimeBuilder_ != null || 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. */ 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) { @@ -10808,17 +9057,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(); onChanged(); @@ -10829,21 +9075,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -10855,15 +9097,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() { if (createTimeBuilder_ == null) { @@ -10877,64 +9115,48 @@ 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() { - + onChanged(); 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_; @@ -10942,58 +9164,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -11009,17 +9212,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(); onChanged(); @@ -11030,21 +9230,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -11056,15 +9252,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() { if (updateTimeBuilder_ == null) { @@ -11078,64 +9270,48 @@ 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() { - + onChanged(); 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_; @@ -11143,33 +9319,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -11180,8 +9347,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11202,15 +9367,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(); onChanged(); @@ -11221,8 +9385,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11233,7 +9395,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -11245,8 +9407,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11265,8 +9425,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11274,13 +9432,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 17; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the conversation started.
      * 
@@ -11291,12 +9447,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.
      * 
@@ -11304,17 +9459,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_; @@ -11322,20 +9474,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; @@ -11344,21 +9494,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 { @@ -11366,61 +9515,54 @@ 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) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** - * - * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); 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) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -11428,21 +9570,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; @@ -11451,22 +9591,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 { @@ -11474,84 +9613,78 @@ 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) { + public Builder setAgentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + agentId_ = value; 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() { - + agentId_ = getDefaultInstance().getAgentId(); onChanged(); 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) { + public Builder setAgentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + agentId_ = value; onChanged(); 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -11563,8 +9696,6 @@ 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.
@@ -11572,22 +9703,22 @@ 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.
@@ -11596,12 +9727,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     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.
@@ -11610,17 +9740,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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.
@@ -11629,11 +9758,12 @@ public 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();
       }
@@ -11641,12 +9771,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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.
@@ -11654,21 +9783,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() {
       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.
@@ -11676,20 +9807,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       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.
@@ -11697,68 +9827,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);
       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 transcriptBuilder_ != null || 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. */ 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(); @@ -11772,15 +9885,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) { @@ -11794,25 +9903,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 (transcript_ != null) { transcript_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder( - transcript_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder(transcript_).mergeFrom(value).buildPartial(); } else { transcript_ = value; } @@ -11824,15 +9925,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() { if (transcriptBuilder_ == null) { @@ -11846,66 +9943,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() { + 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_; @@ -11913,75 +9992,51 @@ public Builder clearTranscript() { 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. */ public Builder setMediumValue(int value) { - + medium_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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. */ @@ -11989,26 +10044,21 @@ public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation. if (value == null) { throw new NullPointerException(); } - + medium_ = value.getNumber(); onChanged(); 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() { - + medium_ = 0; onChanged(); return this; @@ -12016,35 +10066,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 durationBuilder_ != null || 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. */ public com.google.protobuf.Duration getDuration() { @@ -12055,14 +10094,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) { @@ -12078,16 +10114,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(); onChanged(); @@ -12098,20 +10132,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 (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -12123,14 +10154,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() { if (durationBuilder_ == null) { @@ -12144,74 +10172,60 @@ 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() { - + onChanged(); 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 @@ -12219,36 +10233,30 @@ 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; 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() { - + turnCount_ = 0; onChanged(); return this; @@ -12256,58 +10264,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 latestAnalysisBuilder_ != null || 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. */ 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) { @@ -12323,15 +10312,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) { @@ -12345,23 +10330,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 (latestAnalysis_ != null) { latestAnalysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_).mergeFrom(value).buildPartial(); } else { latestAnalysis_ = value; } @@ -12373,15 +10352,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() { if (latestAnalysisBuilder_ == null) { @@ -12395,102 +10370,74 @@ 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() { - + onChanged(); 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_ & 0x00000002) != 0)) { - runtimeAnnotations_ = - new java.util.ArrayList( - runtimeAnnotations_); + runtimeAnnotations_ = new java.util.ArrayList(runtimeAnnotations_); bitField0_ |= 0x00000002; - } + } } 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 { @@ -12498,16 +10445,12 @@ private void ensureRuntimeAnnotationsIsMutable() { } } /** - * - * *
      * 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) { @@ -12517,19 +10460,14 @@ 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 { @@ -12537,16 +10475,12 @@ 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) { @@ -12563,20 +10497,15 @@ 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()); @@ -12587,19 +10516,14 @@ 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(); @@ -12613,16 +10537,12 @@ 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 value) { @@ -12639,16 +10559,12 @@ 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) { @@ -12662,20 +10578,15 @@ 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()); @@ -12686,23 +10597,19 @@ 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); @@ -12710,16 +10617,12 @@ 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) { @@ -12732,16 +10635,12 @@ 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) { @@ -12754,56 +10653,42 @@ 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< - ? extends com.google.cloud.contactcenterinsights.v1.RuntimeAnnotationOrBuilder> - getRuntimeAnnotationsOrBuilderList() { + public java.util.List + getRuntimeAnnotationsOrBuilderList() { if (runtimeAnnotationsBuilder_ != null) { return runtimeAnnotationsBuilder_.getMessageOrBuilderList(); } else { @@ -12811,70 +10696,48 @@ public Builder removeRuntimeAnnotations(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]; */ - 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_ & 0x00000002) != 0), getParentForChildren(), @@ -12885,28 +10748,21 @@ 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - internalGetMutableDialogflowIntents() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableDialogflowIntents() { + onChanged();; 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(); @@ -12918,97 +10774,78 @@ 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< - 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:
      * 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:
      * 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 getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -13016,97 +10853,87 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI } public Builder clearDialogflowIntents() { - 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< - java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> - getMutableDialogflowIntents() { + public java.util.Map + getMutableDialogflowIntents() { 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableDialogflowIntents().getMutableMap().put(key, value); + internalGetMutableDialogflowIntents().getMutableMap() + .put(key, value); 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); 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; @@ -13115,21 +10942,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 { @@ -13137,68 +10963,61 @@ 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) { + public Builder setObfuscatedUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedUserId_ = value; 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() { - + obfuscatedUserId_ = getDefaultInstance().getObfuscatedUserId(); onChanged(); 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) { + public Builder setObfuscatedUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedUserId_ = 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); } @@ -13208,12 +11027,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(); } @@ -13222,16 +11041,16 @@ 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 { - return new Conversation(input, extensionRegistry); - } - }; + 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 { + return new Conversation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13246,4 +11065,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Conversation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java index 09fe0fa8..87e56a68 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ConversationDataSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,41 @@ private ConversationDataSource( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; - if (sourceCase_ == 3) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 3; - break; + source_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; + if (sourceCase_ == 3) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_).toBuilder(); + } + source_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +94,35 @@ private ConversationDataSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; } @@ -169,36 +138,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 @@ -206,26 +169,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.
    * 
@@ -235,21 +193,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 @@ -257,26 +212,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.
    * 
@@ -284,16 +234,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; @@ -305,7 +253,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_); } @@ -322,14 +271,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -339,21 +286,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: @@ -387,127 +335,117 @@ 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() @@ -515,15 +453,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -533,14 +472,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(); } @@ -555,8 +493,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -580,65 +517,58 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource buildPar 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.unknownFields); onChanged(); @@ -659,9 +589,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,12 +598,12 @@ public Builder mergeFrom( } 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() { @@ -685,20 +613,15 @@ public Builder clearSource() { return this; } + 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 @@ -706,14 +629,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 @@ -731,8 +651,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { } } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -753,8 +671,6 @@ public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -773,8 +689,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -783,14 +697,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; } @@ -806,8 +716,6 @@ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSourc return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -831,8 +739,6 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -843,8 +749,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource.Builder getGcsSourceB return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -863,8 +767,6 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } } /** - * - * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -872,44 +774,32 @@ 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()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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 @@ -917,14 +807,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 @@ -942,16 +829,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(); @@ -965,8 +849,6 @@ public Builder setDialogflowSource( return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -985,26 +867,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; } @@ -1020,8 +894,6 @@ public Builder mergeDialogflowSource( return this; } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -1045,21 +917,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.
      * 
@@ -1067,8 +934,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 { @@ -1079,8 +945,6 @@ public Builder clearDialogflowSource() { } } /** - * - * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -1088,32 +952,26 @@ 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()); source_ = null; } sourceCase_ = 3; - onChanged(); - ; + 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); } @@ -1123,32 +981,30 @@ 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 { - return new ConversationDataSource(input, extensionRegistry); - } - }; + 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 { + return new ConversationDataSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1160,8 +1016,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java index 307b4423..c20823f9 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java index bee231d7..dffbed5a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ConversationLevelSentiment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,35 +52,31 @@ private ConversationLevelSentiment( case 0: done = true; break; - case 8: - { - channelTag_ = input.readInt32(); - break; + case 8: { + + channelTag_ = input.readInt32(); + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentimentData_ != null) { + subBuilder = sentimentData_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentimentData_ != null) { - subBuilder = sentimentData_.toBuilder(); - } - sentimentData_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentimentData_); - sentimentData_ = subBuilder.buildPartial(); - } - - break; + sentimentData_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentimentData_); + sentimentData_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +84,34 @@ private ConversationLevelSentiment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; - * * @return The channelTag. */ @java.lang.Override @@ -147,14 +122,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 @@ -162,25 +134,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.
    * 
@@ -188,13 +153,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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSentimentDataOrBuilder() { return getSentimentData(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +169,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_); } @@ -223,10 +187,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,18 +202,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,145 +239,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -426,16 +382,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 @@ -449,8 +403,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); result.channelTag_ = channelTag_; if (sentimentDataBuilder_ == null) { result.sentimentData_ = sentimentData_; @@ -465,51 +418,46 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment 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.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()); } @@ -535,9 +483,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -547,16 +493,13 @@ public Builder mergeFrom( return this; } - 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 @@ -564,36 +507,30 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -601,47 +538,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 sentimentDataBuilder_ != null || sentimentData_ != null; } /** - * - * *
      * 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.
      * 
@@ -662,8 +586,6 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -682,22 +604,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 (sentimentData_ != null) { sentimentData_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_).mergeFrom(value).buildPartial(); } else { sentimentData_ = value; } @@ -709,8 +626,6 @@ public Builder mergeSentimentData( return this; } /** - * - * *
      * Data specifying sentiment.
      * 
@@ -729,42 +644,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() { + 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.
      * 
@@ -772,24 +678,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); } @@ -799,32 +702,30 @@ 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 { - return new ConversationLevelSentiment(input, extensionRegistry); - } - }; + 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 { + return new ConversationLevelSentiment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,8 +737,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java index dabb5dd1..a845256e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java index b3326779..60426fae 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java +++ b/owl-bot-staging/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.
@@ -414,13 +313,11 @@ public interface ConversationOrBuilder
    */
 
   /* 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.
@@ -428,346 +325,254 @@ 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]; - * + * 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:
    * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java index 37fa86ed..7f9d7d99 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ConversationParticipant( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,48 +55,43 @@ private ConversationParticipant( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowParticipant_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + dialogflowParticipant_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - role_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + role_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - obfuscatedExternalUserId_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 5; - participant_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 6; - participant_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + obfuscatedExternalUserId_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 5; + participant_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 6; + participant_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,41 +99,36 @@ private ConversationParticipant( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -164,8 +137,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ ROLE_UNSPECIFIED(0), /** - * - * *
      * Participant is a human agent.
      * 
@@ -174,8 +145,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ HUMAN_AGENT(1), /** - * - * *
      * Participant is an automated agent.
      * 
@@ -184,8 +153,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ AUTOMATED_AGENT(2), /** - * - * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -194,8 +161,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ END_USER(3), /** - * - * *
      * Participant is either a human or automated agent.
      * 
@@ -207,8 +172,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Participant's role is not set.
      * 
@@ -217,8 +180,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Participant is a human agent.
      * 
@@ -227,8 +188,6 @@ public enum Role implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HUMAN_AGENT_VALUE = 1; /** - * - * *
      * Participant is an automated agent.
      * 
@@ -237,8 +196,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.
      * 
@@ -247,8 +204,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.
      * 
@@ -257,6 +212,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( @@ -281,55 +237,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; @@ -348,16 +300,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; } @@ -373,52 +322,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() { @@ -429,7 +369,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; @@ -438,25 +379,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; } @@ -468,28 +408,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() { @@ -500,7 +434,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; @@ -509,24 +444,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; } @@ -539,8 +473,6 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER = 1; private volatile java.lang.Object dialogflowParticipant_; /** - * - * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -548,28 +480,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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:
@@ -577,19 +505,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -600,14 +527,11 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() { public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object obfuscatedExternalUserId_; /** - * - * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; - * * @return The obfuscatedExternalUserId. */ @java.lang.Override @@ -616,29 +540,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 { @@ -649,43 +573,31 @@ public com.google.protobuf.ByteString getObfuscatedExternalUserIdBytes() { public static final int ROLE_FIELD_NUMBER = 2; private int role_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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; @@ -697,13 +609,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_)) { @@ -727,14 +638,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_); @@ -750,25 +659,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: @@ -808,145 +719,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -962,14 +862,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(); } @@ -984,8 +883,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); if (participantCase_ == 5) { result.participant_ = participant_; } @@ -1004,50 +902,46 @@ public com.google.cloud.contactcenterinsights.v1.ConversationParticipant buildPa 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_; onChanged(); @@ -1060,24 +954,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.unknownFields); onChanged(); @@ -1098,9 +989,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1109,12 +998,12 @@ public Builder mergeFrom( } 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() { @@ -1124,17 +1013,14 @@ public Builder clearParticipant() { 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 Whether the dialogflowParticipantName field is set. */ @java.lang.Override @@ -1142,16 +1028,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 @@ -1161,7 +1043,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; @@ -1172,27 +1055,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; } @@ -1202,39 +1083,32 @@ 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) { + public Builder setDialogflowParticipantName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 5; + 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() { @@ -1246,24 +1120,21 @@ 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) { + public Builder setDialogflowParticipantNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 5; participant_ = value; onChanged(); @@ -1271,14 +1142,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 @@ -1286,14 +1154,11 @@ public boolean hasUserId() { return participantCase_ == 6; } /** - * - * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; - * * @return The userId. */ @java.lang.Override @@ -1303,7 +1168,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; @@ -1314,25 +1180,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; } @@ -1342,35 +1207,30 @@ 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) { + public Builder setUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 6; + 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() { @@ -1382,22 +1242,20 @@ 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) { + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 6; participant_ = value; onChanged(); @@ -1406,8 +1264,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:
@@ -1415,17 +1271,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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; @@ -1434,8 +1288,6 @@ public java.lang.String getDialogflowParticipant() { } } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1443,18 +1295,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -1462,8 +1313,6 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() { } } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1471,26 +1320,22 @@ 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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDialogflowParticipant(java.lang.String value) { + @java.lang.Deprecated public Builder setDialogflowParticipant( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowParticipant_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1498,22 +1343,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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearDialogflowParticipant() { - + @java.lang.Deprecated public Builder clearDialogflowParticipant() { + dialogflowParticipant_ = getDefaultInstance().getDialogflowParticipant(); onChanged(); return this; } /** - * - * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1521,20 +1361,18 @@ 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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The bytes for dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setDialogflowParticipantBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowParticipant_ = value; onChanged(); return this; @@ -1542,20 +1380,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; @@ -1564,21 +1400,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 { @@ -1586,61 +1421,54 @@ 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) { + public Builder setObfuscatedExternalUserId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedExternalUserId_ = value; onChanged(); return this; } /** - * - * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; - * * @return This builder for chaining. */ public Builder clearObfuscatedExternalUserId() { - + obfuscatedExternalUserId_ = getDefaultInstance().getObfuscatedExternalUserId(); onChanged(); 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) { + public Builder setObfuscatedExternalUserIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedExternalUserId_ = value; onChanged(); return this; @@ -1648,100 +1476,80 @@ 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. */ public Builder setRoleValue(int value) { - + role_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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(); } - + role_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; - * * @return This builder for chaining. */ public Builder clearRole() { - + role_ = 0; 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); } @@ -1751,32 +1559,30 @@ 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 { - return new ConversationParticipant(input, extensionRegistry); - } - }; + 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 { + return new ConversationParticipant(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1788,8 +1594,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java index a62a540b..8ad1af13 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java +++ b/owl-bot-staging/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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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=1083 + * @deprecated google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is deprecated. + * See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java index e49a1b0d..8810cca3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java index 839045ea..3db5e931 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateAnalysisOperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,50 +53,45 @@ private CreateAnalysisOperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - conversation_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + conversation_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,41 +99,34 @@ private CreateAnalysisOperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -164,15 +134,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 @@ -180,14 +146,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() { @@ -197,15 +160,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 @@ -213,15 +172,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 @@ -229,14 +184,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() { @@ -246,16 +198,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int CONVERSATION_FIELD_NUMBER = 3; 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 @@ -264,31 +211,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 { @@ -297,7 +242,6 @@ public com.google.protobuf.ByteString getConversationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,7 +253,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()); } @@ -329,10 +274,12 @@ 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_); @@ -345,24 +292,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -390,146 +338,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -551,22 +487,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); } @@ -574,10 +507,8 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata buildPartial() { + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -597,52 +528,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata 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()); } @@ -668,14 +593,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -687,58 +609,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -754,17 +657,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(); onChanged(); @@ -775,21 +675,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -801,15 +697,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() { if (createTimeBuilder_ == null) { @@ -823,64 +715,48 @@ 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() { - + onChanged(); 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_; @@ -888,35 +764,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -927,14 +792,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) { @@ -950,16 +812,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(); onChanged(); @@ -970,20 +830,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -995,14 +852,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() { if (endTimeBuilder_ == null) { @@ -1016,59 +870,48 @@ 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() { - + onChanged(); 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_; @@ -1076,22 +919,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; @@ -1100,23 +939,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 { @@ -1124,74 +960,61 @@ 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) { + public Builder setConversation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversation_ = value; 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() { - + conversation_ = getDefaultInstance().getConversation(); 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) = { ... } * @param value The bytes for conversation to set. * @return This builder for chaining. */ - public Builder setConversationBytes(com.google.protobuf.ByteString value) { + public Builder setConversationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversation_ = 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); } @@ -1201,33 +1024,30 @@ 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 { - return new CreateAnalysisOperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1239,8 +1059,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java similarity index 59% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java index 2d0102b6..febfbb08 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java @@ -1,130 +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; -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(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java index 684fa132..6058d1e6 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,37 +53,32 @@ private CreateAnalysisRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (analysis_ != null) { + subBuilder = analysis_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (analysis_ != null) { - subBuilder = analysis_.toBuilder(); - } - analysis_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysis_); - analysis_ = subBuilder.buildPartial(); - } - - break; + analysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysis_); + analysis_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,41 +86,34 @@ private CreateAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -151,31 +122,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 { @@ -186,16 +155,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 @@ -203,34 +167,23 @@ 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() { @@ -238,7 +191,6 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +202,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_); } @@ -270,7 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,18 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,127 +271,117 @@ 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() @@ -444,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -468,14 +414,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(); } @@ -490,8 +435,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); result.parent_ = parent_; if (analysisBuilder_ == null) { result.analysis_ = analysis_; @@ -506,50 +450,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest buildPart 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_; onChanged(); @@ -576,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -590,22 +528,18 @@ public Builder mergeFrom( 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; @@ -614,23 +548,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 { @@ -638,67 +569,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -706,58 +624,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 analysisBuilder_ != null || 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. */ 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) { @@ -773,15 +672,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) { @@ -795,23 +690,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 (analysis_ != null) { analysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_).mergeFrom(value).buildPartial(); } else { analysis_ = value; } @@ -823,15 +712,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() { if (analysisBuilder_ == null) { @@ -845,71 +730,55 @@ 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() { - + onChanged(); 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); } @@ -919,32 +788,30 @@ 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 { - return new CreateAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -956,8 +823,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..648bc721 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java index 58b0e0c0..cf84eecf 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private CreateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateConversationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); - } - - break; + conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - conversationId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + conversationId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -159,31 +129,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 { @@ -194,16 +162,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 @@ -211,46 +174,32 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { return getConversation(); } public static final int CONVERSATION_ID_FIELD_NUMBER = 3; 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
@@ -260,7 +209,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversation()
    * 
* * string conversation_id = 3; - * * @return The conversationId. */ @java.lang.Override @@ -269,15 +217,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
@@ -287,15 +234,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 { @@ -304,7 +252,6 @@ public com.google.protobuf.ByteString getConversationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +263,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_); } @@ -339,7 +287,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_); @@ -352,20 +301,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -547,16 +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_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 @@ -570,8 +508,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); result.parent_ = parent_; if (conversationBuilder_ == null) { result.conversation_ = conversation_; @@ -587,51 +524,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest build 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_; onChanged(); @@ -662,9 +594,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -676,22 +606,18 @@ public Builder mergeFrom( 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; @@ -700,23 +626,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 { @@ -724,67 +647,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -792,58 +702,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 conversationBuilder_ != null || 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. */ 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) { @@ -859,15 +750,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) { @@ -881,23 +768,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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); } else { conversation_ = value; } @@ -909,15 +790,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() { if (conversationBuilder_ == null) { @@ -931,65 +808,48 @@ 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() { - + onChanged(); 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_; @@ -997,8 +857,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
@@ -1008,13 +866,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; @@ -1023,8 +881,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
@@ -1034,14 +890,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 { @@ -1049,8 +906,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
@@ -1060,22 +915,20 @@ 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) { + public Builder setConversationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversationId_ = value; 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
@@ -1085,18 +938,15 @@ public Builder setConversationId(java.lang.String value) {
      * 
* * string conversation_id = 3; - * * @return This builder for chaining. */ public Builder clearConversationId() { - + conversationId_ = getDefaultInstance().getConversationId(); 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
@@ -1106,23 +956,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) { + public Builder setConversationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversationId_ = 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); } @@ -1132,32 +982,30 @@ 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 { - return new CreateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,8 +1017,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java index 665ce99c..62a507c3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java index 2f01c4e0..4d4da2ce 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private CreateIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = - null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private CreateIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,55 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1147,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for creation.
      * 
@@ -1167,22 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1194,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for creation.
      * 
@@ -1214,42 +1036,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() { + 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.
      * 
@@ -1257,24 +1070,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); } @@ -1284,32 +1094,30 @@ 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 { - return new CreateIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java index 58cbb698..9497c693 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java index 183a83be..241a5a09 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,37 +53,32 @@ private CreateIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); - } - issueModel_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); - } - - break; + issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,41 +86,34 @@ private CreateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -151,31 +122,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 { @@ -186,16 +155,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 @@ -203,34 +167,23 @@ 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() { @@ -238,7 +191,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +202,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_); } @@ -270,7 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,18 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,145 +271,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -470,14 +414,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(); } @@ -492,8 +435,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); result.parent_ = parent_; if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; @@ -508,50 +450,46 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest buildPa 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_; onChanged(); @@ -578,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -592,22 +528,18 @@ public Builder mergeFrom( 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; @@ -616,23 +548,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 { @@ -640,67 +569,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -708,58 +624,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 issueModelBuilder_ != null || 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. */ 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) { @@ -775,15 +672,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) { @@ -797,23 +690,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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); } else { issueModel_ = value; } @@ -825,15 +712,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() { if (issueModelBuilder_ == null) { @@ -847,71 +730,55 @@ 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() { - + onChanged(); 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); } @@ -921,32 +788,30 @@ 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 { - return new CreateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -958,8 +823,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..b94ecb87 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java index 2af079c9..4e1667ce 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,37 +53,32 @@ private CreatePhraseMatcherRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); - } - phraseMatcher_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); - } - - break; + phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,33 +86,29 @@ private CreatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -142,10 +116,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 @@ -154,15 +125,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 phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -170,18 +140,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 { @@ -192,16 +161,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 @@ -209,43 +173,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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +208,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_); } @@ -277,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -287,18 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -323,145 +277,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,16 +420,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 @@ -500,8 +441,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); result.parent_ = parent_; if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; @@ -516,51 +456,46 @@ public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest 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.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_; onChanged(); @@ -587,9 +522,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -601,8 +534,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -610,16 +541,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; @@ -628,8 +557,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -637,17 +564,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 { @@ -655,8 +581,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -664,25 +588,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -690,21 +610,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -712,19 +627,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -732,58 +645,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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -799,15 +693,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) { @@ -821,24 +711,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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); } else { phraseMatcher_ = value; } @@ -850,15 +733,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() { if (phraseMatcherBuilder_ == null) { @@ -872,73 +751,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() { + 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); } @@ -948,32 +809,30 @@ 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 { - return new CreatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new CreatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -985,8 +844,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java index 49f143f2..bfb2e263 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.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 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.
@@ -33,16 +15,11 @@ public interface CreatePhraseMatcherRequestOrBuilder
    * `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 phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -50,52 +27,36 @@ public interface CreatePhraseMatcherRequestOrBuilder
    * `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 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java index d953631b..3a2a32ab 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private CreateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateViewRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); - } - view_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); - } - - break; + view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,33 +86,29 @@ private CreateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -141,10 +116,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 @@ -153,15 +125,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.
@@ -169,18 +140,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 { @@ -191,16 +161,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 @@ -208,34 +173,23 @@ 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() { @@ -243,7 +197,6 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +208,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 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -285,18 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,127 +277,117 @@ 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() @@ -449,15 +395,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +420,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 @@ -494,8 +441,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); result.parent_ = parent_; if (viewBuilder_ == null) { result.view_ = view_; @@ -510,39 +456,38 @@ public com.google.cloud.contactcenterinsights.v1.CreateViewRequest 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.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; @@ -550,8 +495,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_; onChanged(); @@ -578,8 +522,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,8 +534,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -600,16 +541,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; @@ -618,8 +557,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -627,17 +564,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 { @@ -645,8 +581,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -654,25 +588,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -680,21 +610,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -702,19 +627,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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -722,58 +645,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 viewBuilder_ != null || 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. */ 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) { @@ -789,17 +693,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(); onChanged(); @@ -810,23 +711,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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); } else { view_ = value; } @@ -838,15 +733,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() { if (viewBuilder_ == null) { @@ -860,71 +751,55 @@ 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() { - + onChanged(); 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); } @@ -934,12 +809,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(); } @@ -948,16 +823,16 @@ 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 { - return new CreateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -972,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java index cfde3343..a28331f2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java index a9438df3..e8bff5e2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteAnalysisRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest buildPart 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_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( 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; @@ -515,23 +467,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 { @@ -539,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -616,32 +552,30 @@ 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 { - return new DeleteAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..932fbf0d --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java index 19741311..382d2f6d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteConversationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,41 +78,34 @@ private DeleteConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -139,31 +114,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 { @@ -174,8 +147,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; 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
@@ -183,7 +154,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -192,7 +162,6 @@ public boolean getForce() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -224,7 +194,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,152 +230,142 @@ 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) + unknownFields.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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -415,16 +377,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 @@ -438,8 +398,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -450,51 +409,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest build 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_; onChanged(); @@ -521,9 +475,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -535,22 +487,18 @@ public Builder mergeFrom( 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; @@ -559,23 +507,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 { @@ -583,76 +528,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -660,7 +590,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -668,8 +597,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
@@ -677,19 +604,16 @@ public boolean getForce() {
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; 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
@@ -697,18 +621,17 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; 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); } @@ -718,32 +641,30 @@ 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 { - return new DeleteConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,8 +676,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java new file mode 100644 index 00000000..d15cd125 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java index a2accb10..68f8dac2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private DeleteIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = - null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private DeleteIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,55 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1147,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deletion.
      * 
@@ -1167,22 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1194,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for deletion.
      * 
@@ -1214,42 +1036,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() { + 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.
      * 
@@ -1257,24 +1070,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); } @@ -1284,32 +1094,30 @@ 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 { - return new DeleteIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java index 540ef300..886dce7d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java index da49a5b2..b7ecd689 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,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(); } @@ -401,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest buildPa 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_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( 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; @@ -517,23 +467,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 { @@ -541,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -618,32 +552,30 @@ 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 { - return new DeleteIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..a643ce70 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java index 64f5926f..e06c9a3e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeletePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePhraseMatcherRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeletePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,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 @@ -402,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest 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.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_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( 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; @@ -519,23 +467,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 { @@ -543,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -620,32 +552,30 @@ 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 { - return new DeletePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new DeletePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..cb8112db --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java index ca629fa6..19aad5f2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeleteViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteViewRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new DeleteViewRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java new file mode 100644 index 00000000..6b3adefa --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java index 50a143f3..cf51267b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private DeployIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = - null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private DeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,55 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1147,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for deployment.
      * 
@@ -1167,22 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1194,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for deployment.
      * 
@@ -1214,42 +1036,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() { + 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.
      * 
@@ -1257,24 +1070,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); } @@ -1284,32 +1094,30 @@ 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 { - return new DeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1321,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java index df5ca21f..aee42989 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java index 831b213f..dc5a301a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeployIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,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(); } @@ -401,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest buildPa 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_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( 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; @@ -517,23 +467,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 { @@ -541,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -618,32 +552,30 @@ 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 { - return new DeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..2e51a4de --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java index df079120..6d70c9c8 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private DeployIssueModelResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private DeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,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 @@ -329,8 +297,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; } @@ -339,51 +306,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.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -426,32 +386,30 @@ 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 { - return new DeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..206c8adc --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java index 26e23472..596a8cac 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java +++ b/owl-bot-staging/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,31 +11,31 @@
  *
  * 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;
   }
-
   private DialogflowIntent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DialogflowIntent(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,39 +74,34 @@ private DialogflowIntent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object displayName_;
   /**
-   *
-   *
    * 
    * The human-readable name of the intent.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -133,29 +110,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 { @@ -164,7 +141,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,7 +152,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_); } @@ -200,15 +177,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,104 +205,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.
@@ -333,23 +302,21 @@ 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()
@@ -357,15 +324,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +343,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
@@ -396,8 +364,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result = new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
       result.displayName_ = displayName_;
       onBuilt();
       return result;
@@ -407,39 +374,38 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent 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.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;
@@ -447,8 +413,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_;
         onChanged();
@@ -472,8 +437,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -485,20 +449,18 @@ public Builder mergeFrom(
 
     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; @@ -507,21 +469,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 { @@ -529,68 +490,61 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -600,12 +554,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(); } @@ -614,16 +568,16 @@ 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 { - return new DialogflowIntent(input, extensionRegistry); - } - }; + 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 { + return new DialogflowIntent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java new file mode 100644 index 00000000..9978e6a5 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java index 7f852e32..9d9723e3 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private DialogflowInteractionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DialogflowInteractionData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowIntentId_ = s; - break; - } - case 21: - { - confidence_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dialogflowIntentId_ = s; + break; + } + case 21: { + + confidence_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,40 +78,35 @@ private DialogflowInteractionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -138,30 +115,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 { @@ -172,15 +149,12 @@ public com.google.protobuf.ByteString getDialogflowIntentIdBytes() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -189,7 +163,6 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +174,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_); } @@ -221,7 +195,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,17 +206,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -256,152 +232,142 @@ 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) + unknownFields.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() + // Construct using com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,16 +379,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 @@ -436,8 +400,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); result.dialogflowIntentId_ = dialogflowIntentId_; result.confidence_ = confidence_; onBuilt(); @@ -448,51 +411,46 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData build 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_; onChanged(); @@ -519,9 +477,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -533,21 +489,19 @@ public Builder mergeFrom( 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; @@ -556,22 +510,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 { @@ -579,80 +532,70 @@ 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) { + public Builder setDialogflowIntentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowIntentId_ = value; 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() { - + dialogflowIntentId_ = getDefaultInstance().getDialogflowIntentId(); onChanged(); 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) { + public Builder setDialogflowIntentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowIntentId_ = value; onChanged(); 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 @@ -660,45 +603,39 @@ 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; 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() { - + confidence_ = 0F; 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); } @@ -708,32 +645,30 @@ 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 { - return new DialogflowInteractionData(input, extensionRegistry); - } - }; + 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 { + return new DialogflowInteractionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,8 +680,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java similarity index 58% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java index d6217d5d..7a5fc37e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java index 156fe21a..8a7c0ca7 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private DialogflowSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DialogflowSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowConversation_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + dialogflowConversation_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + audioUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private DialogflowSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object dialogflowConversation_; /** - * - * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -133,7 +110,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 @@ -142,15 +118,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:
@@ -158,15 +133,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 { @@ -177,15 +153,12 @@ public com.google.protobuf.ByteString getDialogflowConversationBytes() { public static final int AUDIO_URI_FIELD_NUMBER = 3; 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 @@ -194,30 +167,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 { @@ -226,7 +199,6 @@ public com.google.protobuf.ByteString getAudioUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +210,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_); } @@ -268,16 +241,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +273,117 @@ 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() @@ -427,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +412,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 @@ -468,8 +433,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.DialogflowSource result = new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); result.dialogflowConversation_ = dialogflowConversation_; result.audioUri_ = audioUri_; onBuilt(); @@ -480,39 +444,38 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource 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.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; @@ -520,8 +483,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_; onChanged(); @@ -549,8 +511,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,8 +523,6 @@ public Builder mergeFrom( private java.lang.Object dialogflowConversation_ = ""; /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -571,13 +530,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; @@ -586,8 +545,6 @@ public java.lang.String getDialogflowConversation() { } } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -595,14 +552,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 { @@ -610,8 +568,6 @@ public com.google.protobuf.ByteString getDialogflowConversationBytes() { } } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -619,22 +575,20 @@ 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) { + public Builder setDialogflowConversation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowConversation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -642,18 +596,15 @@ 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() { - + dialogflowConversation_ = getDefaultInstance().getDialogflowConversation(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -661,16 +612,16 @@ 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) { + public Builder setDialogflowConversationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowConversation_ = value; onChanged(); return this; @@ -678,21 +629,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; @@ -701,22 +650,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 { @@ -724,71 +672,64 @@ 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) { + public Builder setAudioUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = 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); } @@ -798,12 +739,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(); } @@ -812,16 +753,16 @@ 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 { - return new DialogflowSource(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java index 8e3dc711..c3429c3d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java index 6bb2d94e..8ee57d45 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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;
   }
-
   private Entity(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,64 +57,56 @@ private Entity(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            displayName_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
-            }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                metadata_ =
-                    com.google.protobuf.MapField.newMapField(
-                        MetadataDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry metadata__ =
-                  input.readMessage(
-                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
-              break;
+            type_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              metadata_ = com.google.protobuf.MapField.newMapField(
+                  MetadataDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 37:
-            {
-              salience_ = input.readFloat();
-              break;
+            com.google.protobuf.MapEntry
+            metadata__ = input.readMessage(
+                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            metadata_.getMutableMap().put(
+                metadata__.getKey(), metadata__.getValue());
+            break;
+          }
+          case 37: {
+
+            salience_ = input.readFloat();
+            break;
+          }
+          case 42: {
+            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+            if (sentiment_ != null) {
+              subBuilder = sentiment_.toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-              if (sentiment_ != null) {
-                subBuilder = sentiment_.toBuilder();
-              }
-              sentiment_ =
-                  input.readMessage(
-                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sentiment_);
-                sentiment_ = subBuilder.buildPartial();
-              }
-
-              break;
+            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sentiment_);
+              sentiment_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -139,42 +114,39 @@ private Entity(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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
@@ -184,10 +156,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.
      * 
@@ -196,8 +167,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Person.
      * 
@@ -206,8 +175,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PERSON(1), /** - * - * *
      * Location.
      * 
@@ -216,8 +183,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION(2), /** - * - * *
      * Organization.
      * 
@@ -226,8 +191,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ORGANIZATION(3), /** - * - * *
      * Event.
      * 
@@ -236,8 +199,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ EVENT(4), /** - * - * *
      * Artwork.
      * 
@@ -246,8 +207,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ WORK_OF_ART(5), /** - * - * *
      * Consumer product.
      * 
@@ -256,8 +215,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CONSUMER_GOOD(6), /** - * - * *
      * Other types of entities.
      * 
@@ -266,8 +223,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ OTHER(7), /** - * - * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -284,8 +239,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     PHONE_NUMBER(9),
     /**
-     *
-     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -306,8 +259,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ADDRESS(10),
     /**
-     *
-     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -320,8 +271,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     DATE(11),
     /**
-     *
-     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -331,8 +280,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     NUMBER(12),
     /**
-     *
-     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -345,8 +292,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified.
      * 
@@ -355,8 +300,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Person.
      * 
@@ -365,8 +308,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSON_VALUE = 1; /** - * - * *
      * Location.
      * 
@@ -375,8 +316,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_VALUE = 2; /** - * - * *
      * Organization.
      * 
@@ -385,8 +324,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ORGANIZATION_VALUE = 3; /** - * - * *
      * Event.
      * 
@@ -395,8 +332,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_VALUE = 4; /** - * - * *
      * Artwork.
      * 
@@ -405,8 +340,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORK_OF_ART_VALUE = 5; /** - * - * *
      * Consumer product.
      * 
@@ -415,8 +348,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONSUMER_GOOD_VALUE = 6; /** - * - * *
      * Other types of entities.
      * 
@@ -425,8 +356,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
@@ -443,8 +372,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
@@ -465,8 +392,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:
@@ -479,8 +404,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DATE_VALUE = 11;
     /**
-     *
-     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -490,8 +413,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NUMBER_VALUE = 12;
     /**
-     *
-     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -501,6 +422,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(
@@ -525,69 +447,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;
@@ -607,14 +519,11 @@ private Type(int value) {
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object displayName_;
   /**
-   *
-   *
    * 
    * The representative name for the entity.
    * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -623,29 +532,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 { @@ -656,59 +565,49 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = - com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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, + ""); } - - 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_; } @@ -717,8 +616,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -728,22 +625,22 @@ 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`)
@@ -754,12 +651,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   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`)
@@ -770,17 +666,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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`)
@@ -791,11 +686,12 @@ public 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();
     }
@@ -805,8 +701,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int SALIENCE_FIELD_NUMBER = 4;
   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
@@ -816,7 +710,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * float salience = 4; - * * @return The salience. */ @java.lang.Override @@ -827,14 +720,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 @@ -842,25 +732,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.
    * 
@@ -873,7 +756,6 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -885,16 +767,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_); } @@ -913,25 +799,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -941,22 +829,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -978,7 +869,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(); @@ -988,104 +880,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
@@ -1094,43 +979,43 @@ 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()
@@ -1138,15 +1023,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1167,9 +1053,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
@@ -1188,8 +1074,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.Entity result = new com.google.cloud.contactcenterinsights.v1.Entity(this);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.type_ = type_;
@@ -1209,39 +1094,38 @@ public com.google.cloud.contactcenterinsights.v1.Entity 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.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;
@@ -1249,8 +1133,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_;
         onChanged();
@@ -1258,7 +1141,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());
       if (other.getSalience() != 0F) {
         setSalience(other.getSalience());
       }
@@ -1293,25 +1177,22 @@ public Builder mergeFrom(
       }
       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; @@ -1320,21 +1201,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 { @@ -1342,61 +1222,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The representative name for the entity.
      * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1404,67 +1277,51 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = - com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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. */ @@ -1472,45 +1329,42 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.Entity.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -1522,8 +1376,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1533,22 +1385,22 @@ 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`)
@@ -1559,12 +1411,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     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`)
@@ -1575,17 +1426,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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`)
@@ -1596,11 +1446,12 @@ public 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();
       }
@@ -1608,12 +1459,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      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`)
@@ -1623,21 +1473,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1647,20 +1499,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1670,15 +1521,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);
       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
@@ -1688,7 +1540,6 @@ public Builder putAllMetadata(java.util.Map
      * 
* * float salience = 4; - * * @return The salience. */ @java.lang.Override @@ -1696,8 +1547,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
@@ -1707,19 +1556,16 @@ public float getSalience() {
      * 
* * float salience = 4; - * * @param value The salience to set. * @return This builder for chaining. */ public Builder setSalience(float value) { - + salience_ = value; 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
@@ -1729,11 +1575,10 @@ public Builder setSalience(float value) {
      * 
* * float salience = 4; - * * @return This builder for chaining. */ public Builder clearSalience() { - + salience_ = 0F; onChanged(); return this; @@ -1741,47 +1586,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 sentimentBuilder_ != null || sentiment_ != null; } /** - * - * *
      * 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.
      * 
@@ -1802,8 +1634,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1822,8 +1652,6 @@ public Builder setSentiment( return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1834,9 +1662,7 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); } else { sentiment_ = value; } @@ -1848,8 +1674,6 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1868,8 +1692,6 @@ public Builder clearSentiment() { return this; } /** - * - * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1877,32 +1699,26 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1910,24 +1726,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); } @@ -1937,12 +1750,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(); } @@ -1951,16 +1764,16 @@ 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 { - return new Entity(input, extensionRegistry); - } - }; + 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 { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1975,4 +1788,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java index 50af599c..66b43556 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private EntityMentionData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,44 +55,38 @@ private EntityMentionData(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              entityUniqueId_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            entityUniqueId_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              type_ = rawValue;
-              break;
+            type_ = rawValue;
+            break;
+          }
+          case 26: {
+            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+            if (sentiment_ != null) {
+              subBuilder = sentiment_.toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-              if (sentiment_ != null) {
-                subBuilder = sentiment_.toBuilder();
-              }
-              sentiment_ =
-                  input.readMessage(
-                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(sentiment_);
-                sentiment_ = subBuilder.buildPartial();
-              }
-
-              break;
+            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(sentiment_);
+              sentiment_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -117,41 +94,36 @@ private EntityMentionData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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.
      * 
@@ -160,8 +132,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ MENTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * Proper noun.
      * 
@@ -170,8 +140,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ PROPER(1), /** - * - * *
      * Common noun (or noun compound).
      * 
@@ -183,8 +151,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -193,8 +159,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MENTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Proper noun.
      * 
@@ -203,8 +167,6 @@ public enum MentionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROPER_VALUE = 1; /** - * - * *
      * Common noun (or noun compound).
      * 
@@ -213,6 +175,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( @@ -237,51 +200,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< + MentionType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MentionType findValueByNumber(int number) { + return MentionType.forNumber(number); + } + }; - 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() { + 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; @@ -301,15 +262,12 @@ private MentionType(int value) { public static final int ENTITY_UNIQUE_ID_FIELD_NUMBER = 1; 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 @@ -318,30 +276,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 { @@ -352,52 +310,38 @@ public com.google.protobuf.ByteString getEntityUniqueIdBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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 @@ -405,25 +349,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.
    * 
@@ -436,7 +373,6 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,14 +384,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) { @@ -473,14 +407,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -490,19 +423,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -529,104 +463,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.
@@ -634,23 +560,21 @@ 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()
@@ -658,15 +582,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -684,9 +609,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
@@ -705,8 +630,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.EntityMentionData result = new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
       result.entityUniqueId_ = entityUniqueId_;
       result.type_ = type_;
       if (sentimentBuilder_ == null) {
@@ -722,39 +646,38 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData 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.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;
@@ -762,8 +685,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_;
         onChanged();
@@ -793,8 +715,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -806,21 +727,19 @@ public Builder mergeFrom(
 
     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; @@ -829,22 +748,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 { @@ -852,64 +770,57 @@ 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) { + public Builder setEntityUniqueId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityUniqueId_ = value; 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() { - + entityUniqueId_ = getDefaultInstance().getEntityUniqueId(); 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; - * * @param value The bytes for entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value) { + public Builder setEntityUniqueIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityUniqueId_ = value; onChanged(); return this; @@ -917,93 +828,73 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -1011,47 +902,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 sentimentBuilder_ != null || sentiment_ != null; } /** - * - * *
      * 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.
      * 
@@ -1072,8 +950,6 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1092,8 +968,6 @@ public Builder setSentiment( return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1104,9 +978,7 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); } else { sentiment_ = value; } @@ -1118,8 +990,6 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1138,8 +1008,6 @@ public Builder clearSentiment() { return this; } /** - * - * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1147,32 +1015,26 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1180,24 +1042,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); } @@ -1207,12 +1066,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(); } @@ -1221,16 +1080,16 @@ 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 { - return new EntityMentionData(input, extensionRegistry); - } - }; + 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 { + return new EntityMentionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,4 +1104,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.EntityMentionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java index 998caaca..c9d5746e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java similarity index 78% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java index ab05234b..65ea6820 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java +++ b/owl-bot-staging/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`)
@@ -129,13 +99,11 @@ public interface EntityOrBuilder
    */
 
   /* 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`)
@@ -145,11 +113,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
@@ -159,38 +127,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java index 9734ef17..20a3c560 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ExactMatchConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,18 +52,18 @@ private ExactMatchConfig( case 0: done = true; break; - case 8: - { - caseSensitive_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + caseSensitive_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,39 +71,34 @@ private ExactMatchConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * Whether to consider case sensitivity when performing an exact match.
    * 
* * bool case_sensitive = 1; - * * @return The caseSensitive. */ @java.lang.Override @@ -128,7 +107,6 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +118,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_); } @@ -154,7 +133,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -164,15 +144,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -185,134 +165,125 @@ 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) + unknownFields.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() @@ -320,15 +291,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -338,9 +310,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 @@ -359,8 +331,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); result.caseSensitive_ = caseSensitive_; onBuilt(); return result; @@ -370,39 +341,38 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig 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.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; @@ -410,8 +380,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()); } @@ -434,8 +403,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,16 +413,13 @@ public Builder mergeFrom( return this; } - 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 @@ -462,43 +427,37 @@ 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; 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() { - + caseSensitive_ = false; 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); } @@ -508,12 +467,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(); } @@ -522,16 +481,16 @@ 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 { - return new ExactMatchConfig(input, extensionRegistry); - } - }; + 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 { + return new ExactMatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -546,4 +505,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java new file mode 100644 index 00000000..46f96da9 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java index 074ff17b..8d22f573 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ExportInsightsDataMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,71 +54,61 @@ private ExportInsightsDataMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder - subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - partialErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - partialErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + partialErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + partialErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -143,7 +116,8 @@ private ExportInsightsDataMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); @@ -152,34 +126,27 @@ private ExportInsightsDataMetadata( makeExtensionsImmutable(); } } - - 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 @@ -187,15 +154,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 @@ -203,14 +166,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() { @@ -220,15 +180,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 @@ -236,15 +192,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 @@ -252,14 +204,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() { @@ -269,14 +218,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 @@ -284,25 +230,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.
    * 
@@ -310,16 +249,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder getRequestOrBuilder() { return getRequest(); } public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; private java.util.List partialErrors_; /** - * - * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -332,8 +268,6 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -342,12 +276,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.
@@ -360,8 +293,6 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -374,8 +305,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.
@@ -384,12 +313,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;
@@ -401,7 +330,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());
     }
@@ -424,16 +354,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -443,27 +377,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -497,147 +434,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPartialErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -669,16 +594,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 @@ -692,8 +615,7 @@ 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); int from_bitField0_ = bitField0_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -727,51 +649,46 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata 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.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()); } @@ -799,10 +716,9 @@ public Builder mergeFrom( partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000001); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPartialErrorsFieldBuilder() - : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPartialErrorsFieldBuilder() : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -827,9 +743,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -838,63 +752,43 @@ public Builder mergeFrom( } 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 createTimeBuilder_ != null || 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. */ 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) { @@ -910,17 +804,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(); onChanged(); @@ -931,21 +822,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -957,15 +844,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() { if (createTimeBuilder_ == null) { @@ -979,64 +862,48 @@ 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() { - + onChanged(); 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_; @@ -1044,35 +911,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1083,14 +939,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) { @@ -1106,16 +959,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(); onChanged(); @@ -1126,20 +977,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1151,14 +999,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() { if (endTimeBuilder_ == null) { @@ -1172,59 +1017,48 @@ 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() { - + onChanged(); 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_; @@ -1232,56 +1066,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1295,8 +1114,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for export.
      * 
@@ -1304,8 +1121,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(); onChanged(); @@ -1316,23 +1132,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder( - request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1344,8 +1154,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for export.
      * 
@@ -1364,43 +1172,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() { + 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.
      * 
@@ -1408,39 +1206,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_ & 0x00000001) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -1456,8 +1247,6 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1473,8 +1262,6 @@ public int getPartialErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1490,8 +1277,6 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1499,7 +1284,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();
@@ -1513,8 +1299,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.
@@ -1522,7 +1306,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());
@@ -1533,8 +1318,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.
@@ -1556,8 +1339,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.
@@ -1565,7 +1346,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();
@@ -1579,8 +1361,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.
@@ -1588,7 +1368,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());
@@ -1599,8 +1380,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.
@@ -1608,7 +1387,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());
@@ -1619,8 +1399,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.
@@ -1628,10 +1406,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);
@@ -1639,8 +1419,6 @@ public Builder addAllPartialErrors(java.lang.Iterable
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1659,8 +1437,6 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1679,8 +1455,6 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1688,12 +1462,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.
@@ -1701,16 +1474,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.
@@ -1718,8 +1489,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 {
@@ -1727,8 +1498,6 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1737,11 +1506,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.
@@ -1749,13 +1517,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.
@@ -1763,19 +1530,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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1784,9 +1548,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);
     }
 
@@ -1796,32 +1560,30 @@ 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 {
-          return new ExportInsightsDataMetadata(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new ExportInsightsDataMetadata(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1833,8 +1595,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
similarity index 72%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
index f7975a42..64ecfb1a 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
+++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
similarity index 64%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
index fea7d248..ec3d1308 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
+++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ExportInsightsDataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,68 +56,51 @@ private ExportInsightsDataRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_).toBuilder(); } - case 18: - { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.Builder - subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_) - .toBuilder(); - } - destination_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - destination_); - destination_ = subBuilder.buildPartial(); - } - destinationCase_ = 2; - break; + destination_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); + destination_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + destinationCase_ = 2; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - kmsKey_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + kmsKey_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); - writeDisposition_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + writeDisposition_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -142,42 +108,36 @@ private ExportInsightsDataRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -186,8 +146,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.
@@ -197,8 +155,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum
      */
     WRITE_TRUNCATE(1),
     /**
-     *
-     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -210,8 +166,6 @@ public enum WriteDisposition implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -220,8 +174,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.
@@ -231,8 +183,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.
      * 
@@ -241,6 +191,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( @@ -265,45 +216,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(); @@ -311,7 +257,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; @@ -328,14 +275,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,
@@ -343,13 +287,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,
@@ -357,14 +298,12 @@ 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
@@ -372,13 +311,10 @@ public interface BigQueryDestinationOrBuilder
      * 
* * 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
@@ -386,14 +322,12 @@ public interface BigQueryDestinationOrBuilder
      * 
* * 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
@@ -401,13 +335,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
@@ -415,31 +346,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_ = ""; @@ -448,15 +375,16 @@ 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; } - private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -475,34 +403,31 @@ private BigQueryDestination( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + table_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + projectId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -510,35 +435,29 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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,
@@ -546,7 +465,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string project_id = 3; - * * @return The projectId. */ @java.lang.Override @@ -555,15 +473,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,
@@ -571,15 +488,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 { @@ -590,8 +508,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int DATASET_FIELD_NUMBER = 1; 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
@@ -599,7 +515,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The dataset. */ @java.lang.Override @@ -608,15 +523,14 @@ 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
@@ -624,15 +538,16 @@ 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 { @@ -643,8 +558,6 @@ public com.google.protobuf.ByteString getDatasetBytes() { public static final int TABLE_FIELD_NUMBER = 2; 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
@@ -652,7 +565,6 @@ public com.google.protobuf.ByteString getDatasetBytes() {
      * 
* * string table = 2; - * * @return The table. */ @java.lang.Override @@ -661,15 +573,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
@@ -677,15 +588,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 { @@ -694,7 +606,6 @@ public com.google.protobuf.ByteString getTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -706,7 +617,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_); } @@ -742,23 +654,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -781,114 +689,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 @@ -898,53 +780,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -958,23 +831,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); } @@ -982,12 +851,8 @@ 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); + 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); result.projectId_ = projectId_; result.dataset_ = dataset_; result.table_ = table_; @@ -999,59 +864,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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_; onChanged(); @@ -1079,15 +931,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination - parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest - .BigQueryDestination) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1099,8 +947,6 @@ public Builder mergeFrom( 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,
@@ -1108,13 +954,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; @@ -1123,8 +969,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,
@@ -1132,14 +976,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 { @@ -1147,8 +992,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,
@@ -1156,22 +999,20 @@ 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) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; 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,
@@ -1179,18 +1020,15 @@ public Builder setProjectId(java.lang.String value) {
        * 
* * string project_id = 3; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); 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,
@@ -1198,16 +1036,16 @@ 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) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1215,8 +1053,6 @@ 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
@@ -1224,13 +1060,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
        * 
* * 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; @@ -1239,8 +1075,6 @@ 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
@@ -1248,14 +1082,15 @@ 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 { @@ -1263,8 +1098,6 @@ 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
@@ -1272,22 +1105,20 @@ public com.google.protobuf.ByteString getDatasetBytes() {
        * 
* * 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) { + public Builder setDataset( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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
@@ -1295,18 +1126,15 @@ public Builder setDataset(java.lang.String value) {
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); 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
@@ -1314,16 +1142,16 @@ 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) { + public Builder setDatasetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -1331,8 +1159,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
@@ -1340,13 +1166,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; @@ -1355,8 +1181,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
@@ -1364,14 +1188,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 { @@ -1379,8 +1204,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
@@ -1388,22 +1211,20 @@ 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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
@@ -1411,18 +1232,15 @@ public Builder setTable(java.lang.String value) {
        * 
* * string table = 2; - * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); 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
@@ -1430,21 +1248,20 @@ 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) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1457,36 +1274,30 @@ 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 { - return new BigQueryDestination(input, extensionRegistry); - } - }; + 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 { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1498,23 +1309,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; } @@ -1530,36 +1338,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 @@ -1567,66 +1368,43 @@ 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; 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 @@ -1635,31 +1413,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 { @@ -1670,15 +1446,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -1687,30 +1460,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 { @@ -1721,8 +1494,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int KMS_KEY_FIELD_NUMBER = 4; private volatile java.lang.Object kmsKey_; /** - * - * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1730,7 +1501,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string kms_key = 4; - * * @return The kmsKey. */ @java.lang.Override @@ -1739,15 +1509,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:
@@ -1755,15 +1524,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 { @@ -1774,50 +1544,31 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { public static final int WRITE_DISPOSITION_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .valueOf(writeDisposition_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(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; @@ -1829,15 +1580,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_); @@ -1845,10 +1594,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_); } unknownFields.writeTo(output); @@ -1864,12 +1610,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_); @@ -1877,11 +1619,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1891,22 +1631,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: @@ -1944,145 +1687,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2100,16 +1832,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 @@ -2123,8 +1853,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); if (destinationCase_ == 2) { if (bigQueryDestinationBuilder_ == null) { result.destination_ = destination_; @@ -2145,51 +1874,46 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest build 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_; onChanged(); @@ -2206,15 +1930,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.unknownFields); onChanged(); @@ -2235,9 +1957,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2246,12 +1966,12 @@ public Builder mergeFrom( } 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() { @@ -2261,24 +1981,15 @@ public Builder clearDestination() { return this; } + 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 @@ -2286,51 +1997,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(); @@ -2344,20 +2039,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(); @@ -2368,32 +2057,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; } @@ -2409,15 +2084,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) { @@ -2436,111 +2107,73 @@ 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; } destinationCase_ = 2; - onChanged(); - ; + onChanged();; return bigQueryDestinationBuilder_; } 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; @@ -2549,23 +2182,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 { @@ -2573,67 +2203,54 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -2641,21 +2258,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; @@ -2664,22 +2279,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 { @@ -2687,64 +2301,57 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -2752,8 +2359,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:
@@ -2761,13 +2366,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; @@ -2776,8 +2381,6 @@ public java.lang.String getKmsKey() { } } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2785,14 +2388,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 { @@ -2800,8 +2404,6 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { } } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2809,22 +2411,20 @@ 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) { + public Builder setKmsKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKey_ = value; onChanged(); return this; } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2832,18 +2432,15 @@ public Builder setKmsKey(java.lang.String value) {
      * 
* * string kms_key = 4; - * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = getDefaultInstance().getKmsKey(); onChanged(); return this; } /** - * - * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2851,16 +2448,16 @@ 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) { + public Builder setKmsKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKey_ = value; onChanged(); return this; @@ -2868,114 +2465,80 @@ 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. */ public Builder setWriteDispositionValue(int value) { - + writeDisposition_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .valueOf(writeDisposition_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(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(); } - + writeDisposition_ = value.getNumber(); onChanged(); 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() { - + writeDisposition_ = 0; 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); } @@ -2985,32 +2548,30 @@ 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 { - return new ExportInsightsDataRequest(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3022,8 +2583,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java index d49fc829..52741507 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java index 9bb2ce79..8a0cfd2b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ExportInsightsDataResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ExportInsightsDataResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ExportInsightsDataResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,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 @@ -329,8 +297,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; } @@ -339,51 +306,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.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -426,32 +386,30 @@ 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 { - return new ExportInsightsDataResponse(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java new file mode 100644 index 00000000..9971c70c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java index 39fabb52..3d909e54 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private FaqAnswerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,61 +57,55 @@ private FaqAnswerData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - answer_ = s; - break; - } - case 21: - { - confidenceScore_ = input.readFloat(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + answer_ = s; + break; + } + case 21: { - question_ = s; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + confidenceScore_ = input.readFloat(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; + question_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + queryRecord_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + source_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -136,50 +113,46 @@ private FaqAnswerData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -188,29 +161,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 { @@ -221,8 +194,6 @@ public com.google.protobuf.ByteString getAnswerBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -230,7 +201,6 @@ public com.google.protobuf.ByteString getAnswerBytes() {
    * 
* * float confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -241,14 +211,11 @@ public float getConfidenceScore() { public static final int QUESTION_FIELD_NUMBER = 3; private volatile java.lang.Object question_; /** - * - * *
    * The corresponding FAQ question.
    * 
* * string question = 3; - * * @return The question. */ @java.lang.Override @@ -257,29 +224,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 { @@ -288,23 +255,24 @@ 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, + ""); } - - 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_; } @@ -313,8 +281,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -322,22 +288,22 @@ 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.
@@ -346,12 +312,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -360,17 +325,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -379,11 +343,12 @@ public 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();
     }
@@ -393,8 +358,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -402,7 +365,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 5; - * * @return The queryRecord. */ @java.lang.Override @@ -411,15 +373,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:
@@ -427,15 +388,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 { @@ -446,8 +408,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** - * - * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -455,7 +415,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() {
    * 
* * string source = 6; - * * @return The source. */ @java.lang.Override @@ -464,15 +423,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:
@@ -480,15 +438,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 { @@ -497,7 +456,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,7 +467,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_); } @@ -519,8 +478,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_); } @@ -540,20 +503,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_); @@ -569,21 +533,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -598,7 +567,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()) { @@ -615,147 +585,139 @@ 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() @@ -763,15 +725,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -790,9 +753,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 @@ -811,8 +774,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); int from_bitField0_ = bitField0_; result.answer_ = answer_; result.confidenceScore_ = confidenceScore_; @@ -829,39 +791,38 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData 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.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; @@ -869,8 +830,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_; onChanged(); @@ -882,7 +842,8 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData question_ = other.question_; onChanged(); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -910,8 +871,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -920,25 +880,22 @@ public Builder mergeFrom( } 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; @@ -947,21 +904,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 { @@ -969,70 +925,61 @@ 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) { + public Builder setAnswer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + answer_ = value; onChanged(); return this; } /** - * - * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; - * * @return This builder for chaining. */ public Builder clearAnswer() { - + answer_ = getDefaultInstance().getAnswer(); onChanged(); 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) { + public Builder setAnswerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + answer_ = value; onChanged(); 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
@@ -1040,7 +987,6 @@ public Builder setAnswerBytes(com.google.protobuf.ByteString value) {
      * 
* * float confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -1048,8 +994,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
@@ -1057,19 +1001,16 @@ 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; 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
@@ -1077,11 +1018,10 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); return this; @@ -1089,20 +1029,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; @@ -1111,21 +1049,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 { @@ -1133,82 +1070,75 @@ 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) { + public Builder setQuestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + question_ = value; onChanged(); return this; } /** - * - * *
      * The corresponding FAQ question.
      * 
* * string question = 3; - * * @return This builder for chaining. */ public Builder clearQuestion() { - + question_ = getDefaultInstance().getQuestion(); onChanged(); 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) { + public Builder setQuestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + question_ = value; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -1220,8 +1150,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1229,22 +1157,22 @@ 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.
@@ -1253,12 +1181,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1267,17 +1194,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1286,11 +1212,12 @@ public 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();
       }
@@ -1298,12 +1225,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1311,21 +1237,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1333,20 +1261,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1354,15 +1281,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1370,13 +1298,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 +1313,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1394,14 +1320,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 +1336,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1418,22 +1343,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1441,18 +1364,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 5; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1460,16 +1380,16 @@ 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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1477,8 +1397,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 +1404,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 +1419,6 @@ public java.lang.String getSource() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1510,14 +1426,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 +1442,6 @@ public com.google.protobuf.ByteString getSourceBytes() { } } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1534,22 +1449,20 @@ 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) { + public Builder setSource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1557,18 +1470,15 @@ public Builder setSource(java.lang.String value) {
      * 
* * string source = 6; - * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** - * - * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1576,23 +1486,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) { + public Builder setSourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1602,12 +1512,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(); } @@ -1616,16 +1526,16 @@ 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 { - return new FaqAnswerData(input, extensionRegistry); - } - }; + 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 { + return new FaqAnswerData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1640,4 +1550,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java index c1516b0c..0ab35191 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -136,13 +104,11 @@ public interface FaqAnswerDataOrBuilder
    */
 
   /* 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.
@@ -150,11 +116,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:
@@ -162,13 +128,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 5; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -176,14 +139,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:
@@ -191,13 +152,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:
@@ -205,8 +163,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java index 2e3fd646..264abf83 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private GcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + audioUri_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - transcriptUri_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transcriptUri_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,40 +80,35 @@ private GcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -141,30 +117,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 { @@ -175,15 +151,12 @@ public com.google.protobuf.ByteString getAudioUriBytes() { public static final int TRANSCRIPT_URI_FIELD_NUMBER = 2; 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 @@ -192,30 +165,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 { @@ -224,7 +197,6 @@ public com.google.protobuf.ByteString getTranscriptUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +208,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_); } @@ -266,16 +239,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,126 +271,117 @@ 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() @@ -424,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +410,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 @@ -465,8 +431,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GcsSource result = new com.google.cloud.contactcenterinsights.v1.GcsSource(this); result.audioUri_ = audioUri_; result.transcriptUri_ = transcriptUri_; onBuilt(); @@ -477,39 +442,38 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource 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.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; @@ -517,8 +481,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_; onChanged(); @@ -546,8 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -559,21 +521,19 @@ public Builder mergeFrom( 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; @@ -582,22 +542,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 { @@ -605,64 +564,57 @@ 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) { + public Builder setAudioUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = value; onChanged(); return this; @@ -670,21 +622,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.
      * 
* * 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; @@ -693,22 +643,21 @@ 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 { @@ -716,71 +665,64 @@ public com.google.protobuf.ByteString getTranscriptUriBytes() { } } /** - * - * *
      * 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) { + public Builder setTranscriptUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcriptUri_ = value; 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() { - + transcriptUri_ = getDefaultInstance().getTranscriptUri(); 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]; - * * @param value The bytes for transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUriBytes(com.google.protobuf.ByteString value) { + public Builder setTranscriptUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcriptUri_ = 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); } @@ -790,12 +732,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(); } @@ -804,16 +746,16 @@ 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 { - return new GcsSource(input, extensionRegistry); - } - }; + 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 { + return new GcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java index 509047f4..d83b0bd8 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java +++ b/owl-bot-staging/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.
    * 
* * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java index cb6faeb7..90501294 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAnalysisRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest 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.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; @@ -450,9 +411,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_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( 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; @@ -513,23 +467,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 { @@ -537,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -614,13 +552,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(); } @@ -629,16 +566,16 @@ 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 { - return new GetAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..d438a1fa --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java index efd0e027..924b421e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private GetConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetConversationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private GetConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -142,31 +116,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 { @@ -177,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -225,13 +185,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_); } unknownFields.writeTo(output); @@ -246,10 +205,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,15 +217,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -290,127 +248,117 @@ 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() @@ -418,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -438,14 +387,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(); } @@ -460,8 +408,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -472,50 +419,46 @@ public com.google.cloud.contactcenterinsights.v1.GetConversationRequest buildPar 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_; onChanged(); @@ -542,9 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,22 +497,18 @@ public Builder mergeFrom( 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; @@ -580,23 +517,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 { @@ -604,67 +538,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -672,67 +593,51 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -740,31 +645,28 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -774,32 +676,30 @@ 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 { - return new GetConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new GetConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -811,8 +711,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java index 754361b1..94a3e47a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java index 12ecac1f..f36394b9 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest buildParti 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; @@ -450,9 +411,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_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( 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; @@ -514,23 +467,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 { @@ -538,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -615,32 +552,30 @@ 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 { - return new GetIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..bd12548f --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java index 5c8fd73d..2f3f8e8d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetIssueRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new GetIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java new file mode 100644 index 00000000..8997efd0 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java index 3bd768cd..04a63567 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetPhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPhraseMatcherRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetPhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,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(); } @@ -401,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest buildPa 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_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( 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; @@ -517,23 +467,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 { @@ -541,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -618,32 +552,30 @@ 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 { - return new GetPhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new GetPhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..cab6c263 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java index e18b706a..fc8c5b9c 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest 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.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; @@ -450,9 +411,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_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( 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; @@ -513,23 +467,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 { @@ -537,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -614,13 +552,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(); } @@ -629,16 +566,16 @@ 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 { - return new GetSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java new file mode 100644 index 00000000..85f0a8f8 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java index e876b639..2bd8d172 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private GetViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetViewRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetViewRequest result = new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.GetViewRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new GetViewRequest(input, extensionRegistry); - } - }; + 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 { + return new GetViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java new file mode 100644 index 00000000..b6c09961 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java index 13a7defa..81136db5 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private HoldData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private HoldData( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private HoldData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,126 +141,117 @@ 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() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,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 @@ -324,8 +297,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; } @@ -334,39 +306,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; @@ -374,8 +345,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.unknownFields); onChanged(); return this; @@ -395,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -405,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -417,12 +386,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(); } @@ -431,16 +400,16 @@ 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 { - return new HoldData(input, extensionRegistry); - } - }; + 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 { + return new HoldData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -455,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java new file mode 100644 index 00000000..069cce42 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java index bdc9356e..85245c92 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private Intent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Intent(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              id_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            id_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private Intent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private volatile java.lang.Object id_;
   /**
-   *
-   *
    * 
    * The unique identifier of the intent.
    * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -141,29 +117,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 { @@ -174,14 +150,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -190,29 +163,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 { @@ -221,7 +194,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +205,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_); } @@ -263,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,104 +267,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.
@@ -398,23 +365,21 @@ 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()
@@ -422,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -442,9 +408,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
@@ -463,8 +429,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.Intent result = new com.google.cloud.contactcenterinsights.v1.Intent(this);
       result.id_ = id_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -475,39 +440,38 @@ public com.google.cloud.contactcenterinsights.v1.Intent 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.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;
@@ -515,8 +479,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_;
         onChanged();
@@ -556,20 +519,18 @@ public Builder mergeFrom(
 
     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; @@ -578,21 +539,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 { @@ -600,61 +560,54 @@ 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) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the intent.
      * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -662,20 +615,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; @@ -684,21 +635,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 { @@ -706,68 +656,61 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -777,12 +720,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(); } @@ -791,16 +734,16 @@ 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 { - return new Intent(input, extensionRegistry); - } - }; + 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 { + return new Intent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java index 1f012cd6..772221f4 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java +++ b/owl-bot-staging/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,31 +13,31 @@
  *
  * 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;
   }
-
   private IntentMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,20 +56,19 @@ private IntentMatchData(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              intentUniqueId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            intentUniqueId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,40 +76,35 @@ private IntentMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -136,30 +113,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 { @@ -168,7 +145,6 @@ public com.google.protobuf.ByteString getIntentUniqueIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,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(intentUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intentUniqueId_); } @@ -204,15 +181,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,104 +209,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
@@ -339,23 +308,21 @@ 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()
@@ -363,15 +330,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -381,9 +349,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
@@ -402,8 +370,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.IntentMatchData result = new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
       result.intentUniqueId_ = intentUniqueId_;
       onBuilt();
       return result;
@@ -413,39 +380,38 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData 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.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;
@@ -453,8 +419,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_;
         onChanged();
@@ -478,8 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -491,21 +455,19 @@ public Builder mergeFrom(
 
     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; @@ -514,22 +476,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 { @@ -537,71 +498,64 @@ 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) { + public Builder setIntentUniqueId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + intentUniqueId_ = value; 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() { - + intentUniqueId_ = getDefaultInstance().getIntentUniqueId(); onChanged(); 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) { + public Builder setIntentUniqueIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intentUniqueId_ = 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); } @@ -611,12 +565,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(); } @@ -625,16 +579,16 @@ 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 { - return new IntentMatchData(input, extensionRegistry); - } - }; + 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 { + return new IntentMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -649,4 +603,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java similarity index 52% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java index e62221e8..8775dedd 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java similarity index 55% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java index 398131ce..803f52de 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java index b69d67df..2becdf9b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private InterruptionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private InterruptionData( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private InterruptionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ 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() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,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 @@ -325,8 +297,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; } @@ -335,39 +306,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; @@ -375,8 +345,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.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,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(); } @@ -432,16 +400,16 @@ 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 { - return new InterruptionData(input, extensionRegistry); - } - }; + 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 { + return new InterruptionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.InterruptionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java new file mode 100644 index 00000000..5e379cd6 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java index 439f7250..a056e25a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java +++ b/owl-bot-staging/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_ = ""; @@ -44,15 +26,16 @@ 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; } - private Issue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Issue( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,33 +106,29 @@ private Issue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -163,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -172,15 +144,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:
@@ -188,15 +159,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 { @@ -207,14 +179,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The representative name for the issue.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -223,29 +192,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 { @@ -256,15 +225,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 @@ -272,15 +237,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 @@ -288,14 +249,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() { @@ -305,15 +263,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 @@ -321,15 +275,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 @@ -337,14 +287,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() { @@ -352,7 +299,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,7 +310,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_); } @@ -393,10 +340,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -406,23 +355,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -452,127 +404,118 @@ 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() @@ -580,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -612,9 +556,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 @@ -633,8 +577,7 @@ 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); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -655,39 +598,38 @@ public com.google.cloud.contactcenterinsights.v1.Issue 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.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; @@ -695,8 +637,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_; onChanged(); @@ -742,8 +683,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -751,13 +690,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; @@ -766,8 +705,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -775,14 +712,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 { @@ -790,8 +728,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -799,22 +735,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -822,18 +756,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -841,16 +772,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -858,20 +789,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; @@ -880,21 +809,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 { @@ -902,61 +830,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The representative name for the issue.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -964,58 +885,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1031,17 +933,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(); onChanged(); @@ -1052,21 +951,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1078,15 +973,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() { if (createTimeBuilder_ == null) { @@ -1100,64 +991,48 @@ 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() { - + onChanged(); 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_; @@ -1165,58 +1040,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1232,17 +1088,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(); onChanged(); @@ -1253,21 +1106,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1279,15 +1128,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() { if (updateTimeBuilder_ == null) { @@ -1301,71 +1146,55 @@ 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() { - + onChanged(); 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_; } - @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); } @@ -1375,12 +1204,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(); } @@ -1389,16 +1218,16 @@ 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 { - return new Issue(input, extensionRegistry); - } - }; + 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 { + return new Issue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1413,4 +1242,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java index d52531ac..d329e884 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private IssueAssignment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private IssueAssignment( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issue_ = s; - break; - } - case 17: - { - score_ = input.readDouble(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 17: { - displayName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + score_ = input.readDouble(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private IssueAssignment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object issue_; /** - * - * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; - * * @return The issue. */ @java.lang.Override @@ -145,29 +121,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 { @@ -178,15 +154,12 @@ public com.google.protobuf.ByteString getIssueBytes() { public static final int SCORE_FIELD_NUMBER = 2; 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 @@ -197,15 +170,12 @@ public double getScore() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -214,30 +184,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 { @@ -246,7 +216,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,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(issue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issue_); } @@ -281,7 +251,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_); @@ -294,18 +265,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -320,9 +293,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) + unknownFields.hashCode(); @@ -331,127 +303,117 @@ 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() @@ -459,15 +421,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +444,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 @@ -502,8 +465,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueAssignment result = new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); result.issue_ = issue_; result.score_ = score_; result.displayName_ = displayName_; @@ -515,39 +477,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment 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.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; @@ -555,8 +516,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_; onChanged(); @@ -587,8 +547,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,20 +559,18 @@ public Builder mergeFrom( 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; @@ -622,21 +579,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 { @@ -644,77 +600,67 @@ 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) { + public Builder setIssue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** - * - * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; - * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); 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) { + public Builder setIssueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -722,38 +668,32 @@ 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; 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() { - + score_ = 0D; onChanged(); return this; @@ -761,21 +701,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.
      * 
* * 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; @@ -784,22 +722,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.
      * 
* * 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 { @@ -807,71 +744,64 @@ 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.
      * 
* * 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -881,12 +811,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(); } @@ -895,16 +825,16 @@ 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 { - return new IssueAssignment(input, extensionRegistry); - } - }; + 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 { + return new IssueAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java index 5d71fae4..68b7209d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java +++ b/owl-bot-staging/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.
    * 
* * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java index 632c72c6..b5f50eb4 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private IssueModel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,100 +55,83 @@ private IssueModel( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 40: - { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder - subBuilder = null; - if (inputDataConfig_ != null) { - subBuilder = inputDataConfig_.toBuilder(); - } - inputDataConfig_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputDataConfig_); - inputDataConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 40: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 50: { + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder subBuilder = null; + if (inputDataConfig_ != null) { + subBuilder = inputDataConfig_.toBuilder(); + } + inputDataConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputDataConfig_); + inputDataConfig_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = - null; - if (trainingStats_ != null) { - subBuilder = trainingStats_.toBuilder(); - } - trainingStats_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trainingStats_); - trainingStats_ = subBuilder.buildPartial(); - } - break; + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; + if (trainingStats_ != null) { + subBuilder = trainingStats_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + trainingStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trainingStats_); + trainingStats_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -173,41 +139,36 @@ private IssueModel( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -216,8 +177,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -226,8 +185,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNDEPLOYED(1), /** - * - * *
      * Model is being deployed.
      * 
@@ -236,8 +193,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.
@@ -247,8 +202,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DEPLOYED(3),
     /**
-     *
-     *
      * 
      * Model is being undeployed.
      * 
@@ -257,8 +210,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNDEPLOYING(4), /** - * - * *
      * Model is being deleted.
      * 
@@ -270,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -280,8 +229,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.
      * 
@@ -290,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNDEPLOYED_VALUE = 1; /** - * - * *
      * Model is being deployed.
      * 
@@ -300,8 +245,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.
@@ -311,8 +254,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEPLOYED_VALUE = 3;
     /**
-     *
-     *
      * 
      * Model is being undeployed.
      * 
@@ -321,8 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNDEPLOYING_VALUE = 4; /** - * - * *
      * Model is being deleted.
      * 
@@ -331,6 +270,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( @@ -355,57 +295,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; @@ -422,110 +357,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=593 + * .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=593 * @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=593 + * .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=593 * @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_ = ""; @@ -533,15 +443,16 @@ 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; } - private InputDataConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -560,32 +471,30 @@ private InputDataConfig( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); + + medium_ = rawValue; + break; + } + case 16: { - medium_ = rawValue; - break; - } - case 16: - { - trainingConversationsCount_ = input.readInt64(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + trainingConversationsCount_ = input.readInt64(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -593,92 +502,69 @@ private InputDataConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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=593 + * .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=593 * @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=593 + * .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=593 * @return The medium. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Override @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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_; /** - * - * *
      * 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 @@ -689,15 +575,12 @@ public long getTrainingConversationsCount() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -706,30 +589,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 { @@ -738,7 +621,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -750,10 +632,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) { @@ -771,14 +652,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_); @@ -791,17 +671,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -816,7 +697,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) + unknownFields.hashCode(); @@ -825,95 +707,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 @@ -923,49 +797,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -979,22 +848,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); } @@ -1003,8 +869,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); result.medium_ = medium_; result.trainingConversationsCount_ = trainingConversationsCount_; result.filter_ = filter_; @@ -1016,53 +881,46 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig 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) { + 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()); } @@ -1092,9 +950,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1106,144 +962,105 @@ public Builder mergeFrom( 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=593 + * .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=593 * @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=593 + * .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=593 * @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; 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=593 + * .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=593 * @return The medium. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = - com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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=593 + * .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=593 * @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(); } - + medium_ = value.getNumber(); 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=593 + * .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=593 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMedium() { - + @java.lang.Deprecated public Builder clearMedium() { + 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 @@ -1251,38 +1068,30 @@ 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; 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() { - + trainingConversationsCount_ = 0L; onChanged(); return this; @@ -1290,21 +1099,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; @@ -1313,22 +1120,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 { @@ -1336,69 +1142,61 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1411,32 +1209,30 @@ 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 { - return new InputDataConfig(input, extensionRegistry); - } - }; + 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 { + return new InputDataConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1448,17 +1244,15 @@ 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; private volatile java.lang.Object name_; - /** - * - * + /** *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1466,7 +1260,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -1475,15 +1268,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:
@@ -1491,15 +1283,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 { @@ -1510,14 +1303,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1526,29 +1316,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 { @@ -1559,15 +1349,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 @@ -1575,15 +1361,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 @@ -1591,14 +1373,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() { @@ -1608,15 +1387,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 @@ -1624,15 +1399,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 @@ -1640,14 +1411,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 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() { @@ -1657,57 +1425,38 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = - com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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 @@ -1715,52 +1464,37 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder getInputDataConfigOrBuilder() { return getInputDataConfig(); } 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 @@ -1768,43 +1502,30 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder getTrainingStatsOrBuilder() { return getTrainingStats(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1816,7 +1537,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_); } @@ -1829,9 +1551,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) { @@ -1856,21 +1576,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1880,32 +1603,37 @@ 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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1946,126 +1674,117 @@ 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() @@ -2073,15 +1792,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2119,9 +1839,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 @@ -2140,8 +1860,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModel result = new com.google.cloud.contactcenterinsights.v1.IssueModel(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -2173,39 +1892,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel 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.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; @@ -2213,8 +1931,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_; onChanged(); @@ -2257,8 +1974,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2270,8 +1986,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2279,13 +1993,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; @@ -2294,8 +2008,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2303,14 +2015,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 { @@ -2318,8 +2031,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2327,22 +2038,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2350,18 +2059,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2369,16 +2075,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2386,20 +2092,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; @@ -2408,21 +2112,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 { @@ -2430,61 +2133,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2492,58 +2188,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2559,17 +2236,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(); onChanged(); @@ -2580,21 +2254,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2606,15 +2276,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() { if (createTimeBuilder_ == null) { @@ -2628,64 +2294,48 @@ 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() { - + onChanged(); 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_; @@ -2693,58 +2343,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2760,17 +2391,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(); onChanged(); @@ -2781,21 +2409,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2807,15 +2431,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() { if (updateTimeBuilder_ == null) { @@ -2829,64 +2449,48 @@ 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() { - + onChanged(); 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_; @@ -2894,75 +2498,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = - com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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. */ @@ -2970,26 +2550,21 @@ public Builder setState(com.google.cloud.contactcenterinsights.v1.IssueModel.Sta if (value == null) { throw new NullPointerException(); } - + 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() { - + state_ = 0; onChanged(); return this; @@ -2997,63 +2572,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 inputDataConfigBuilder_ != null || 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. */ - 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(); @@ -3067,19 +2620,14 @@ 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 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(); onChanged(); @@ -3090,25 +2638,17 @@ 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 (inputDataConfig_ != null) { inputDataConfig_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder( - inputDataConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder(inputDataConfig_).mergeFrom(value).buildPartial(); } else { inputDataConfig_ = value; } @@ -3120,15 +2660,11 @@ public Builder mergeInputDataConfig( 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() { if (inputDataConfigBuilder_ == null) { @@ -3142,67 +2678,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() { - + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder getInputDataConfigBuilder() { + 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_; @@ -3210,61 +2727,41 @@ 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.
      * 
* - * - * .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 trainingStatsBuilder_ != null || 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. */ 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(); @@ -3278,15 +2775,11 @@ 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 setTrainingStats( com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder builderForValue) { @@ -3300,25 +2793,17 @@ 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 (trainingStats_ != null) { trainingStats_ = - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder( - trainingStats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(trainingStats_).mergeFrom(value).buildPartial(); } else { trainingStats_ = value; } @@ -3330,15 +2815,11 @@ public Builder mergeTrainingStats( 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() { if (trainingStatsBuilder_ == null) { @@ -3352,73 +2833,55 @@ 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() { + 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); } @@ -3428,12 +2891,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(); } @@ -3442,16 +2905,16 @@ 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 { - return new IssueModel(input, extensionRegistry); - } - }; + 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 { + return new IssueModel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3466,4 +2929,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java index 8811a892..1ee08b3a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private IssueModelLabelStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,41 +53,36 @@ private IssueModelLabelStats( case 0: done = true; break; - case 8: - { - analyzedConversationsCount_ = input.readInt64(); - break; - } - case 16: - { - unclassifiedConversationsCount_ = input.readInt64(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueStats_ = - com.google.protobuf.MapField.newMapField( - IssueStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - issueStats__ = - input.readMessage( - IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - issueStats_.getMutableMap().put(issueStats__.getKey(), issueStats__.getValue()); - break; + case 8: { + + analyzedConversationsCount_ = input.readInt64(); + break; + } + case 16: { + + unclassifiedConversationsCount_ = input.readInt64(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueStats_ = com.google.protobuf.MapField.newMapField( + IssueStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + issueStats__ = input.readMessage( + IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + issueStats_.getMutableMap().put( + issueStats__.getKey(), issueStats__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -111,47 +90,43 @@ private IssueModelLabelStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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:
@@ -159,13 +134,10 @@ public interface IssueStatsOrBuilder
      * 
* * string issue = 1; - * * @return The issue. */ java.lang.String getIssue(); /** - * - * *
      * Issue resource.
      * Format:
@@ -173,68 +145,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_ = ""; @@ -242,15 +203,16 @@ 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; } - private IssueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -269,32 +231,30 @@ private IssueStats( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issue_ = s; - break; - } - case 16: - { - labeledConversationsCount_ = input.readInt64(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 16: { - displayName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + labeledConversationsCount_ = input.readInt64(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + displayName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -302,34 +262,29 @@ private IssueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object issue_; /** - * - * *
      * Issue resource.
      * Format:
@@ -337,7 +292,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string issue = 1; - * * @return The issue. */ @java.lang.Override @@ -346,15 +300,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:
@@ -362,15 +315,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 { @@ -381,14 +335,11 @@ public com.google.protobuf.ByteString getIssueBytes() { public static final int LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -399,14 +350,11 @@ public long getLabeledConversationsCount() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** - * - * *
      * Display name of the issue.
      * 
* * string display_name = 3; - * * @return The displayName. */ @java.lang.Override @@ -415,29 +363,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 { @@ -446,7 +394,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -458,7 +405,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_); } @@ -481,8 +429,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_); @@ -495,18 +443,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -521,7 +470,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) + unknownFields.hashCode(); @@ -529,101 +479,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 @@ -633,50 +570,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -690,22 +621,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); } @@ -713,10 +641,8 @@ 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); + 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); result.issue_ = issue_; result.labeledConversationsCount_ = labeledConversationsCount_; result.displayName_ = displayName_; @@ -728,54 +654,46 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats 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_; onChanged(); @@ -802,14 +720,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = - null; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -821,8 +736,6 @@ public Builder mergeFrom( private java.lang.Object issue_ = ""; /** - * - * *
        * Issue resource.
        * Format:
@@ -830,13 +743,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; @@ -845,8 +758,6 @@ public java.lang.String getIssue() { } } /** - * - * *
        * Issue resource.
        * Format:
@@ -854,14 +765,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 { @@ -869,8 +781,6 @@ public com.google.protobuf.ByteString getIssueBytes() { } } /** - * - * *
        * Issue resource.
        * Format:
@@ -878,22 +788,20 @@ 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) { + public Builder setIssue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** - * - * *
        * Issue resource.
        * Format:
@@ -901,18 +809,15 @@ public Builder setIssue(java.lang.String value) {
        * 
* * string issue = 1; - * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); return this; } /** - * - * *
        * Issue resource.
        * Format:
@@ -920,31 +825,28 @@ 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) { + public Builder setIssueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -952,36 +854,30 @@ 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; 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() { - + labeledConversationsCount_ = 0L; onChanged(); return this; @@ -989,20 +885,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; @@ -1011,21 +905,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 { @@ -1033,66 +926,58 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * Display name of the issue.
        * 
* * string display_name = 3; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1105,33 +990,30 @@ 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 { - return new IssueStats(input, extensionRegistry); - } - }; + 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 { + return new IssueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,23 +1025,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_; /** - * - * *
    * Number of conversations the issue model has analyzed at this point in time.
    * 
* * int64 analyzed_conversations_count = 1; - * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -1170,15 +1049,12 @@ public long getAnalyzedConversationsCount() { public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -1187,36 +1063,24 @@ 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()); } - - 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_; } @@ -1225,96 +1089,70 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1322,7 +1160,6 @@ public boolean containsIssueStats(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1334,15 +1171,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); unknownFields.writeTo(output); } @@ -1353,28 +1195,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1384,18 +1220,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1408,9 +1245,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(); @@ -1421,147 +1260,139 @@ 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() @@ -1569,15 +1400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1590,14 +1422,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(); } @@ -1612,8 +1443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); int from_bitField0_ = bitField0_; result.analyzedConversationsCount_ = analyzedConversationsCount_; result.unclassifiedConversationsCount_ = unclassifiedConversationsCount_; @@ -1627,39 +1457,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats buildParti 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; @@ -1667,16 +1496,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()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1696,9 +1524,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1707,19 +1533,15 @@ public Builder mergeFrom( } 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 @@ -1727,52 +1549,43 @@ 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; 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() { - + analyzedConversationsCount_ = 0L; onChanged(); 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 @@ -1780,68 +1593,53 @@ 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; 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() { - + unclassifiedConversationsCount_ = 0L; onChanged(); return this; } 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 issueStats_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> - internalGetMutableIssueStats() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableIssueStats() { + onChanged();; 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(); @@ -1853,97 +1651,70 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats - getIssueStatsOrDefault( - java.lang.String key, - 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1951,81 +1722,69 @@ public boolean containsIssueStats(java.lang.String key) { } public Builder clearIssueStats() { - 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> - getMutableIssueStats() { + public java.util.Map + getMutableIssueStats() { 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 (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableIssueStats().getMutableMap().put(key, value); + internalGetMutableIssueStats().getMutableMap() + .put(key, value); 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); 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); } @@ -2035,32 +1794,30 @@ 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 { - return new IssueModelLabelStats(input, extensionRegistry); - } - }; + 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 { + return new IssueModelLabelStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2072,8 +1829,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java new file mode 100644 index 00000000..c120a8ae --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java @@ -0,0 +1,86 @@ +// 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java index 89d4e48f..8055bc6d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java +++ b/owl-bot-staging/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,155 @@ 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. 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java index c03e981e..676eafbe 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private IssueModelResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private IssueModelResult( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.IssueAssignment>(); - mutable_bitField0_ |= 0x00000001; - } - issues_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), - extensionRegistry)); - break; + issueModel_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issues_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private IssueModelResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -116,34 +94,28 @@ private IssueModelResult( makeExtensionsImmutable(); } } - - 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; 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 @@ -152,30 +124,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 { @@ -186,8 +158,6 @@ public com.google.protobuf.ByteString getIssueModelBytes() { public static final int ISSUES_FIELD_NUMBER = 2; private java.util.List issues_; /** - * - * *
    * All the matched issues.
    * 
@@ -199,8 +169,6 @@ public java.util.List return issues_; } /** - * - * *
    * All the matched issues.
    * 
@@ -208,14 +176,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.
    * 
@@ -227,8 +192,6 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * All the matched issues.
    * 
@@ -240,8 +203,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i return issues_.get(index); } /** - * - * *
    * All the matched issues.
    * 
@@ -255,7 +216,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,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(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -287,7 +248,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,127 +293,117 @@ 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() @@ -458,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +437,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 @@ -505,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; result.issueModel_ = issueModel_; if (issuesBuilder_ == null) { @@ -526,39 +478,38 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult 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.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; @@ -566,8 +517,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_; onChanged(); @@ -590,10 +540,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelRes 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_); } @@ -618,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,26 +576,23 @@ public Builder mergeFrom( } 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; @@ -656,22 +601,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 { @@ -679,98 +623,82 @@ 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) { + public Builder setIssueModel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } - * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = value; onChanged(); return this; } 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_); + issues_ = new java.util.ArrayList(issues_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -778,8 +706,6 @@ private void ensureIssuesIsMutable() { } } /** - * - * *
      * All the matched issues.
      * 
@@ -794,8 +720,6 @@ public int getIssuesCount() { } } /** - * - * *
      * All the matched issues.
      * 
@@ -810,8 +734,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i } } /** - * - * *
      * All the matched issues.
      * 
@@ -833,8 +755,6 @@ public Builder setIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -842,8 +762,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()); @@ -854,8 +773,6 @@ public Builder setIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -876,8 +793,6 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.IssueAssignme return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -899,8 +814,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -919,8 +832,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -928,8 +839,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()); @@ -940,8 +850,6 @@ public Builder addIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -949,11 +857,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); @@ -961,8 +869,6 @@ public Builder addAllIssues( return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -980,8 +886,6 @@ public Builder clearIssues() { return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -999,8 +903,6 @@ public Builder removeIssues(int index) { return this; } /** - * - * *
      * All the matched issues.
      * 
@@ -1012,8 +914,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu return getIssuesFieldBuilder().getBuilder(index); } /** - * - * *
      * All the matched issues.
      * 
@@ -1023,23 +923,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 { @@ -1047,8 +943,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } } /** - * - * *
      * All the matched issues.
      * 
@@ -1056,13 +950,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.
      * 
@@ -1071,44 +962,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_ & 0x00000001) != 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_ & 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); } @@ -1118,12 +1002,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(); } @@ -1132,16 +1016,16 @@ 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 { - return new IssueModelResult(input, extensionRegistry); - } - }; + 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 { + return new IssueModelResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java index ae71726a..42f59e84 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java index 86d884d5..821dd050 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java +++ b/owl-bot-staging/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,109 +26,82 @@ 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(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java index 8d6457bc..e79fc153 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListAnalysesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListAnalysesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +92,34 @@ private ListAnalysesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -155,31 +128,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 { @@ -190,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -200,7 +169,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -211,8 +179,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -220,7 +186,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,15 +194,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
@@ -245,15 +209,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 { @@ -264,15 +229,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -281,30 +243,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 { @@ -313,7 +275,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +286,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_); } @@ -351,7 +313,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_); @@ -367,18 +330,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -404,127 +370,117 @@ 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() @@ -532,15 +488,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -556,14 +513,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(); } @@ -578,8 +534,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -592,39 +547,38 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest buildPartia 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; @@ -632,9 +586,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_; onChanged(); @@ -669,9 +621,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,22 +633,18 @@ public Builder mergeFrom( 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; @@ -707,23 +653,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 { @@ -731,76 +674,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -809,7 +737,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -817,8 +744,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
@@ -827,19 +752,16 @@ 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; 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
@@ -848,11 +770,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -860,8 +781,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
@@ -869,13 +788,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; @@ -884,8 +803,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
@@ -893,14 +810,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 { @@ -908,8 +826,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
@@ -917,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -940,18 +854,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -959,16 +870,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -976,21 +887,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; @@ -999,22 +908,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 { @@ -1022,71 +930,64 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1096,13 +997,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(); } @@ -1111,16 +1011,16 @@ 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 { - return new ListAnalysesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java index 09eec901..6b6a7056 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java index da59f266..57bd6f38 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListAnalysesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListAnalysesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analyses_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - analyses_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Analysis.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analyses_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + analyses_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListAnalysesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { analyses_ = java.util.Collections.unmodifiableList(analyses_); @@ -115,27 +94,22 @@ private ListAnalysesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List analyses_; /** - * - * *
    * The analyses that match the request.
    * 
@@ -147,8 +121,6 @@ public java.util.List getAna return analyses_; } /** - * - * *
    * The analyses that match the request.
    * 
@@ -156,13 +128,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.
    * 
@@ -174,8 +144,6 @@ public int getAnalysesCount() { return analyses_.size(); } /** - * - * *
    * The analyses that match the request.
    * 
@@ -187,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) return analyses_.get(index); } /** - * - * *
    * The analyses that match the request.
    * 
@@ -204,15 +170,12 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -221,30 +184,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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,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 { for (int i = 0; i < analyses_.size(); i++) { output.writeMessage(1, analyses_.get(i)); } @@ -282,7 +245,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_); @@ -295,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ 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() @@ -456,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAnalysesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,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(); } @@ -504,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (analysesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +478,38 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse buildParti 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; @@ -565,9 +517,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()) { @@ -586,10 +536,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_); } @@ -618,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,29 +576,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -666,8 +605,6 @@ public java.util.List getAna } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -682,8 +619,6 @@ public int getAnalysesCount() { } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -698,8 +633,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -721,8 +654,6 @@ public Builder setAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -741,8 +672,6 @@ public Builder setAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -763,8 +692,6 @@ public Builder addAnalyses(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -786,8 +713,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -806,8 +731,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -826,8 +749,6 @@ public Builder addAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -838,7 +759,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); @@ -846,8 +768,6 @@ public Builder addAllAnalyses( return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -865,8 +785,6 @@ public Builder clearAnalyses() { return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -884,8 +802,6 @@ public Builder removeAnalyses(int index) { return this; } /** - * - * *
      * The analyses that match the request.
      * 
@@ -897,8 +813,6 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui return getAnalysesFieldBuilder().getBuilder(index); } /** - * - * *
      * The analyses that match the request.
      * 
@@ -908,22 +822,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 { @@ -931,8 +842,6 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } } /** - * - * *
      * The analyses that match the request.
      * 
@@ -940,12 +849,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.
      * 
@@ -954,36 +861,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_; @@ -991,21 +892,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; @@ -1014,22 +913,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 { @@ -1037,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1111,32 +1002,30 @@ 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 { - return new ListAnalysesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,8 +1037,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java index 6a12df1b..69b4f19d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java index 8de30a9b..a4b07a7f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java +++ b/owl-bot-staging/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,15 +28,16 @@ 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; } - private ListConversationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListConversationsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 40: - { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); + + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,34 @@ private ListConversationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -163,31 +135,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 { @@ -198,8 +168,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -208,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -219,8 +186,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -228,7 +193,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -237,15 +201,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
@@ -253,15 +216,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 { @@ -272,15 +236,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -289,30 +250,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 { @@ -323,43 +284,31 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int VIEW_FIELD_NUMBER = 5; private int view_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -371,7 +320,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_); } @@ -384,9 +334,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_); } unknownFields.writeTo(output); @@ -402,7 +350,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_); @@ -410,10 +359,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,18 +371,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; + 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -463,145 +414,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -619,16 +559,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 @@ -642,8 +580,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -657,51 +594,46 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest 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.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_; onChanged(); @@ -739,9 +671,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -753,22 +683,18 @@ public Builder mergeFrom( 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; @@ -777,23 +703,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 { @@ -801,76 +724,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -879,7 +787,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +794,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
@@ -897,19 +802,16 @@ 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; 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
@@ -918,11 +820,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -930,8 +831,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
@@ -939,13 +838,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; @@ -954,8 +853,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
@@ -963,14 +860,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 { @@ -978,8 +876,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
@@ -987,22 +883,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -1010,18 +904,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -1029,16 +920,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1046,21 +937,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; @@ -1069,22 +958,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 { @@ -1092,64 +980,57 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1157,67 +1038,51 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = - com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -1225,31 +1090,28 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -1259,32 +1121,30 @@ 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 { - return new ListConversationsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1296,8 +1156,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java index 0d4608e8..7b83921e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java index a2661aa9..07d3c19d 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListConversationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListConversationsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conversations_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.Conversation>(); - mutable_bitField0_ |= 0x00000001; - } - conversations_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conversations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + conversations_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListConversationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conversations_ = java.util.Collections.unmodifiableList(conversations_); @@ -116,27 +94,22 @@ private ListConversationsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List conversations_; /** - * - * *
    * The conversations that match the request.
    * 
@@ -144,13 +117,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.
    * 
@@ -158,13 +128,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.
    * 
@@ -176,8 +144,6 @@ public int getConversationsCount() { return conversations_.size(); } /** - * - * *
    * The conversations that match the request.
    * 
@@ -189,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i return conversations_.get(index); } /** - * - * *
    * The conversations that match the request.
    * 
@@ -206,8 +170,6 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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
@@ -215,7 +177,6 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -224,15 +185,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
@@ -240,15 +200,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 { @@ -257,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +229,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)); } @@ -286,7 +247,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_); @@ -299,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,147 +295,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConversationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,16 +439,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 @@ -511,8 +460,7 @@ 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); int from_bitField0_ = bitField0_; if (conversationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -532,51 +480,46 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse build 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()) { @@ -595,10 +538,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_); } @@ -627,9 +569,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -638,38 +578,28 @@ public Builder mergeFrom( } 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 { @@ -677,8 +607,6 @@ private void ensureConversationsIsMutable() { } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -693,8 +621,6 @@ public int getConversationsCount() { } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -709,8 +635,6 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i } } /** - * - * *
      * The conversations that match the request.
      * 
@@ -732,8 +656,6 @@ public Builder setConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -752,8 +674,6 @@ public Builder setConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -774,8 +694,6 @@ public Builder addConversations(com.google.cloud.contactcenterinsights.v1.Conver return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -797,8 +715,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -817,8 +733,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -837,8 +751,6 @@ public Builder addConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -846,11 +758,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); @@ -858,8 +770,6 @@ public Builder addAllConversations( return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -877,8 +787,6 @@ public Builder clearConversations() { return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -896,8 +804,6 @@ public Builder removeConversations(int index) { return this; } /** - * - * *
      * The conversations that match the request.
      * 
@@ -909,33 +815,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 { @@ -943,22 +844,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.
      * 
@@ -967,35 +863,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(), @@ -1007,8 +894,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
@@ -1016,13 +901,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; @@ -1031,8 +916,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
@@ -1040,14 +923,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 { @@ -1055,8 +939,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
@@ -1064,22 +946,20 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1087,18 +967,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1106,23 +983,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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1132,32 +1009,30 @@ 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 { - return new ListConversationsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,8 +1044,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java index c0748e01..6dd89e46 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java index 79f7f147..87fe8620 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssueModelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ListIssueModelsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private ListIssueModelsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest buildPar 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_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( 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; @@ -515,23 +467,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 { @@ -539,74 +488,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -616,32 +552,30 @@ 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 { - return new ListIssueModelsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java new file mode 100644 index 00000000..23b0abcf --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java index aeda2c71..225f0b04 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssueModelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,26 +54,22 @@ private ListIssueModelsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueModels_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - issueModels_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueModels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issueModels_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,7 +77,8 @@ private ListIssueModelsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issueModels_ = java.util.Collections.unmodifiableList(issueModels_); @@ -107,27 +87,22 @@ private ListIssueModelsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List issueModels_; /** - * - * *
    * The issue models that match the request.
    * 
@@ -139,8 +114,6 @@ public java.util.List getI return issueModels_; } /** - * - * *
    * The issue models that match the request.
    * 
@@ -148,13 +121,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.
    * 
@@ -166,8 +137,6 @@ public int getIssueModelsCount() { return issueModels_.size(); } /** - * - * *
    * The issue models that match the request.
    * 
@@ -179,8 +148,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i return issueModels_.get(index); } /** - * - * *
    * The issue models that match the request.
    * 
@@ -194,7 +161,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +172,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)); } @@ -220,7 +187,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -230,15 +198,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -260,147 +228,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIssueModelsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -414,14 +370,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(); } @@ -436,8 +391,7 @@ 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); int from_bitField0_ = bitField0_; if (issueModelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -456,50 +410,46 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse buildPa 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()) { @@ -518,10 +468,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_); } @@ -546,9 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -557,38 +504,28 @@ public Builder mergeFrom( } 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 { @@ -596,8 +533,6 @@ private void ensureIssueModelsIsMutable() { } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -612,8 +547,6 @@ public int getIssueModelsCount() { } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -628,8 +561,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -651,8 +582,6 @@ public Builder setIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -671,8 +600,6 @@ public Builder setIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -693,8 +620,6 @@ public Builder addIssueModels(com.google.cloud.contactcenterinsights.v1.IssueMod return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -716,8 +641,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -736,8 +659,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -756,8 +677,6 @@ public Builder addIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -768,7 +687,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); @@ -776,8 +696,6 @@ public Builder addAllIssueModels( return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -795,8 +713,6 @@ public Builder clearIssueModels() { return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -814,8 +730,6 @@ public Builder removeIssueModels(int index) { return this; } /** - * - * *
      * The issue models that match the request.
      * 
@@ -827,8 +741,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelsFieldBuilder().getBuilder(index); } /** - * - * *
      * The issue models that match the request.
      * 
@@ -838,22 +750,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 { @@ -861,8 +770,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } } /** - * - * *
      * The issue models that match the request.
      * 
@@ -870,12 +777,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.
      * 
@@ -884,43 +789,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); } @@ -930,32 +829,30 @@ 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 { - return new ListIssueModelsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -967,8 +864,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java index 283c8863..103f31aa 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java index 61af9e35..fb307519 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ListIssuesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + parent_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private ListIssuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,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 @@ -398,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest 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.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; @@ -449,8 +411,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_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( 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; @@ -511,23 +467,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 { @@ -535,74 +488,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -612,12 +552,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(); } @@ -626,16 +566,16 @@ 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 { - return new ListIssuesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java new file mode 100644 index 00000000..b1393cf5 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java index b00211e9..4f6ac7ee 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private ListIssuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,22 @@ private ListIssuesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - issues_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + issues_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,7 +77,8 @@ private ListIssuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -106,27 +87,22 @@ private ListIssuesResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List issues_; /** - * - * *
    * The issues that match the request.
    * 
@@ -138,8 +114,6 @@ public java.util.List getIssues return issues_; } /** - * - * *
    * The issues that match the request.
    * 
@@ -147,13 +121,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.
    * 
@@ -165,8 +137,6 @@ public int getIssuesCount() { return issues_.size(); } /** - * - * *
    * The issues that match the request.
    * 
@@ -178,8 +148,6 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { return issues_.get(index); } /** - * - * *
    * The issues that match the request.
    * 
@@ -187,12 +155,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; @@ -204,7 +172,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)); } @@ -218,7 +187,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -228,15 +198,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,127 +228,117 @@ 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() @@ -386,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +370,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(); } @@ -432,8 +391,7 @@ 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); int from_bitField0_ = bitField0_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -452,39 +410,38 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse 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.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; @@ -492,9 +449,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()) { @@ -513,10 +468,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_); } @@ -541,8 +495,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -551,28 +504,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -587,8 +533,6 @@ public java.util.List getIssues } } /** - * - * *
      * The issues that match the request.
      * 
@@ -603,8 +547,6 @@ public int getIssuesCount() { } } /** - * - * *
      * The issues that match the request.
      * 
@@ -619,15 +561,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(); @@ -641,8 +582,6 @@ public Builder setIssues(int index, com.google.cloud.contactcenterinsights.v1.Is return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -661,8 +600,6 @@ public Builder setIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -683,15 +620,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(); @@ -705,8 +641,6 @@ public Builder addIssues(int index, com.google.cloud.contactcenterinsights.v1.Is return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -725,8 +659,6 @@ public Builder addIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -745,8 +677,6 @@ public Builder addIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -757,7 +687,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); @@ -765,8 +696,6 @@ public Builder addAllIssues( return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -784,8 +713,6 @@ public Builder clearIssues() { return this; } /** - * - * *
      * The issues that match the request.
      * 
@@ -803,44 +730,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 { @@ -848,8 +770,6 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild } } /** - * - * *
      * The issues that match the request.
      * 
@@ -857,55 +777,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); } @@ -915,13 +829,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(); } @@ -930,16 +843,16 @@ 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 { - return new ListIssuesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +867,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java index 11fb517f..47d11797 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java index 1be89107..0ec6358f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private ListPhraseMatchersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListPhraseMatchersRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +92,34 @@ private ListPhraseMatchersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -155,31 +128,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 { @@ -190,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -200,7 +169,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -211,8 +179,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -220,7 +186,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -229,15 +194,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
@@ -245,15 +209,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 { @@ -264,15 +229,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -281,30 +243,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 { @@ -313,7 +275,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,7 +286,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_); } @@ -351,7 +313,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_); @@ -367,18 +330,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -404,145 +370,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -558,16 +513,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 @@ -581,8 +534,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -595,51 +547,46 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest build 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_; onChanged(); @@ -674,9 +621,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,22 +633,18 @@ public Builder mergeFrom( 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; @@ -712,23 +653,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 { @@ -736,76 +674,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -814,7 +737,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -822,8 +744,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
@@ -832,19 +752,16 @@ 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; 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
@@ -853,11 +770,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -865,8 +781,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
@@ -874,13 +788,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; @@ -889,8 +803,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
@@ -898,14 +810,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 { @@ -913,8 +826,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
@@ -922,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -945,18 +854,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -964,16 +870,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -981,21 +887,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; @@ -1004,22 +908,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 { @@ -1027,71 +930,64 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -1101,32 +997,30 @@ 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 { - return new ListPhraseMatchersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,8 +1032,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java index fc6c4aec..e3553062 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java index c8f7a57e..25650c58 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListPhraseMatchersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListPhraseMatchersResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchers_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.PhraseMatcher>(); - mutable_bitField0_ |= 0x00000001; - } - phraseMatchers_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + phraseMatchers_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListPhraseMatchersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchers_ = java.util.Collections.unmodifiableList(phraseMatchers_); @@ -116,27 +94,22 @@ private ListPhraseMatchersResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List phraseMatchers_; /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -144,13 +117,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.
    * 
@@ -158,13 +128,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.
    * 
@@ -176,8 +144,6 @@ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -189,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers return phraseMatchers_.get(index); } /** - * - * *
    * The phrase matchers that match the request.
    * 
@@ -198,23 +162,20 @@ 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; 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 @@ -223,30 +184,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 { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,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 { for (int i = 0; i < phraseMatchers_.size(); i++) { output.writeMessage(1, phraseMatchers_.get(i)); } @@ -284,7 +245,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_); @@ -297,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,147 +293,135 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPhraseMatchersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,16 +437,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 @@ -509,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (phraseMatchersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -530,51 +478,46 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse 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.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()) { @@ -593,10 +536,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_); } @@ -625,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,39 +576,28 @@ public Builder mergeFrom( } 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 { @@ -676,14 +605,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) { @@ -693,14 +619,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) { @@ -710,14 +633,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) { @@ -734,18 +654,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()); @@ -756,17 +672,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(); @@ -780,14 +692,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) { @@ -804,14 +713,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) { @@ -825,18 +731,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()); @@ -847,21 +749,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); @@ -869,14 +768,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) { @@ -889,14 +785,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) { @@ -909,50 +802,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 { @@ -960,62 +842,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(), @@ -1027,21 +892,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; @@ -1050,22 +913,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 { @@ -1073,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1147,32 +1002,30 @@ 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 { - return new ListPhraseMatchersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,8 +1037,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java index 3cc8ae94..0a61b739 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java index 078b23a9..4cf01d08 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListViewsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListViewsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListViewsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -147,31 +121,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 { @@ -182,8 +154,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -192,7 +162,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -203,8 +172,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -212,7 +179,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -221,15 +187,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
@@ -237,15 +202,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 { @@ -254,7 +220,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +231,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_); } @@ -289,7 +255,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_); @@ -302,17 +269,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -336,127 +305,117 @@ 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() @@ -464,15 +423,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +446,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 @@ -507,8 +467,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,39 +479,38 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsRequest 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.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; @@ -560,8 +518,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_; onChanged(); @@ -592,8 +549,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,22 +561,18 @@ public Builder mergeFrom( 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; @@ -629,23 +581,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 { @@ -653,76 +602,61 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -731,7 +665,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -739,8 +672,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
@@ -749,19 +680,16 @@ 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; 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
@@ -770,11 +698,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -782,8 +709,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
@@ -791,13 +716,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; @@ -806,8 +731,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
@@ -815,14 +738,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 { @@ -830,8 +754,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
@@ -839,22 +761,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -862,18 +782,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -881,23 +798,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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -907,12 +824,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(); } @@ -921,16 +838,16 @@ 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 { - return new ListViewsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListViewsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -945,4 +862,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java index ea56b54c..30af1d72 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java similarity index 74% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java index 25f9979c..503e9a51 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private ListViewsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListViewsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - views_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - views_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + views_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + views_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListViewsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { views_ = java.util.Collections.unmodifiableList(views_); @@ -113,27 +94,22 @@ private ListViewsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List views_; /** - * - * *
    * The views that match the request.
    * 
@@ -145,8 +121,6 @@ public java.util.List getViewsLi return views_; } /** - * - * *
    * The views that match the request.
    * 
@@ -154,13 +128,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.
    * 
@@ -172,8 +144,6 @@ public int getViewsCount() { return views_.size(); } /** - * - * *
    * The views that match the request.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { return views_.get(index); } /** - * - * *
    * The views that match the request.
    * 
@@ -194,22 +162,20 @@ 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; 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 @@ -218,30 +184,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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,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 { for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } @@ -279,7 +245,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_); @@ -292,16 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ 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() @@ -453,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getViewsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,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 @@ -500,8 +458,7 @@ 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); int from_bitField0_ = bitField0_; if (viewsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsResponse 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.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; @@ -561,8 +517,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()) { @@ -581,10 +536,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_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } 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.
      * 
@@ -659,8 +605,6 @@ public java.util.List getViewsLi } } /** - * - * *
      * The views that match the request.
      * 
@@ -675,8 +619,6 @@ public int getViewsCount() { } } /** - * - * *
      * The views that match the request.
      * 
@@ -691,15 +633,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(); @@ -713,8 +654,6 @@ public Builder setViews(int index, com.google.cloud.contactcenterinsights.v1.Vie return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -733,8 +672,6 @@ public Builder setViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -755,15 +692,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(); @@ -777,8 +713,6 @@ public Builder addViews(int index, com.google.cloud.contactcenterinsights.v1.Vie return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -797,8 +731,6 @@ public Builder addViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -817,8 +749,6 @@ public Builder addViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -829,7 +759,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); @@ -837,8 +768,6 @@ public Builder addAllViews( return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -856,8 +785,6 @@ public Builder clearViews() { return this; } /** - * - * *
      * The views that match the request.
      * 
@@ -875,44 +802,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 { @@ -920,8 +842,6 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder } } /** - * - * *
      * The views that match the request.
      * 
@@ -929,48 +849,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_; @@ -978,21 +892,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; @@ -1001,22 +913,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 { @@ -1024,71 +935,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1098,12 +1002,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(); } @@ -1112,16 +1016,16 @@ 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 { - return new ListViewsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListViewsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java index 7bdecae0..864c9352 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java index eccc901e..6afcbcfd 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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;
   }
-
   private PhraseMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private PhraseMatchData(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              phraseMatcher_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            phraseMatcher_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            displayName_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,39 +81,34 @@ private PhraseMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -141,29 +117,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 { @@ -174,14 +150,11 @@ public com.google.protobuf.ByteString getPhraseMatcherBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -190,29 +163,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 { @@ -221,7 +194,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,7 +205,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_); } @@ -263,16 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -294,104 +268,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.
@@ -399,23 +365,21 @@ 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()
@@ -423,15 +387,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -443,9 +408,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
@@ -464,8 +429,7 @@ 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);
+      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
       result.phraseMatcher_ = phraseMatcher_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -476,39 +440,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData 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.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;
@@ -516,8 +479,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_;
         onChanged();
@@ -545,8 +507,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -558,20 +519,18 @@ public Builder mergeFrom(
 
     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; @@ -580,21 +539,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 { @@ -602,61 +560,54 @@ 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) { + public Builder setPhraseMatcher( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phraseMatcher_ = value; 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() { - + phraseMatcher_ = getDefaultInstance().getPhraseMatcher(); onChanged(); 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) { + public Builder setPhraseMatcherBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phraseMatcher_ = value; onChanged(); return this; @@ -664,20 +615,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; @@ -686,21 +635,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 { @@ -708,68 +656,61 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -779,12 +720,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(); } @@ -793,16 +734,16 @@ 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 { - return new PhraseMatchData(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java index 0367f2ef..b751257f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java index e9574d5c..a09eba4a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private PhraseMatchRule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,43 +53,37 @@ private PhraseMatchRule( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + query_ = s; + break; + } + case 16: { - query_ = s; - break; + negated_ = input.readBool(); + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = null; + if (config_ != null) { + subBuilder = config_.toBuilder(); } - case 16: - { - negated_ = input.readBool(); - break; + config_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = - null; - if (config_ != null) { - subBuilder = config_.toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); - } - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +91,34 @@ private PhraseMatchRule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -155,29 +127,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 { @@ -188,15 +160,12 @@ public com.google.protobuf.ByteString getQueryBytes() { public static final int NEGATED_FIELD_NUMBER = 2; 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 @@ -207,15 +176,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 @@ -223,26 +189,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.
@@ -251,13 +210,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() {
+  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder getConfigOrBuilder() {
     return getConfig();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -269,7 +226,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_);
     }
@@ -292,10 +250,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -305,19 +265,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -333,7 +295,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();
@@ -344,127 +307,117 @@ 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() @@ -472,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -498,9 +452,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 @@ -519,8 +473,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); result.query_ = query_; result.negated_ = negated_; if (configBuilder_ == null) { @@ -536,39 +489,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule 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.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; @@ -576,8 +528,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_; onChanged(); @@ -607,8 +558,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,20 +570,18 @@ public Builder mergeFrom( 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; @@ -642,21 +590,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 { @@ -664,77 +611,67 @@ 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) { + public Builder setQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; 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() { - + query_ = getDefaultInstance().getQuery(); onChanged(); 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) { + public Builder setQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); 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 @@ -742,38 +679,32 @@ 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; 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() { - + negated_ = false; onChanged(); return this; @@ -781,49 +712,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 configBuilder_ != null || 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. */ 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.
@@ -831,8 +749,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();
@@ -846,8 +763,6 @@ public Builder setConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -867,8 +782,6 @@ public Builder setConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -876,14 +789,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 (config_ != null) {
           config_ =
-              com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_).mergeFrom(value).buildPartial();
         } else {
           config_ = value;
         }
@@ -895,8 +805,6 @@ public Builder mergeConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -916,8 +824,6 @@ public Builder clearConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -925,15 +831,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() {
+      
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -941,19 +844,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.
@@ -962,24 +861,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);
     }
 
@@ -989,12 +885,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();
   }
@@ -1003,16 +899,16 @@ 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 {
-          return new PhraseMatchRule(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new PhraseMatchRule(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1027,4 +923,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
similarity index 67%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
index fa362dbc..32569ebb 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
+++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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; } - private PhraseMatchRuleConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,33 +52,27 @@ private PhraseMatchRuleConfig( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; - if (configCase_ == 1) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) - .toBuilder(); - } - config_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); - config_ = subBuilder.buildPartial(); - } - configCase_ = 1; - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; + if (configCase_ == 1) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + config_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); + config_ = subBuilder.buildPartial(); } + configCase_ = 1; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -102,39 +80,34 @@ private PhraseMatchRuleConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; } @@ -150,34 +123,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 @@ -185,26 +153,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.
    * 
@@ -212,16 +175,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; @@ -233,7 +194,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_); } @@ -247,9 +209,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,18 +220,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: @@ -300,127 +261,117 @@ 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() @@ -428,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,14 +398,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(); } @@ -468,8 +419,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); if (configCase_ == 1) { if (exactMatchConfigBuilder_ == null) { result.config_ = config_; @@ -486,60 +436,54 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig buildPart 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.unknownFields); onChanged(); @@ -560,9 +504,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,12 +513,12 @@ public Builder mergeFrom( } 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() { @@ -586,20 +528,15 @@ public Builder clearConfig() { return this; } + 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 @@ -607,14 +544,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 @@ -632,16 +566,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(); @@ -655,8 +586,6 @@ public Builder setExactMatchConfig( return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -675,26 +604,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; } @@ -710,8 +631,6 @@ public Builder mergeExactMatchConfig( return this; } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -735,21 +654,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.
      * 
@@ -757,8 +671,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 { @@ -769,8 +682,6 @@ public Builder clearExactMatchConfig() { } } /** - * - * *
      * The configuration for the exact match rule.
      * 
@@ -778,32 +689,26 @@ 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()); config_ = null; } configCase_ = 1; - onChanged(); - ; + 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); } @@ -813,32 +718,30 @@ 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 { - return new PhraseMatchRuleConfig(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,8 +753,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java index d14c4657..d3c30df2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java index 9a9382ea..0c7e340f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private PhraseMatchRuleGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private PhraseMatchRuleGroup( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRules_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule>(); - mutable_bitField0_ |= 0x00000001; - } - phraseMatchRules_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), - extensionRegistry)); - break; + type_ = rawValue; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRules_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + phraseMatchRules_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private PhraseMatchRuleGroup( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRules_ = java.util.Collections.unmodifiableList(phraseMatchRules_); @@ -116,37 +94,30 @@ private PhraseMatchRuleGroup( makeExtensionsImmutable(); } } - - 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.
      * 
@@ -155,8 +126,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.
      * 
@@ -165,8 +134,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.
      * 
@@ -178,8 +145,6 @@ public enum PhraseMatchRuleGroupType implements com.google.protobuf.ProtocolMess ; /** - * - * *
      * Unspecified.
      * 
@@ -188,8 +153,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.
      * 
@@ -198,8 +161,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.
      * 
@@ -208,6 +169,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( @@ -232,14 +194,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; } } @@ -247,31 +205,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(); @@ -279,7 +235,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; @@ -299,128 +256,91 @@ private PhraseMatchRuleGroupType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .valueOf(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; } public static final int PHRASE_MATCH_RULES_FIELD_NUMBER = 2; - 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; @@ -432,11 +352,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++) { @@ -451,14 +369,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -468,16 +385,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -501,127 +418,117 @@ 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() @@ -629,17 +536,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPhraseMatchRulesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -655,14 +562,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(); } @@ -677,8 +583,7 @@ 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); int from_bitField0_ = bitField0_; result.type_ = type_; if (phraseMatchRulesBuilder_ == null) { @@ -698,39 +603,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup buildParti 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; @@ -738,9 +642,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()); } @@ -762,10 +664,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRu phraseMatchRulesBuilder_ = null; phraseMatchRules_ = other.phraseMatchRules_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPhraseMatchRulesFieldBuilder() - : null; + phraseMatchRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPhraseMatchRulesFieldBuilder() : null; } else { phraseMatchRulesBuilder_.addAllMessages(other.phraseMatchRules_); } @@ -790,9 +691,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -801,148 +700,102 @@ public Builder mergeFrom( } 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - result = - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup - .PhraseMatchRuleGroupType.valueOf(type_); - return result == null - ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType - .UNRECOGNIZED - : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRules_ = - new java.util.ArrayList( - phraseMatchRules_); + phraseMatchRules_ = new java.util.ArrayList(phraseMatchRules_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -950,14 +803,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) { @@ -967,17 +817,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 { @@ -985,14 +831,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) { @@ -1009,18 +852,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()); @@ -1031,17 +870,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(); @@ -1055,14 +890,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) { @@ -1079,14 +911,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) { @@ -1100,18 +929,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()); @@ -1122,21 +947,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); @@ -1144,14 +966,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) { @@ -1164,14 +983,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) { @@ -1184,50 +1000,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 { @@ -1235,64 +1040,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1301,9 +1087,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); } @@ -1313,32 +1099,30 @@ 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 { - return new PhraseMatchRuleGroup(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,8 +1134,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java similarity index 60% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java index ae910d8e..12f8accf 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java index f53d29c9..bb429f12 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
similarity index 65%
rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
index 5c7509cf..eebebcb4 100644
--- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
+++ b/owl-bot-staging/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,15 +31,16 @@ 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; } - private PhraseMatcher( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,119 +60,102 @@ private PhraseMatcher( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - revisionId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + revisionId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - versionTag_ = s; - break; + versionTag_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (revisionCreateTime_ != null) { + subBuilder = revisionCreateTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (revisionCreateTime_ != null) { - subBuilder = revisionCreateTime_.toBuilder(); - } - revisionCreateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(revisionCreateTime_); - revisionCreateTime_ = subBuilder.buildPartial(); - } - - break; + revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(revisionCreateTime_); + revisionCreateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 48: - { - int rawValue = input.readEnum(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - type_ = rawValue; - break; - } - case 56: - { - active_ = input.readBool(); - break; + displayName_ = s; + break; + } + case 48: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 56: { + + active_ = input.readBool(); + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRuleGroups_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 66: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = - new java.util.ArrayList< - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup>(); - mutable_bitField0_ |= 0x00000001; - } - phraseMatchRuleGroups_.add( - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), - extensionRegistry)); - break; + phraseMatchRuleGroups_.add( + input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), extensionRegistry)); + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (activationUpdateTime_ != null) { + subBuilder = activationUpdateTime_.toBuilder(); } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (activationUpdateTime_ != null) { - subBuilder = activationUpdateTime_.toBuilder(); - } - activationUpdateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(activationUpdateTime_); - activationUpdateTime_ = subBuilder.buildPartial(); - } - - break; + activationUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(activationUpdateTime_); + activationUpdateTime_ = subBuilder.buildPartial(); } - case 80: - { - int rawValue = input.readEnum(); - roleMatch_ = rawValue; - break; + break; + } + case 80: { + int rawValue = input.readEnum(); + + roleMatch_ = rawValue; + break; + } + case 90: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 90: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -197,7 +163,8 @@ private PhraseMatcher( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRuleGroups_ = java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); @@ -206,25 +173,20 @@ private PhraseMatcher( makeExtensionsImmutable(); } } - - 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.
@@ -232,10 +194,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.
      * 
@@ -244,8 +205,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.
      * 
@@ -254,8 +213,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.
      * 
@@ -267,8 +224,6 @@ public enum PhraseMatcherType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Unspecified.
      * 
@@ -277,8 +232,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.
      * 
@@ -287,8 +240,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.
      * 
@@ -297,6 +248,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( @@ -321,14 +273,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; } } @@ -336,31 +284,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(); @@ -368,7 +314,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; @@ -388,8 +335,6 @@ private PhraseMatcherType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The resource name of the phrase matcher.
    * Format:
@@ -397,7 +342,6 @@ private PhraseMatcherType(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -406,15 +350,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:
@@ -422,15 +365,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 { @@ -441,8 +385,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REVISION_ID_FIELD_NUMBER = 2; 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
@@ -450,10 +392,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 @@ -462,15 +401,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
@@ -478,18 +416,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 { @@ -500,15 +437,12 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public static final int VERSION_TAG_FIELD_NUMBER = 3; 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 @@ -517,30 +451,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 { @@ -551,17 +485,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.
    * 
* - * - * .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 @@ -569,36 +498,25 @@ 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() { @@ -608,14 +526,11 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; - * * @return The displayName. */ @java.lang.Override @@ -624,29 +539,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 { @@ -657,56 +572,38 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int TYPE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(type_); + return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED : result; } public static final int ACTIVE_FIELD_NUMBER = 7; private boolean active_; /** - * - * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; - * * @return The active. */ @java.lang.Override @@ -715,102 +612,73 @@ public boolean getActive() { } public static final int PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER = 8; - 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.
    * 
* - * - * .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 @@ -818,34 +686,23 @@ 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() { @@ -855,59 +712,42 @@ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() public static final int ROLE_MATCH_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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 @@ -915,15 +755,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 @@ -931,14 +767,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() { @@ -946,7 +779,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -958,7 +790,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_); } @@ -974,10 +807,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) { @@ -989,9 +819,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) { @@ -1016,36 +844,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1055,33 +882,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1109,7 +944,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(); @@ -1130,127 +966,117 @@ 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() @@ -1258,17 +1084,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPhraseMatchRuleGroupsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1314,9 +1140,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 @@ -1335,8 +1161,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.revisionId_ = revisionId_; @@ -1377,39 +1202,38 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher 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.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; @@ -1417,8 +1241,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_; onChanged(); @@ -1462,10 +1285,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatchRuleGroupsBuilder_ = null; phraseMatchRuleGroups_ = other.phraseMatchRuleGroups_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRuleGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPhraseMatchRuleGroupsFieldBuilder() - : null; + phraseMatchRuleGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPhraseMatchRuleGroupsFieldBuilder() : null; } else { phraseMatchRuleGroupsBuilder_.addAllMessages(other.phraseMatchRuleGroups_); } @@ -1499,8 +1321,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1509,13 +1330,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1523,13 +1341,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; @@ -1538,8 +1356,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1547,14 +1363,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 { @@ -1562,8 +1379,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1571,22 +1386,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1594,18 +1407,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1613,16 +1423,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1630,8 +1440,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
@@ -1639,16 +1447,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; @@ -1657,8 +1463,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
@@ -1666,17 +1470,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 { @@ -1684,8 +1487,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
@@ -1693,25 +1494,21 @@ 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) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; 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
@@ -1719,21 +1516,16 @@ 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() { - + revisionId_ = getDefaultInstance().getRevisionId(); 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
@@ -1741,19 +1533,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) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -1761,21 +1551,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; @@ -1784,22 +1572,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 { @@ -1807,64 +1594,57 @@ 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) { + public Builder setVersionTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionTag_ = value; 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() { - + versionTag_ = getDefaultInstance().getVersionTag(); 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; - * * @param value The bytes for versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { + public Builder setVersionTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionTag_ = value; onChanged(); return this; @@ -1872,61 +1652,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.
      * 
* - * - * .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 revisionCreateTimeBuilder_ != null || 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. */ 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) { @@ -1942,18 +1703,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.
      * 
* - * - * .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(); onChanged(); @@ -1964,24 +1722,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.
      * 
* - * - * .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 (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); } else { revisionCreateTime_ = value; } @@ -1993,16 +1745,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.
      * 
* - * - * .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() { if (revisionCreateTimeBuilder_ == null) { @@ -2016,67 +1764,51 @@ 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() { - + onChanged(); 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_; @@ -2084,20 +1816,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; @@ -2106,21 +1836,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 { @@ -2128,61 +1857,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2190,118 +1912,85 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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 @@ -2309,72 +1998,55 @@ 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; onChanged(); return this; } /** - * - * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; - * * @return This builder for chaining. */ public Builder clearActive() { - + active_ = false; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = - new java.util.ArrayList( - phraseMatchRuleGroups_); + phraseMatchRuleGroups_ = new java.util.ArrayList(phraseMatchRuleGroups_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2382,15 +2054,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) { @@ -2400,18 +2068,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 { @@ -2419,15 +2082,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) { @@ -2444,19 +2103,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()); @@ -2467,18 +2121,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(); @@ -2492,15 +2141,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) { @@ -2517,15 +2162,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) { @@ -2539,19 +2180,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()); @@ -2562,22 +2198,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); @@ -2585,15 +2217,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) { @@ -2606,15 +2234,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) { @@ -2627,53 +2251,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 { @@ -2681,67 +2291,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2753,58 +2341,39 @@ 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.
      * 
* - * - * .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 activationUpdateTimeBuilder_ != null || 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. */ 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) { @@ -2820,17 +2389,14 @@ 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(); onChanged(); @@ -2841,23 +2407,17 @@ public Builder setActivationUpdateTime(com.google.protobuf.Timestamp.Builder bui 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 (activationUpdateTime_ != null) { activationUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_).mergeFrom(value).buildPartial(); } else { activationUpdateTime_ = value; } @@ -2869,15 +2429,11 @@ 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() { if (activationUpdateTimeBuilder_ == null) { @@ -2891,64 +2447,48 @@ 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() { - + onChanged(); 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_; @@ -2956,109 +2496,83 @@ 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. */ public Builder setRoleMatchValue(int value) { - + roleMatch_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf( - 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.valueOf(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(); } - + roleMatch_ = value.getNumber(); onChanged(); 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() { - + roleMatch_ = 0; onChanged(); return this; @@ -3066,58 +2580,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -3133,17 +2628,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(); onChanged(); @@ -3154,21 +2646,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3180,15 +2668,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() { if (updateTimeBuilder_ == null) { @@ -3202,71 +2686,55 @@ 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() { - + onChanged(); 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); } @@ -3276,12 +2744,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(); } @@ -3290,16 +2758,16 @@ 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 { - return new PhraseMatcher(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatcher(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3314,4 +2782,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java index d116f89d..03a7c88e 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java +++ b/owl-bot-staging/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,231 @@ 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.
    * 
* - * - * .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/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java new file mode 100644 index 00000000..4322f57c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java @@ -0,0 +1,1054 @@ +// 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_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; + + 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." + + "googleapis.com/Analysis\022Xprojects/{proje" + + "ct}/locations/{location}/conversations/{" + + "conversation}/analyses/{analysis}\"\300\001\n\026Co" + + "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" + + "20.google.cloud.contactcenterinsights.v1" + + ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" + + "7.google.cloud.contactcenterinsights.v1." + + "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" + + "e\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\027dialogf" + + "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" + + "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" + + "is_metadata\030\002 \001(\0132J.google.cloud.contact" + + "centerinsights.v1.AnalysisResult.CallAna" + + "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" + + "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" + + "ud.contactcenterinsights.v1.CallAnnotati" + + "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" + + "actcenterinsights.v1.AnalysisResult.Call" + + "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" + + "ents\030\004 \003(\0132A.google.cloud.contactcenteri" + + "nsights.v1.ConversationLevelSentiment\022h\n" + + "\007intents\030\006 \003(\0132W.google.cloud.contactcen" + + "terinsights.v1.AnalysisResult.CallAnalys" + + "isMetadata.IntentsEntry\022w\n\017phrase_matche" + + "rs\030\007 \003(\0132^.google.cloud.contactcenterins" + + "ights.v1.AnalysisResult.CallAnalysisMeta" + + "data.PhraseMatchersEntry\022S\n\022issue_model_" + + "result\030\010 \001(\01327.google.cloud.contactcente" + + "rinsights.v1.IssueModelResult\032^\n\rEntitie" + + "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" + + "gle.cloud.contactcenterinsights.v1.Entit" + + "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" + + "lue\030\002 \001(\0132-.google.cloud.contactcenterin" + + "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" + + "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" + + "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" + + "enterinsights.googleapis.com/IssueModel\022" + + "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" + + "nterinsights.v1.IssueAssignment\"\177\n\032Conve" + + "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" + + "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" + + "d.contactcenterinsights.v1.SentimentData" + + "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" + + "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" + + "\016CallAnnotation\022T\n\021interruption_data\030\n \001" + + "(\01327.google.cloud.contactcenterinsights." + + "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" + + "\013 \001(\01324.google.cloud.contactcenterinsigh" + + "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " + + "\001(\01322.google.cloud.contactcenterinsights" + + ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Hol" + + "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" + + "oogle.cloud.contactcenterinsights.v1.Ent" + + "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " + + "\001(\01326.google.cloud.contactcenterinsights" + + ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" + + "ta\030\021 \001(\01326.google.cloud.contactcenterins" + + "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" + + "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" + + "(\01329.google.cloud.contactcenterinsights." + + "v1.AnnotationBoundary\022Z\n\027annotation_end_" + + "boundary\030\005 \001(\01329.google.cloud.contactcen" + + "terinsights.v1.AnnotationBoundaryB\006\n\004dat" + + "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " + + "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" + + "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" + + "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" + + "ctcenterinsights.v1.Entity.Type\022M\n\010metad" + + "ata\030\003 \003(\0132;.google.cloud.contactcenterin" + + "sights.v1.Entity.MetadataEntry\022\020\n\010salien" + + "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" + + "ud.contactcenterinsights.v1.SentimentDat" + + "a\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_UNSPECIFIED\020" + + "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" + + "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" + + "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" + + "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" + + "PRICE\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\020" + + "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" + + "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" + + "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" + + "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" + + "ud.contactcenterinsights.v1.EntityMentio" + + "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" + + "oogle.cloud.contactcenterinsights.v1.Sen" + + "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" + + "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" + + "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" + + " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" + + "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" + + "gle.cloud.contactcenterinsights.v1.Issue" + + "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " + + "\001(\0132A.google.cloud.contactcenterinsights" + + ".v1.IssueModel.InputDataConfig\022[\n\016traini" + + "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" + + "terinsights.v1.IssueModelLabelStatsB\006\340A\003" + + "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" + + ":.google.cloud.contactcenterinsights.v1." + + "Conversation.MediumB\002\030\001\022)\n\034training_conv" + + "ersations_count\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\nUN" + + "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" + + "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" + + "tactcenterinsights.googleapis.com/IssueM" + + "odel\022Aprojects/{project}/locations/{loca" + + "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" + + "e\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.protobu" + + "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" + + "ntactcenterinsights.googleapis.com/Issue" + + "\022Pprojects/{project}/locations/{location" + + "}/issueModels/{issue_model}/issues/{issu" + + "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" + + "conversations_count\030\001 \001(\003\022(\n unclassifie" + + "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" + + "ts\030\003 \003(\0132K.google.cloud.contactcenterins" + + "ights.v1.IssueModelLabelStats.IssueStats" + + "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" + + "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" + + "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" + + "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" + + "actcenterinsights.v1.IssueModelLabelStat" + + "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" + + "me\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_create_ti" + + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." + + "google.cloud.contactcenterinsights.v1.Ph" + + "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" + + "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" + + " \003(\0132;.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" + + "update_time\030\t \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." + + "cloud.contactcenterinsights.v1.Conversat" + + "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" + + "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" + + "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" + + "}\n2contactcenterinsights.googleapis.com/" + + "PhraseMatcher\022Gprojects/{project}/locati" + + "ons/{location}/phraseMatchers/{phrase_ma" + + "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" + + "\001 \001(\0162T.google.cloud.contactcenterinsigh" + + "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" + + "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" + + " \003(\01326.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" + + "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" + + "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" + + "\n\022exact_match_config\030\001 \001(\01327.google.clou" + + "d.contactcenterinsights.v1.ExactMatchCon" + + "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" + + "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" + + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" + + "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" + + "ubsub_notification_settings\030\006 \003(\0132O.goog" + + "le.cloud.contactcenterinsights.v1.Settin" + + "gs.PubsubNotificationSettingsEntry\022W\n\017an" + + "alysis_config\030\007 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.Settings.AnalysisCon" + + "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" + + "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" + + "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" + + "ights.googleapis.com/Settings\0220projects/" + + "{project}/locations/{location}/settings\"" + + "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" + + "ion\030\006 \001(\0132<.google.cloud.contactcenterin" + + "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" + + "_answer\030\007 \001(\01324.google.cloud.contactcent" + + "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" + + "eply\030\010 \001(\01325.google.cloud.contactcenteri" + + "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" + + "pose_suggestion\030\t \001(\0132A.google.cloud.con" + + "tactcenterinsights.v1.SmartComposeSugges" + + "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" + + "(\0132@.google.cloud.contactcenterinsights." + + "v1.DialogflowInteractionDataH\000\022\025\n\rannota" + + "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022Q\n\016start_boundary" + + "\030\003 \001(\01329.google.cloud.contactcenterinsig" + + "hts.v1.AnnotationBoundary\022O\n\014end_boundar" + + "y\030\004 \001(\01329.google.cloud.contactcenterinsi" + + "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" + + "dback\030\005 \001(\01325.google.cloud.contactcenter" + + "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" + + "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" + + "2F.google.cloud.contactcenterinsights.v1" + + ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" + + "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" + + "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" + + "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" + + "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" + + "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" + + "2J.google.cloud.contactcenterinsights.v1" + + ".ArticleSuggestionData.MetadataEntry\022\024\n\014" + + "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" + + "tadataEntry\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\006answer\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.google.cloud.conta" + + "ctcenterinsights.v1.FaqAnswerData.Metada" + + "taEntry\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\005v" + + "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" + + "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" + + "tadata\030\003 \003(\0132C.google.cloud.contactcente" + + "rinsights.v1.SmartReplyData.MetadataEntr" + + "y\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\032Sma" + + "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " + + "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" + + "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" + + "ghts.v1.SmartComposeSuggestionData.Metad" + + "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" + + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" + + "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" + + "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" + + "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" + + "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" + + "nterinsights.v1.ConversationParticipant." + + "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" + + "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" + + "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" + + "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" + + "ogleapis.com/View\0224projects/{project}/lo" + + "cations/{location}/views/{view}B\354\003\n)com." + + "google.cloud.contactcenterinsights.v1B\016R" + + "esourcesProtoP\001ZZgoogle.golang.org/genpr" + + "oto/googleapis/cloud/contactcenterinsigh" + + "ts/v1;contactcenterinsights\252\002%Google.Clo" + + "ud.ContactCenterInsights.V1\312\002%Google\\Clo" + + "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" + + "oud::ContactCenterInsights::V1\352A\324\001\n%dial" + + "ogflow.googleapis.com/Participant\022Jproje" + + "cts/{project}/conversations/{conversatio" + + "n}/participants/{participant}\022_projects/" + + "{project}/locations/{location}/conversat" + + "ions/{conversation}/participants/{partic" + + "ipant}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", }); + 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", "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_IssueModel_descriptor = + getDescriptor().getMessageTypes().get(21); + 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(22); + 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", }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = + getDescriptor().getMessageTypes().get(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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", }); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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(36); + 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(37); + 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(38); + 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", }); + 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java index a4c07193..f44ba4ae 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private RuntimeAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,189 +53,141 @@ private RuntimeAnnotation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - annotationId_ = s; - break; + annotationId_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (startBoundary_ != null) { - subBuilder = startBoundary_.toBuilder(); - } - startBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startBoundary_); - startBoundary_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (startBoundary_ != null) { + subBuilder = startBoundary_.toBuilder(); } - case 34: - { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = - null; - if (endBoundary_ != null) { - subBuilder = endBoundary_.toBuilder(); - } - endBoundary_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endBoundary_); - endBoundary_ = subBuilder.buildPartial(); - } - - break; + startBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startBoundary_); + startBoundary_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; - if (answerFeedback_ != null) { - subBuilder = answerFeedback_.toBuilder(); - } - answerFeedback_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(answerFeedback_); - answerFeedback_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 34: { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; + if (endBoundary_ != null) { + subBuilder = endBoundary_.toBuilder(); } - case 50: - { - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = - null; - if (dataCase_ == 6) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 6; - break; + endBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endBoundary_); + endBoundary_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; - if (dataCase_ == 7) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 7; - break; + + break; + } + case 42: { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; + if (answerFeedback_ != null) { + subBuilder = answerFeedback_.toBuilder(); } - case 66: - { - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; - if (dataCase_ == 8) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 8; - break; + answerFeedback_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(answerFeedback_); + answerFeedback_ = subBuilder.buildPartial(); } - case 74: - { - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder - subBuilder = null; - if (dataCase_ == 9) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 9; - break; + + break; + } + case 50: { + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = null; + if (dataCase_ == 6) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + data_ = subBuilder.buildPartial(); } - case 82: - { - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder - subBuilder = null; - if (dataCase_ == 10) { - subBuilder = - ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) - .toBuilder(); - } - data_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; + dataCase_ = 6; + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; + if (dataCase_ == 7) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); + data_ = subBuilder.buildPartial(); } + dataCase_ = 7; + break; + } + case 66: { + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; + if (dataCase_ == 8) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 8; + break; + } + case 74: { + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder subBuilder = null; + if (dataCase_ == 9) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 9; + break; + } + case 82: { + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder subBuilder = null; + if (dataCase_ == 10) { + subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_).toBuilder(); + } + data_ = + input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -260,34 +195,30 @@ private RuntimeAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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), @@ -296,7 +227,6 @@ public enum DataCase DIALOGFLOW_INTERACTION(10), DATA_NOT_SET(0); private final int value; - private DataCase(int value) { this.value = value; } @@ -312,43 +242,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 @@ -356,53 +276,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 @@ -410,26 +319,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.
    * 
@@ -439,21 +343,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 @@ -461,26 +362,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.
    * 
@@ -488,26 +384,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 @@ -515,60 +405,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 @@ -576,42 +448,31 @@ 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(); } @@ -619,8 +480,6 @@ public boolean hasDialogflowInteraction() { public static final int ANNOTATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object annotationId_; /** - * - * *
    * The unique identifier of the annotation.
    * Format:
@@ -628,7 +487,6 @@ public boolean hasDialogflowInteraction() {
    * 
* * string annotation_id = 1; - * * @return The annotationId. */ @java.lang.Override @@ -637,15 +495,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:
@@ -653,15 +510,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 { @@ -672,14 +530,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 @@ -687,14 +542,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 @@ -702,8 +554,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time at which this annotation was created.
    * 
@@ -718,14 +568,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 @@ -733,25 +580,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.
    * 
@@ -759,22 +599,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getStartBoundaryOrBuilder() { return getStartBoundary(); } 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 @@ -782,25 +618,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.
    * 
@@ -808,22 +637,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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder getEndBoundaryOrBuilder() { return getEndBoundary(); } 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 @@ -831,25 +656,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`.
    * 
@@ -857,13 +675,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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder getAnswerFeedbackOrBuilder() { return getAnswerFeedback(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -875,7 +691,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_); } @@ -892,8 +709,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_); @@ -902,12 +718,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_); } unknownFields.writeTo(output); } @@ -922,41 +736,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -966,47 +779,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: @@ -1070,127 +892,117 @@ 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() @@ -1198,15 +1010,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1242,9 +1055,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 @@ -1263,8 +1076,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); if (dataCase_ == 6) { if (articleSuggestionBuilder_ == null) { result.data_ = data_; @@ -1330,39 +1142,38 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation 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.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; @@ -1370,8 +1181,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_; onChanged(); @@ -1389,35 +1199,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.unknownFields); onChanged(); @@ -1438,8 +1242,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1448,12 +1251,12 @@ public Builder mergeFrom( } 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() { @@ -1463,21 +1266,15 @@ public Builder clearData() { return this; } + 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 @@ -1485,15 +1282,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 @@ -1511,17 +1304,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(); @@ -1535,14 +1324,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) { @@ -1556,27 +1342,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; } @@ -1592,14 +1369,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) { @@ -1618,32 +1392,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 { @@ -1654,55 +1420,39 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 6; - onChanged(); - ; + onChanged();; return articleSuggestionBuilder_; } 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 @@ -1710,14 +1460,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 @@ -1735,8 +1482,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { } } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1757,8 +1502,6 @@ public Builder setFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerD return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1777,8 +1520,6 @@ public Builder setFaqAnswer( return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1787,14 +1528,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; } @@ -1810,8 +1547,6 @@ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswe return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1835,8 +1570,6 @@ public Builder clearFaqAnswer() { return this; } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1847,8 +1580,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns return getFaqAnswerFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1856,8 +1587,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 { @@ -1868,8 +1598,6 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns } } /** - * - * *
      * Agent Assist FAQ answer data.
      * 
@@ -1877,44 +1605,32 @@ 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()); data_ = null; } dataCase_ = 7; - onChanged(); - ; + onChanged();; return faqAnswerBuilder_; } 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 @@ -1922,14 +1638,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 @@ -1947,8 +1660,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() } } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1969,8 +1680,6 @@ public Builder setSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRepl return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1989,8 +1698,6 @@ public Builder setSmartReply( return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -1999,14 +1706,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; } @@ -2022,8 +1725,6 @@ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRe return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2047,8 +1748,6 @@ public Builder clearSmartReply() { return this; } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2059,8 +1758,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart return getSmartReplyFieldBuilder().getBuilder(); } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2068,8 +1765,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 { @@ -2080,8 +1776,6 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart } } /** - * - * *
      * Agent Assist Smart Reply data.
      * 
@@ -2089,46 +1783,32 @@ 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()); data_ = null; } dataCase_ = 8; - onChanged(); - ; + onChanged();; return smartReplyBuilder_; } 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 @@ -2136,48 +1816,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(); @@ -2191,19 +1858,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(); @@ -2214,28 +1876,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; } @@ -2251,15 +1903,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) { @@ -2278,98 +1926,67 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 9; - onChanged(); - ; + onChanged();; return smartComposeSuggestionBuilder_; } 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 @@ -2377,48 +1994,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(); @@ -2432,19 +2036,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(); @@ -2455,28 +2054,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; } @@ -2492,15 +2081,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) { @@ -2519,86 +2104,61 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 10; - onChanged(); - ; + onChanged();; return dialogflowInteractionBuilder_; } private java.lang.Object annotationId_ = ""; /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2606,13 +2166,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; @@ -2621,8 +2181,6 @@ public java.lang.String getAnnotationId() { } } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2630,14 +2188,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 { @@ -2645,8 +2204,6 @@ public com.google.protobuf.ByteString getAnnotationIdBytes() { } } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2654,22 +2211,20 @@ 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) { + public Builder setAnnotationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationId_ = value; onChanged(); return this; } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2677,18 +2232,15 @@ public Builder setAnnotationId(java.lang.String value) {
      * 
* * string annotation_id = 1; - * * @return This builder for chaining. */ public Builder clearAnnotationId() { - + annotationId_ = getDefaultInstance().getAnnotationId(); onChanged(); return this; } /** - * - * *
      * The unique identifier of the annotation.
      * Format:
@@ -2696,16 +2248,16 @@ 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) { + public Builder setAnnotationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationId_ = value; onChanged(); return this; @@ -2713,47 +2265,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 createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -2774,15 +2313,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(); onChanged(); @@ -2793,8 +2331,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2805,7 +2341,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2817,8 +2353,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2837,8 +2371,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2846,13 +2378,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this annotation was created.
      * 
@@ -2863,14 +2393,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.
      * 
@@ -2878,17 +2405,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_; @@ -2896,55 +2420,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 startBoundaryBuilder_ != null || startBoundary_ != null; } /** - * - * *
      * 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(); @@ -2958,8 +2468,6 @@ public Builder setStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2978,23 +2486,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 (startBoundary_ != null) { startBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( - startBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(startBoundary_).mergeFrom(value).buildPartial(); } else { startBoundary_ = value; } @@ -3006,8 +2508,6 @@ public Builder mergeStartBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -3026,42 +2526,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() { + 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.
      * 
@@ -3069,17 +2560,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_; @@ -3087,55 +2575,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 endBoundaryBuilder_ != null || endBoundary_ != null; } /** - * - * *
      * 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(); @@ -3149,8 +2623,6 @@ public Builder setEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -3169,22 +2641,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 (endBoundary_ != null) { endBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_).mergeFrom(value).buildPartial(); } else { endBoundary_ = value; } @@ -3196,8 +2663,6 @@ public Builder mergeEndBoundary( return this; } /** - * - * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -3216,42 +2681,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() { + 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.
      * 
@@ -3259,17 +2715,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_; @@ -3277,55 +2730,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 answerFeedbackBuilder_ != null || answerFeedback_ != null; } /** - * - * *
      * 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(); @@ -3339,8 +2778,6 @@ public Builder setAnswerFeedback( return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -3359,22 +2796,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 (answerFeedback_ != null) { answerFeedback_ = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_).mergeFrom(value).buildPartial(); } else { answerFeedback_ = value; } @@ -3386,8 +2818,6 @@ public Builder mergeAnswerFeedback( return this; } /** - * - * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -3406,42 +2836,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() { + 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`.
      * 
@@ -3449,24 +2870,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); } @@ -3476,12 +2894,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(); } @@ -3490,16 +2908,16 @@ 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 { - return new RuntimeAnnotation(input, extensionRegistry); - } - }; + 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 { + return new RuntimeAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3514,4 +2932,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java similarity index 78% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java index 4e2082e3..55d891c7 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java index a973ff59..106e2adc 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private SentimentData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,23 +52,23 @@ private SentimentData( case 0: done = true; break; - case 13: - { - magnitude_ = input.readFloat(); - break; - } - case 21: - { - score_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 13: { + + magnitude_ = input.readFloat(); + break; + } + case 21: { + + score_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,40 +76,35 @@ private SentimentData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * 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 @@ -136,14 +115,11 @@ public float getMagnitude() { public static final int SCORE_FIELD_NUMBER = 2; private float score_; /** - * - * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; - * * @return The score. */ @java.lang.Override @@ -152,7 +128,6 @@ public float getScore() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,7 +139,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_); } @@ -181,10 +157,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -194,18 +172,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -218,136 +197,128 @@ 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) + unknownFields.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() @@ -355,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +347,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 @@ -396,8 +368,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.SentimentData result = new com.google.cloud.contactcenterinsights.v1.SentimentData(this); result.magnitude_ = magnitude_; result.score_ = score_; onBuilt(); @@ -408,39 +379,38 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData 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.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; @@ -448,8 +418,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()); } @@ -475,8 +444,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,17 +454,14 @@ public Builder mergeFrom( return this; } - 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 @@ -504,53 +469,44 @@ 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; 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() { - + magnitude_ = 0F; onChanged(); 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 @@ -558,43 +514,37 @@ 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; 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() { - + score_ = 0F; 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); } @@ -604,12 +554,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(); } @@ -618,16 +568,16 @@ 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 { - return new SentimentData(input, extensionRegistry); - } - }; + 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 { + return new SentimentData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SentimentData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java similarity index 53% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java index 1c905b00..b3ce797b 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java similarity index 71% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java index 8e174232..7433ac50 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private Settings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,111 +55,90 @@ private Settings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Duration.Builder subBuilder = null; - if (conversationTtl_ != null) { - subBuilder = conversationTtl_.toBuilder(); - } - conversationTtl_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationTtl_); - conversationTtl_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; + } + case 42: { + com.google.protobuf.Duration.Builder subBuilder = null; + if (conversationTtl_ != null) { + subBuilder = conversationTtl_.toBuilder(); } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pubsubNotificationSettings_ = - com.google.protobuf.MapField.newMapField( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - pubsubNotificationSettings__ = - input.readMessage( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - pubsubNotificationSettings_ - .getMutableMap() - .put( - pubsubNotificationSettings__.getKey(), - pubsubNotificationSettings__.getValue()); - break; + conversationTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationTtl_); + conversationTtl_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = - null; - if (analysisConfig_ != null) { - subBuilder = analysisConfig_.toBuilder(); - } - analysisConfig_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisConfig_); - analysisConfig_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pubsubNotificationSettings_ = com.google.protobuf.MapField.newMapField( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + pubsubNotificationSettings__ = input.readMessage( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + pubsubNotificationSettings_.getMutableMap().put( + pubsubNotificationSettings__.getKey(), pubsubNotificationSettings__.getValue()); + break; + } + case 58: { + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = null; + if (analysisConfig_ != null) { + subBuilder = analysisConfig_.toBuilder(); + } + analysisConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisConfig_); + analysisConfig_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -184,90 +146,84 @@ private Settings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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(); } /** - * - * *
    * 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; } - private AnalysisConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -286,18 +242,18 @@ private AnalysisConfig( case 0: done = true; break; - case 9: - { - runtimeIntegrationAnalysisPercentage_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 9: { + + runtimeIntegrationAnalysisPercentage_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -305,40 +261,35 @@ private AnalysisConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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 @@ -347,7 +298,6 @@ public double getRuntimeIntegrationAnalysisPercentage() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -359,7 +309,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_); } @@ -373,9 +324,8 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -385,17 +335,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,105 +357,95 @@ 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())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -516,49 +455,44 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -568,16 +502,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 @@ -591,8 +523,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); result.runtimeIntegrationAnalysisPercentage_ = runtimeIntegrationAnalysisPercentage_; onBuilt(); return result; @@ -602,53 +533,46 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig buildPa 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()); } @@ -671,9 +595,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,17 +605,14 @@ public Builder mergeFrom( return this; } - 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 @@ -701,43 +620,36 @@ 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; 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() { - + runtimeIntegrationAnalysisPercentage_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -750,32 +662,30 @@ 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 { - return new AnalysisConfig(input, extensionRegistry); - } - }; + 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 { + return new AnalysisConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -787,17 +697,15 @@ 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -805,7 +713,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -814,15 +721,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:
@@ -830,15 +736,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 { @@ -849,15 +756,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 @@ -865,15 +768,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 @@ -881,14 +780,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() { @@ -898,15 +794,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 @@ -914,15 +806,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 @@ -930,14 +818,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() { @@ -947,8 +832,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; 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
@@ -956,7 +839,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string language_code = 4; - * * @return The languageCode. */ @java.lang.Override @@ -965,15 +847,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
@@ -981,15 +862,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 { @@ -1000,8 +882,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
@@ -1010,7 +890,6 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; - * * @return Whether the conversationTtl field is set. */ @java.lang.Override @@ -1018,8 +897,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
@@ -1028,18 +905,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
@@ -1055,23 +927,21 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
   }
 
   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,
+                "");
   }
-
+  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);
@@ -1083,8 +953,6 @@ 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
@@ -1102,22 +970,22 @@ 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
@@ -1136,12 +1004,11 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
+
   public java.util.Map getPubsubNotificationSettingsMap() {
     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
@@ -1160,18 +1027,16 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
+
   public java.lang.String getPubsubNotificationSettingsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String 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
@@ -1190,10 +1055,10 @@ public 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)) {
@@ -1205,15 +1070,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 @@ -1221,41 +1082,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() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder() { return getAnalysisConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1267,7 +1117,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_); } @@ -1283,7 +1134,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, @@ -1304,31 +1156,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1338,33 +1192,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1407,146 +1266,139 @@ 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() @@ -1554,15 +1406,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1599,9 +1452,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 @@ -1620,8 +1473,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.Settings result = new com.google.cloud.contactcenterinsights.v1.Settings(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -1655,39 +1507,38 @@ public com.google.cloud.contactcenterinsights.v1.Settings 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.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; @@ -1695,8 +1546,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_; onChanged(); @@ -1714,8 +1564,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()); if (other.hasAnalysisConfig()) { mergeAnalysisConfig(other.getAnalysisConfig()); } @@ -1738,8 +1588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1748,13 +1597,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1762,13 +1608,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; @@ -1777,8 +1623,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1786,14 +1630,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 { @@ -1801,8 +1646,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1810,22 +1653,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1833,18 +1674,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1852,16 +1690,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1869,58 +1707,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1936,17 +1755,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(); onChanged(); @@ -1957,21 +1773,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1983,15 +1795,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() { if (createTimeBuilder_ == null) { @@ -2005,64 +1813,48 @@ 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() { - + onChanged(); 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_; @@ -2070,58 +1862,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2137,17 +1910,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(); onChanged(); @@ -2158,21 +1928,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2184,15 +1950,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() { if (updateTimeBuilder_ == null) { @@ -2206,64 +1968,48 @@ 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() { - + onChanged(); 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_; @@ -2271,8 +2017,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
@@ -2280,13 +2024,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; @@ -2295,8 +2039,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
@@ -2304,14 +2046,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 { @@ -2319,8 +2062,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
@@ -2328,22 +2069,20 @@ 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) { + public Builder setLanguageCode( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; 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
@@ -2351,18 +2090,15 @@ public Builder setLanguageCode(java.lang.String value) {
      * 
* * string language_code = 4; - * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); 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
@@ -2370,16 +2106,16 @@ 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) { + public Builder setLanguageCodeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -2387,13 +2123,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
@@ -2402,15 +2133,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 conversationTtlBuilder_ != null || conversationTtl_ != null; } /** - * - * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2419,21 +2147,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
@@ -2457,8 +2180,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
@@ -2468,7 +2189,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();
         onChanged();
@@ -2479,8 +2201,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
@@ -2494,9 +2214,7 @@ public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       if (conversationTtlBuilder_ == null) {
         if (conversationTtl_ != null) {
           conversationTtl_ =
-              com.google.protobuf.Duration.newBuilder(conversationTtl_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(conversationTtl_).mergeFrom(value).buildPartial();
         } else {
           conversationTtl_ = value;
         }
@@ -2508,8 +2226,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
@@ -2531,8 +2247,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
@@ -2543,13 +2257,11 @@ public Builder clearConversationTtl() {
      * .google.protobuf.Duration conversation_ttl = 5;
      */
     public com.google.protobuf.Duration.Builder getConversationTtlBuilder() {
-
+      
       onChanged();
       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
@@ -2563,14 +2275,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
@@ -2581,42 +2290,35 @@ 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() {
+    internalGetPubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
       }
       return pubsubNotificationSettings_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutablePubsubNotificationSettings() {
-      onChanged();
-      ;
+    internalGetMutablePubsubNotificationSettings() {
+      onChanged();;
       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();
@@ -2628,8 +2330,6 @@ 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
@@ -2647,22 +2347,22 @@ 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
@@ -2681,12 +2381,11 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
+
     public java.util.Map getPubsubNotificationSettingsMap() {
       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
@@ -2705,18 +2404,16 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
+
     public java.lang.String getPubsubNotificationSettingsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String 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
@@ -2735,10 +2432,10 @@ public 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)) {
@@ -2748,12 +2445,11 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(java.lang.String ke
     }
 
     public Builder clearPubsubNotificationSettings() {
-      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
@@ -2771,22 +2467,23 @@ 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() {
+    getMutablePubsubNotificationSettings() {
       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
@@ -2804,20 +2501,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutablePubsubNotificationSettings().getMutableMap().put(key, value);
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .put(key, value);
       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
@@ -2835,66 +2531,51 @@ public Builder putPubsubNotificationSettings(java.lang.String key, java.lang.Str
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
+
     public Builder putAllPubsubNotificationSettings(
         java.util.Map values) {
-      internalGetMutablePubsubNotificationSettings().getMutableMap().putAll(values);
+      internalGetMutablePubsubNotificationSettings().getMutableMap()
+          .putAll(values);
       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 analysisConfigBuilder_ != null || 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. */ 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(); @@ -2908,14 +2589,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) { @@ -2929,24 +2607,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 (analysisConfig_ != null) { analysisConfig_ = - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder( - analysisConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder(analysisConfig_).mergeFrom(value).buildPartial(); } else { analysisConfig_ = value; } @@ -2958,14 +2629,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() { if (analysisConfigBuilder_ == null) { @@ -2979,70 +2647,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() { + 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); } @@ -3052,12 +2705,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(); } @@ -3066,16 +2719,16 @@ 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 { - return new Settings(input, extensionRegistry); - } - }; + 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 { + return new Settings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3090,4 +2743,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Settings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java similarity index 82% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java index 55e6f5ae..06c8750f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java +++ b/owl-bot-staging/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
@@ -289,13 +230,11 @@ public interface SettingsOrBuilder
    */
 
   /* 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
@@ -313,44 +252,34 @@ 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java index 1b820b55..bd7dba18 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private SilenceData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private SilenceData( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private SilenceData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ 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() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,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 @@ -325,8 +297,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; } @@ -335,39 +306,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; @@ -375,8 +345,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.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -418,12 +386,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(); } @@ -432,16 +400,16 @@ 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 { - return new SilenceData(input, extensionRegistry); - } - }; + 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 { + return new SilenceData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java new file mode 100644 index 00000000..c865e05a --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java index 2ab6f9e3..790c1de2 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private SmartComposeSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,47 +55,43 @@ private SmartComposeSuggestionData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - suggestion_ = s; - break; - } - case 17: - { - confidenceScore_ = input.readDouble(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + suggestion_ = s; + break; + } + case 17: { - queryRecord_ = s; - break; + confidenceScore_ = input.readDouble(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + queryRecord_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,50 +99,46 @@ private SmartComposeSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object suggestion_; /** - * - * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; - * * @return The suggestion. */ @java.lang.Override @@ -172,29 +147,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 { @@ -205,8 +180,6 @@ public com.google.protobuf.ByteString getSuggestionBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -214,7 +187,6 @@ public com.google.protobuf.ByteString getSuggestionBytes() {
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -223,23 +195,24 @@ 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, + ""); } - - 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_; } @@ -248,8 +221,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -257,22 +228,22 @@ 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.
@@ -281,12 +252,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -295,17 +265,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -314,11 +283,12 @@ public 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();
     }
@@ -328,8 +298,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -337,7 +305,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 4; - * * @return The queryRecord. */ @java.lang.Override @@ -346,15 +313,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:
@@ -362,15 +328,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 { @@ -379,7 +346,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,15 +357,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_); } @@ -416,17 +387,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_); @@ -439,19 +411,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -466,10 +441,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(); @@ -482,165 +455,156 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -655,16 +619,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 @@ -678,8 +640,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); int from_bitField0_ = bitField0_; result.suggestion_ = suggestion_; result.confidenceScore_ = confidenceScore_; @@ -694,51 +655,46 @@ public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData 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.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_; onChanged(); @@ -746,7 +702,8 @@ public Builder mergeFrom( if (other.getConfidenceScore() != 0D) { setConfidenceScore(other.getConfidenceScore()); } - internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom( + other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -770,9 +727,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -781,25 +736,22 @@ public Builder mergeFrom( } 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; @@ -808,21 +760,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 { @@ -830,70 +781,61 @@ 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) { + public Builder setSuggestion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** - * - * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; - * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); 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) { + public Builder setSuggestionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); 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
@@ -901,7 +843,6 @@ public Builder setSuggestionBytes(com.google.protobuf.ByteString value) {
      * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -909,8 +850,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
@@ -918,19 +857,16 @@ 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; 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
@@ -938,32 +874,31 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -975,8 +910,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -984,22 +917,22 @@ 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.
@@ -1008,12 +941,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1022,17 +954,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1041,11 +972,12 @@ public 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();
       }
@@ -1053,12 +985,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1066,21 +997,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1088,20 +1021,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1109,15 +1041,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1125,13 +1058,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; @@ -1140,8 +1073,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1149,14 +1080,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 { @@ -1164,8 +1096,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1173,22 +1103,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1196,18 +1124,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 4; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1215,23 +1140,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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1241,32 +1166,30 @@ 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 { - return new SmartComposeSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new SmartComposeSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1278,8 +1201,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java index efd04393..ec4de4b5 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -111,13 +84,11 @@ public interface SmartComposeSuggestionDataOrBuilder
    */
 
   /* 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.
@@ -125,11 +96,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:
@@ -137,13 +108,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -151,8 +119,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java similarity index 66% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java index 30a31825..528c4ece 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java +++ b/owl-bot-staging/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,15 +26,16 @@ 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; } - private SmartReplyData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,47 +55,43 @@ private SmartReplyData( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - reply_ = s; - break; - } - case 17: - { - confidenceScore_ = input.readDouble(); - break; - } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = - com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry metadata__ = - input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + reply_ = s; + break; + } + case 17: { - queryRecord_ = s; - break; + confidenceScore_ = input.readDouble(); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + metadata__ = input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + metadata_.getMutableMap().put( + metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + queryRecord_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,50 +99,46 @@ private SmartReplyData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object reply_; /** - * - * *
    * The content of the reply.
    * 
* * string reply = 1; - * * @return The reply. */ @java.lang.Override @@ -172,29 +147,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 { @@ -205,8 +180,6 @@ public com.google.protobuf.ByteString getReplyBytes() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -214,7 +187,6 @@ public com.google.protobuf.ByteString getReplyBytes() {
    * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -223,23 +195,24 @@ 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, + ""); } - - 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_; } @@ -248,8 +221,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -257,22 +228,22 @@ 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.
@@ -281,12 +252,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -295,17 +265,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      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.
@@ -314,11 +283,12 @@ public 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();
     }
@@ -328,8 +298,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
-   *
-   *
    * 
    * The name of the answer record.
    * Format:
@@ -337,7 +305,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
    * 
* * string query_record = 4; - * * @return The queryRecord. */ @java.lang.Override @@ -346,15 +313,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:
@@ -362,15 +328,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 { @@ -379,7 +346,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,15 +357,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_); } @@ -416,17 +387,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_); @@ -439,19 +411,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -466,10 +441,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(); @@ -482,147 +455,139 @@ 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() @@ -630,15 +595,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -653,9 +619,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 @@ -674,8 +640,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.SmartReplyData result = new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); int from_bitField0_ = bitField0_; result.reply_ = reply_; result.confidenceScore_ = confidenceScore_; @@ -690,39 +655,38 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData 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.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; @@ -730,8 +694,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_; onChanged(); @@ -739,7 +702,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -763,8 +727,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -773,25 +736,22 @@ public Builder mergeFrom( } 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; @@ -800,21 +760,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 { @@ -822,70 +781,61 @@ 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) { + public Builder setReply( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reply_ = value; onChanged(); return this; } /** - * - * *
      * The content of the reply.
      * 
* * string reply = 1; - * * @return This builder for chaining. */ public Builder clearReply() { - + reply_ = getDefaultInstance().getReply(); onChanged(); 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) { + public Builder setReplyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reply_ = value; onChanged(); 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
@@ -893,7 +843,6 @@ public Builder setReplyBytes(com.google.protobuf.ByteString value) {
      * 
* * double confidence_score = 2; - * * @return The confidenceScore. */ @java.lang.Override @@ -901,8 +850,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
@@ -910,19 +857,16 @@ 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; 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
@@ -930,32 +874,31 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; - * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; 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(); @@ -967,8 +910,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -976,22 +917,22 @@ 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.
@@ -1000,12 +941,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1014,17 +954,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        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.
@@ -1033,11 +972,12 @@ public 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();
       }
@@ -1045,12 +985,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1058,21 +997,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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1080,20 +1021,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1101,15 +1041,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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
-     *
-     *
      * 
      * The name of the answer record.
      * Format:
@@ -1117,13 +1058,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; @@ -1132,8 +1073,6 @@ public java.lang.String getQueryRecord() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1141,14 +1080,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 { @@ -1156,8 +1096,6 @@ public com.google.protobuf.ByteString getQueryRecordBytes() { } } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1165,22 +1103,20 @@ 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) { + public Builder setQueryRecord( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1188,18 +1124,15 @@ public Builder setQueryRecord(java.lang.String value) {
      * 
* * string query_record = 4; - * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** - * - * *
      * The name of the answer record.
      * Format:
@@ -1207,23 +1140,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) { + public Builder setQueryRecordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1233,12 +1166,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(); } @@ -1247,16 +1180,16 @@ 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 { - return new SmartReplyData(input, extensionRegistry); - } - }; + 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 { + return new SmartReplyData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1271,4 +1204,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java similarity index 67% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java index dde4f8e6..59dae0cd 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java +++ b/owl-bot-staging/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.
@@ -111,13 +84,11 @@ public interface SmartReplyDataOrBuilder
    */
 
   /* 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.
@@ -125,11 +96,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:
@@ -137,13 +108,10 @@ java.lang.String getMetadataOrDefault(
    * 
* * string query_record = 4; - * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** - * - * *
    * The name of the answer record.
    * Format:
@@ -151,8 +119,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java similarity index 64% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java index 4e3bc499..e2cf4095 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UndeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,61 +52,52 @@ private UndeployIssueModelMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder - subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,40 +105,34 @@ private UndeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -171,15 +140,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 @@ -187,14 +152,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() { @@ -204,15 +166,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 @@ -220,15 +178,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 @@ -236,14 +190,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() { @@ -253,14 +204,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 @@ -268,25 +216,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.
    * 
@@ -294,13 +235,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() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +251,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()); } @@ -332,13 +272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -348,25 +291,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -397,145 +342,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,16 +495,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 @@ -584,8 +516,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -609,51 +540,46 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata 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.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()); } @@ -682,9 +608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,58 +620,39 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -763,17 +668,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(); onChanged(); @@ -784,21 +686,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -810,15 +708,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() { if (createTimeBuilder_ == null) { @@ -832,64 +726,48 @@ 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() { - + onChanged(); 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_; @@ -897,35 +775,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -936,14 +803,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) { @@ -959,16 +823,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(); onChanged(); @@ -979,20 +841,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1004,14 +863,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() { if (endTimeBuilder_ == null) { @@ -1025,59 +881,48 @@ 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() { - + onChanged(); 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_; @@ -1085,56 +930,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 requestBuilder_ != null || request_ != null; } /** - * - * *
      * 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(); @@ -1148,8 +978,6 @@ public Builder setRequest( return this; } /** - * - * *
      * The original request for undeployment.
      * 
@@ -1157,8 +985,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(); onChanged(); @@ -1169,23 +996,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder( - request_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); } else { request_ = value; } @@ -1197,8 +1018,6 @@ public Builder mergeRequest( return this; } /** - * - * *
      * The original request for undeployment.
      * 
@@ -1217,43 +1036,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() { + 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.
      * 
@@ -1261,24 +1070,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); } @@ -1288,32 +1094,30 @@ 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 { - return new UndeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,8 +1129,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java similarity index 69% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java index 2f35b185..5e656936 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java similarity index 61% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java index dfb32d6f..a0736023 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UndeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private UndeployIssueModelRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private UndeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -134,31 +109,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,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 @@ -402,8 +362,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest build 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_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( 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; @@ -519,23 +467,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 { @@ -543,74 +488,61 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -620,32 +552,30 @@ 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 { - return new UndeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..52d1662c --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java index 7ea7f44a..f454b27f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UndeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private UndeployIssueModelResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private UndeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; @@ -117,7 +98,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 { unknownFields.writeTo(output); } @@ -135,13 +117,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,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 @@ -329,8 +297,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; } @@ -339,51 +306,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.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } 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); } @@ -426,32 +386,30 @@ 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 { - return new UndeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..77ed1a9e --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java index 1dafc28f..7a4ec025 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateConversationRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Conversation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); + } + conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,52 +127,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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConversationOrBuilder() { return getConversation(); } 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 @@ -209,14 +165,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 @@ -224,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -238,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +200,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()); } @@ -267,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,145 +275,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,16 +422,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 @@ -502,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); if (conversationBuilder_ == null) { result.conversation_ = conversation_; } else { @@ -522,51 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest build 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()); } @@ -592,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,58 +539,39 @@ public Builder mergeFrom( 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 conversationBuilder_ != null || 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. */ 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) { @@ -673,15 +587,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) { @@ -695,23 +605,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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); } else { conversation_ = value; } @@ -723,15 +627,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() { if (conversationBuilder_ == null) { @@ -745,65 +645,48 @@ 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() { - + onChanged(); 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_; @@ -811,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -872,15 +742,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(); onChanged(); @@ -891,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -903,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -915,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -935,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -944,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -961,14 +822,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.
      * 
@@ -976,24 +834,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); } @@ -1003,32 +858,30 @@ 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 { - return new UpdateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java index 31ea847a..8790423a 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java similarity index 63% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java index a0c59c7e..99199490 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateIssueModelRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); - } - issueModel_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); + } + issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,34 +127,23 @@ 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() { @@ -193,14 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod 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 @@ -208,14 +165,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 @@ -223,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -237,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +200,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()); } @@ -266,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,145 +275,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,14 +422,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(); } @@ -500,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; } else { @@ -520,50 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest buildPa 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()); } @@ -589,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -603,58 +539,39 @@ public Builder mergeFrom( 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 issueModelBuilder_ != null || 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. */ 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) { @@ -670,15 +587,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) { @@ -692,23 +605,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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); } else { issueModel_ = value; } @@ -720,15 +627,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() { if (issueModelBuilder_ == null) { @@ -742,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -807,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -868,15 +742,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(); onChanged(); @@ -887,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -899,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -911,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -931,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -940,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -957,14 +822,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.
      * 
@@ -972,24 +834,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); } @@ -999,32 +858,30 @@ 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 { - return new UpdateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1036,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java index c94e49ea..b6afb01f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java index ec8f36b3..c0a2f7d4 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateIssueRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; - if (issue_ != null) { - subBuilder = issue_.toBuilder(); - } - issue_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issue_); - issue_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; + if (issue_ != null) { + subBuilder = issue_.toBuilder(); + } + issue_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issue_); + issue_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,41 +92,34 @@ private UpdateIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -155,34 +127,23 @@ 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() { @@ -192,14 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilde 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 @@ -207,14 +165,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 @@ -222,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -236,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +200,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()); } @@ -265,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +275,117 @@ 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() @@ -447,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +422,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(); } @@ -497,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); if (issueBuilder_ == null) { result.issue_ = issue_; } else { @@ -517,39 +462,38 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest 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.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; @@ -557,9 +501,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()); } @@ -585,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,58 +539,39 @@ public Builder mergeFrom( 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 issueBuilder_ != null || 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. */ 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) { @@ -665,15 +587,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) { @@ -687,23 +605,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 (issue_ != null) { issue_ = - com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_).mergeFrom(value).buildPartial(); } else { issue_ = value; } @@ -715,15 +627,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() { if (issueBuilder_ == null) { @@ -737,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -802,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -863,15 +742,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(); onChanged(); @@ -882,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -894,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -906,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -926,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -935,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -952,14 +822,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.
      * 
@@ -967,24 +834,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); } @@ -994,13 +858,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(); } @@ -1009,16 +872,16 @@ 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 { - return new UpdateIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1033,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java index 852c3ad3..b4aec186 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java index a775ab21..e9cd099f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdatePhraseMatcherRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); - } - phraseMatcher_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); + } + phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,52 +127,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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } 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 @@ -209,14 +165,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 @@ -224,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -238,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +200,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()); } @@ -267,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -321,145 +275,134 @@ 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() + // Construct using com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,16 +422,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 @@ -502,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; } else { @@ -522,51 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest 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.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()); } @@ -592,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,58 +539,39 @@ public Builder mergeFrom( 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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -673,15 +587,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) { @@ -695,24 +605,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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); } else { phraseMatcher_ = value; } @@ -724,15 +627,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() { if (phraseMatcherBuilder_ == null) { @@ -746,66 +645,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() { + 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_; @@ -813,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -874,15 +742,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(); onChanged(); @@ -893,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -905,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -917,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -937,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -946,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -963,14 +822,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.
      * 
@@ -978,24 +834,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); } @@ -1005,32 +858,30 @@ 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 { - return new UpdatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java index dba885b1..2652a669 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java similarity index 62% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java index 9a93bc57..9e7744f1 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateSettingsRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; - if (settings_ != null) { - subBuilder = settings_.toBuilder(); - } - settings_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.Settings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(settings_); - settings_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -156,34 +127,23 @@ 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() { @@ -193,15 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOr 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 @@ -209,15 +165,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 @@ -225,14 +177,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() { @@ -240,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +200,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()); } @@ -269,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -282,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -323,127 +275,117 @@ 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() @@ -451,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +422,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(); } @@ -501,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); if (settingsBuilder_ == null) { result.settings_ = settings_; } else { @@ -521,50 +462,46 @@ public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest buildPart 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()); } @@ -590,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -604,58 +539,39 @@ public Builder mergeFrom( 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 settingsBuilder_ != null || 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. */ 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) { @@ -671,15 +587,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) { @@ -693,23 +605,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 (settings_ != null) { settings_ = - com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } @@ -721,15 +627,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() { if (settingsBuilder_ == null) { @@ -743,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -808,55 +694,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -872,16 +742,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(); onChanged(); @@ -892,20 +760,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -917,14 +782,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() { if (updateMaskBuilder_ == null) { @@ -938,68 +800,55 @@ 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() { - + onChanged(); 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); } @@ -1009,32 +858,30 @@ 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 { - return new UpdateSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1046,8 +893,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java index 8b040fce..7d2cd48f 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java similarity index 65% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java index 71414626..216c6d49 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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; } - private UpdateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateViewRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); - } - view_ = - input.readMessage( - com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); + } + view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,41 +92,34 @@ private UpdateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -155,34 +127,23 @@ 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() { @@ -192,14 +153,11 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( 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 @@ -207,14 +165,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 @@ -222,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated.
    * 
@@ -236,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +200,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()); } @@ -265,10 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,21 +233,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,127 +275,117 @@ 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() @@ -447,15 +393,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +422,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 @@ -496,8 +443,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); if (viewBuilder_ == null) { result.view_ = view_; } else { @@ -516,39 +462,38 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest 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.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; @@ -556,8 +501,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()); } @@ -583,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,58 +539,39 @@ public Builder mergeFrom( 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 viewBuilder_ != null || 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. */ 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) { @@ -663,17 +587,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(); onChanged(); @@ -684,23 +605,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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); } else { view_ = value; } @@ -712,15 +627,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() { if (viewBuilder_ == null) { @@ -734,64 +645,48 @@ 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() { - + onChanged(); 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_; @@ -799,47 +694,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * 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.
      * 
@@ -860,15 +742,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(); onChanged(); @@ -879,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -891,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -903,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -923,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -932,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated.
      * 
@@ -949,14 +822,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.
      * 
@@ -964,24 +834,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); } @@ -991,12 +858,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(); } @@ -1005,16 +872,16 @@ 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 { - return new UpdateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,4 +896,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java index af93e5c9..3491f256 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java +++ b/owl-bot-staging/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java similarity index 68% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java index f54097df..792f7531 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java +++ b/owl-bot-staging/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,15 +27,16 @@ 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; } - private View( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,64 +55,57 @@ private View( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + displayName_ = s; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - value_ = s; - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + value_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,33 +113,29 @@ private View( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object name_; /** - * - * *
    * Immutable. The resource name of the view.
    * Format:
@@ -171,7 +143,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The name. */ @java.lang.Override @@ -180,15 +151,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:
@@ -196,15 +166,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 { @@ -215,14 +186,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -231,29 +199,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 { @@ -264,15 +232,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 @@ -280,15 +244,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 @@ -296,14 +256,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() { @@ -313,15 +270,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 @@ -329,15 +282,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 @@ -345,14 +294,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() { @@ -362,14 +308,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int VALUE_FIELD_NUMBER = 5; private volatile java.lang.Object value_; /** - * - * *
    * String with specific view properties.
    * 
* * string value = 5; - * * @return The value. */ @java.lang.Override @@ -378,29 +321,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 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 { @@ -409,7 +352,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -421,7 +363,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_); } @@ -453,10 +396,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_); @@ -469,25 +414,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -518,127 +467,118 @@ 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() @@ -646,15 +586,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -680,9 +621,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 @@ -701,8 +642,7 @@ 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); + com.google.cloud.contactcenterinsights.v1.View result = new com.google.cloud.contactcenterinsights.v1.View(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -724,39 +664,38 @@ public com.google.cloud.contactcenterinsights.v1.View 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.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; @@ -814,8 +753,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -823,13 +760,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; @@ -838,8 +775,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -847,14 +782,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 { @@ -862,8 +798,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -871,22 +805,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -894,18 +826,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Immutable. The resource name of the view.
      * Format:
@@ -913,16 +842,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -930,20 +859,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; @@ -952,21 +879,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 { @@ -974,61 +900,54 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1036,58 +955,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1103,17 +1003,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(); onChanged(); @@ -1124,21 +1021,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1150,15 +1043,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() { if (createTimeBuilder_ == null) { @@ -1172,64 +1061,48 @@ 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() { - + onChanged(); 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_; @@ -1237,58 +1110,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1304,17 +1158,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(); onChanged(); @@ -1325,21 +1176,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1351,15 +1198,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() { if (updateTimeBuilder_ == null) { @@ -1373,64 +1216,48 @@ 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() { - + onChanged(); 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_; @@ -1438,20 +1265,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object value_ = ""; /** - * - * *
      * String with specific view properties.
      * 
* * 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; @@ -1460,21 +1285,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * String with specific view properties.
      * 
* * 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 { @@ -1482,68 +1306,61 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * String with specific view properties.
      * 
* * string value = 5; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * String with specific view properties.
      * 
* * string value = 5; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * String with specific view properties.
      * 
* * string value = 5; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -1553,12 +1370,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(); } @@ -1567,16 +1384,16 @@ 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 { - return new View(input, extensionRegistry); - } - }; + 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 { + return new View(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1591,4 +1408,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.View getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java similarity index 70% rename from proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java index 20c13a34..f11723ea 100644 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java +++ b/owl-bot-staging/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 value = 5; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * String with specific view properties.
    * 
* * string value = 5; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); } diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto similarity index 100% rename from proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto rename to owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java diff --git a/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java deleted file mode 100644 index a68d1613..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java deleted file mode 100644 index 862e719f..00000000 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java +++ /dev/null @@ -1,1213 +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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" - + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" - + "leapis.com/Location\022N\n\014conversation\030\002 \001(" - + "\01323.google.cloud.contactcenterinsights.v" - + "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" - + " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" - + "ent\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.contactcenterinsights.v" - + "1.ConversationView\"\200\001\n\031ListConversations" - + "Response\022J\n\rconversations\030\001 \003(\01323.google" - + ".cloud.contactcenterinsights.v1.Conversa" - + "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" - + "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" - + "contactcenterinsights.googleapis.com/Con" - + "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" - + "ontactcenterinsights.v1.ConversationView" - + "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" - + "sation\030\001 \001(\01323.google.cloud.contactcente" - + "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" - + "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" - + "(\tB9\340A\002\372A3\n1contactcenterinsights.google" - + "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" - + "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" - + "\340A\002\372A3\n1contactcenterinsights.googleapis" - + ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" - + "ogle.cloud.contactcenterinsights.v1.Anal" - + "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" - + "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" - + ".googleapis.com/Conversation\022\021\n\tpage_siz" - + "e\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.contactcenterinsigh" - + "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" - + "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" - + "\372A/\n-contactcenterinsights.googleapis.co" - + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" - + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" - + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" - + "htsDataRequest\022u\n\025big_query_destination\030" - + "\002 \001(\0132T.google.cloud.contactcenterinsigh" - + "ts.v1.ExportInsightsDataRequest.BigQuery" - + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" - + "ocations.googleapis.com/Location\022\016\n\006filt" - + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" - + "sition\030\005 \001(\0162Q.google.cloud.contactcente" - + "rinsights.v1.ExportInsightsDataRequest.W" - + "riteDisposition\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\035W" - + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" - + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" - + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" - + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" - + "oogle.cloud.contactcenterinsights.v1.Exp" - + "ortInsightsDataRequest\022*\n\016partial_errors" - + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" - + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" - + "uest\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.contactcenterinsight" - + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" - + "lMetadata\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\022O\n\007re" - + "quest\030\003 \001(\0132>.google.cloud.contactcenter" - + "insights.v1.CreateIssueModelRequest\"\227\001\n\027" - + "UpdateIssueModelRequest\022K\n\013issue_model\030\001" - + " \001(\01321.google.cloud.contactcenterinsight" - + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" - + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" - + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" - + "!locations.googleapis.com/Location\"b\n\027Li" - + "stIssueModelsResponse\022G\n\014issue_models\030\001 " - + "\003(\01321.google.cloud.contactcenterinsights" - + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" - + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" - + "hts.googleapis.com/IssueModel\"`\n\027DeleteI" - + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" - + "contactcenterinsights.googleapis.com/Iss" - + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" - + "create_time\030\001 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" - + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" - + ".google.cloud.contactcenterinsights.v1.D" - + "eleteIssueModelRequest\"`\n\027DeployIssueMod" - + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" - + "centerinsights.googleapis.com/IssueModel" - + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" - + "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" - + "ctcenterinsights.v1.DeployIssueModelRequ" - + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" - + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" - + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" - + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" - + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" - + "\030\003 \001(\0132@.google.cloud.contactcenterinsig" - + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" - + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" - + "ctcenterinsights.googleapis.com/Issue\"\\\n" - + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" - + "A1\n/contactcenterinsights.googleapis.com" - + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" - + "ues\030\001 \003(\0132,.google.cloud.contactcenterin" - + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" - + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" - + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" - + "culateIssueModelStatsRequest\022L\n\013issue_mo" - + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" - + ".googleapis.com/IssueModel\"v\n CalculateI" - + "ssueModelStatsResponse\022R\n\rcurrent_stats\030" - + "\004 \001(\0132;.google.cloud.contactcenterinsigh" - + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" - + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" - + "#\n!locations.googleapis.com/Location\022Q\n\016" - + "phrase_matcher\030\002 \001(\01324.google.cloud.cont" - + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" - + "\215\001\n\031ListPhraseMatchersRequest\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_toke" - + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" - + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" - + "4.google.cloud.contactcenterinsights.v1." - + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" - + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" - + ":\340A\002\372A4\n2contactcenterinsights.googleapi" - + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" - + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" - + "centerinsights.googleapis.com/PhraseMatc" - + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" - + "rase_matcher\030\001 \001(\01324.google.cloud.contac" - + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" - + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" - + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" - + "(\tB5\340A\002\372A/\n-contactcenterinsights.google" - + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" - + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" - + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" - + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" - + "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" - + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" - + "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." - + "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" - + "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" - + "actcenterinsights.googleapis.com/View\"t\n" - + "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" - + "#\n!locations.googleapis.com/Location\022\021\n\t" - + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" - + "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" - + ".cloud.contactcenterinsights.v1.View\022\027\n\017" - + "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" - + "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" - + "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" - + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" - + "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" - + ")contactcenterinsights.googleapis.com/Vi" - + "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" - + "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" - + ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" - + "rsation\022@.google.cloud.contactcenterinsi" - + "ghts.v1.CreateConversationRequest\0323.goog" - + "le.cloud.contactcenterinsights.v1.Conver" - + "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" - + "ocations/*}/conversations:\014conversation\332" - + "A#parent,conversation,conversation_id\022\374\001" - + "\n\022UpdateConversation\022@.google.cloud.cont" - + "actcenterinsights.v1.UpdateConversationR" - + "equest\0323.google.cloud.contactcenterinsig" - + "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" - + "sation.name=projects/*/locations/*/conve" - + "rsations/*}:\014conversation\332A\030conversation" - + ",update_mask\022\307\001\n\017GetConversation\022=.googl" - + "e.cloud.contactcenterinsights.v1.GetConv" - + "ersationRequest\0323.google.cloud.contactce" - + "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" - + "1/{name=projects/*/locations/*/conversat" - + "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" - + "oogle.cloud.contactcenterinsights.v1.Lis" - + "tConversationsRequest\032@.google.cloud.con" - + "tactcenterinsights.v1.ListConversationsR" - + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" - + "locations/*}/conversations\332A\006parent\022\260\001\n\022" - + "DeleteConversation\022@.google.cloud.contac" - + "tcenterinsights.v1.DeleteConversationReq" - + "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" - + "1/{name=projects/*/locations/*/conversat" - + "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" - + "le.cloud.contactcenterinsights.v1.Create" - + "AnalysisRequest\032\035.google.longrunning.Ope" - + "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" - + "loud.contactcenterinsights.v1.CreateIssu" - + "eModelRequest\032\035.google.longrunning.Opera" - + "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" - + "cations/*}/issueModels:\013issue_model\332A\022pa" - + "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" - + "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" - + ".google.cloud.contactcenterinsights.v1.U" - + "pdateIssueModelRequest\0321.google.cloud.co" - + "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" - + "J2;/v1/{issue_model.name=projects/*/loca" - + "tions/*/issueModels/*}:\013issue_model\332A\027is" - + "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" - + ";.google.cloud.contactcenterinsights.v1." - + "GetIssueModelRequest\0321.google.cloud.cont" - + "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" - + "//v1/{name=projects/*/locations/*/issueM" - + "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" - + "ogle.cloud.contactcenterinsights.v1.List" - + "IssueModelsRequest\032>.google.cloud.contac" - + "tcenterinsights.v1.ListIssueModelsRespon" - + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" - + "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" - + "ssueModel\022>.google.cloud.contactcenterin" - + "sights.v1.DeleteIssueModelRequest\032\035.goog" - + "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" - + "ame=projects/*/locations/*/issueModels/*" - + "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" - + "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" - + "l\022>.google.cloud.contactcenterinsights.v" - + "1.DeployIssueModelRequest\032\035.google.longr" - + "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" - + "ects/*/locations/*/issueModels/*}:deploy" - + ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" - + "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" - + "sueModel\022@.google.cloud.contactcenterins" - + "ights.v1.UndeployIssueModelRequest\032\035.goo" - + "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" - + "{name=projects/*/locations/*/issueModels" - + "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" - + "ModelResponse\022\032UndeployIssueModelMetadat" - + "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" - + "terinsights.v1.GetIssueRequest\032,.google." - + "cloud.contactcenterinsights.v1.Issue\"G\202\323" - + "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" - + "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" - + "sues\0228.google.cloud.contactcenterinsight" - + "s.v1.ListIssuesRequest\0329.google.cloud.co" - + "ntactcenterinsights.v1.ListIssuesRespons" - + "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" - + "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" - + "\013UpdateIssue\0229.google.cloud.contactcente" - + "rinsights.v1.UpdateIssueRequest\032,.google" - + ".cloud.contactcenterinsights.v1.Issue\"a\202" - + "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" - + "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" - + "ssue,update_mask\022\222\002\n\030CalculateIssueModel" - + "Stats\022F.google.cloud.contactcenterinsigh" - + "ts.v1.CalculateIssueModelStatsRequest\032G." - + "google.cloud.contactcenterinsights.v1.Ca" - + "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" - + "/v1/{issue_model=projects/*/locations/*/" - + "issueModels/*}:calculateIssueModelStats\332" - + "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." - + "google.cloud.contactcenterinsights.v1.Cr" - + "eatePhraseMatcherRequest\0324.google.cloud." - + "contactcenterinsights.v1.PhraseMatcher\"b" - + "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" - + "/*}/phraseMatchers:\016phrase_matcher\332A\025par" - + "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" - + ">.google.cloud.contactcenterinsights.v1." - + "GetPhraseMatcherRequest\0324.google.cloud.c" - + "ontactcenterinsights.v1.PhraseMatcher\"A\202" - + "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" - + "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" - + "atchers\022@.google.cloud.contactcenterinsi" - + "ghts.v1.ListPhraseMatchersRequest\032A.goog" - + "le.cloud.contactcenterinsights.v1.ListPh" - + "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" - + "t=projects/*/locations/*}/phraseMatchers" - + "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" - + "le.cloud.contactcenterinsights.v1.Delete" - + "PhraseMatcherRequest\032\026.google.protobuf.E" - + "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" - + "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" - + "tePhraseMatcher\022A.google.cloud.contactce" - + "nterinsights.v1.UpdatePhraseMatcherReque" - + "st\0324.google.cloud.contactcenterinsights." - + "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" - + "tcher.name=projects/*/locations/*/phrase" - + "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" - + "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" - + "ogle.cloud.contactcenterinsights.v1.Calc" - + "ulateStatsRequest\032=.google.cloud.contact" - + "centerinsights.v1.CalculateStatsResponse" - + "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" - + "ions/*}/conversations:calculateStats\332A\010l" - + "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" - + "ontactcenterinsights.v1.GetSettingsReque" - + "st\032/.google.cloud.contactcenterinsights." - + "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" - + "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" - + "eSettings\022<.google.cloud.contactcenterin" - + "sights.v1.UpdateSettingsRequest\032/.google" - + ".cloud.contactcenterinsights.v1.Settings" - + "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" - + "locations/*/settings}:\010settings\332A\024settin" - + "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" - + "loud.contactcenterinsights.v1.CreateView" - + "Request\032+.google.cloud.contactcenterinsi" - + "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" - + "ts/*/locations/*}/views:\004view\332A\013parent,v" - + "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" - + "nterinsights.v1.GetViewRequest\032+.google." - + "cloud.contactcenterinsights.v1.View\"8\202\323\344" - + "\223\002+\022)/v1/{name=projects/*/locations/*/vi" - + "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" - + "ud.contactcenterinsights.v1.ListViewsReq" - + "uest\0328.google.cloud.contactcenterinsight" - + "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" - + "ent=projects/*/locations/*}/views\332A\006pare" - + "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" - + "centerinsights.v1.UpdateViewRequest\032+.go" - + "ogle.cloud.contactcenterinsights.v1.View", - "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" - + "tions/*/views/*}:\004view\332A\020view,update_mas" - + "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" - + "enterinsights.v1.DeleteViewRequest\032\026.goo" - + "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" - + "ojects/*/locations/*/views/*}\332A\004name\032X\312A" - + "$contactcenterinsights.googleapis.com\322A." - + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\240\002\n)com.google.cloud.contactcente" - + "rinsights.v1B\032ContactCenterInsightsProto" - + "P\001ZZgoogle.golang.org/genproto/googleapi" - + "s/cloud/contactcenterinsights/v1;contact" - + "centerinsights\252\002%Google.Cloud.ContactCen" - + "terInsights.V1\312\002%Google\\Cloud\\ContactCen" - + "terInsights\\V1\352\002(Google::Cloud::ContactC" - + "enterInsights::V1b\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", - }); - 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_CreateAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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_ExportInsightsDataRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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_CalculateIssueModelStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - 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(36); - 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(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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(42); - 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(43); - 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(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java deleted file mode 100644 index 166e25b1..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java deleted file mode 100644 index 6c61b4ce..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java deleted file mode 100644 index 8c33f3c2..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java deleted file mode 100644 index d121cf71..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java deleted file mode 100644 index d4812a9a..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java deleted file mode 100644 index 35dd3830..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java deleted file mode 100644 index 9ab179f3..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 6fab3448..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java deleted file mode 100644 index d4bc280e..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java deleted file mode 100644 index 4a9de6f7..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java deleted file mode 100644 index 5afadfff..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java deleted file mode 100644 index b69f2c25..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java deleted file mode 100644 index 42725fd8..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java deleted file mode 100644 index 9043ad09..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java deleted file mode 100644 index 5b064a2b..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java deleted file mode 100644 index b5952af1..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java deleted file mode 100644 index 64f2b37d..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java deleted file mode 100644 index 77fe8abe..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java deleted file mode 100644 index e993a049..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java deleted file mode 100644 index 094a4e12..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java deleted file mode 100644 index 72971003..00000000 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java +++ /dev/null @@ -1,128 +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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java deleted file mode 100644 index 30697135..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java deleted file mode 100644 index 3585c15e..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java deleted file mode 100644 index 62e92f3f..00000000 --- a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java +++ /dev/null @@ -1,1244 +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_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; - - 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." - + "googleapis.com/Analysis\022Xprojects/{proje" - + "ct}/locations/{location}/conversations/{" - + "conversation}/analyses/{analysis}\"\300\001\n\026Co" - + "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" - + "20.google.cloud.contactcenterinsights.v1" - + ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" - + "7.google.cloud.contactcenterinsights.v1." - + "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" - + "e\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\027dialogf" - + "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" - + "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" - + "is_metadata\030\002 \001(\0132J.google.cloud.contact" - + "centerinsights.v1.AnalysisResult.CallAna" - + "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" - + "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" - + "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" - + "ud.contactcenterinsights.v1.CallAnnotati" - + "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" - + "actcenterinsights.v1.AnalysisResult.Call" - + "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" - + "ents\030\004 \003(\0132A.google.cloud.contactcenteri" - + "nsights.v1.ConversationLevelSentiment\022h\n" - + "\007intents\030\006 \003(\0132W.google.cloud.contactcen" - + "terinsights.v1.AnalysisResult.CallAnalys" - + "isMetadata.IntentsEntry\022w\n\017phrase_matche" - + "rs\030\007 \003(\0132^.google.cloud.contactcenterins" - + "ights.v1.AnalysisResult.CallAnalysisMeta" - + "data.PhraseMatchersEntry\022S\n\022issue_model_" - + "result\030\010 \001(\01327.google.cloud.contactcente" - + "rinsights.v1.IssueModelResult\032^\n\rEntitie" - + "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" - + "gle.cloud.contactcenterinsights.v1.Entit" - + "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" - + "lue\030\002 \001(\0132-.google.cloud.contactcenterin" - + "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" - + "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" - + ".cloud.contactcenterinsights.v1.PhraseMa" - + "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" - + "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" - + "enterinsights.googleapis.com/IssueModel\022" - + "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" - + "nterinsights.v1.IssueAssignment\"\177\n\032Conve" - + "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" - + "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" - + "d.contactcenterinsights.v1.SentimentData" - + "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" - + "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" - + "\016CallAnnotation\022T\n\021interruption_data\030\n \001" - + "(\01327.google.cloud.contactcenterinsights." - + "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" - + "\013 \001(\01324.google.cloud.contactcenterinsigh" - + "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " - + "\001(\01322.google.cloud.contactcenterinsights" - + ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" - + "oogle.cloud.contactcenterinsights.v1.Hol" - + "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" - + "oogle.cloud.contactcenterinsights.v1.Ent" - + "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " - + "\001(\01326.google.cloud.contactcenterinsights" - + ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" - + "ta\030\021 \001(\01326.google.cloud.contactcenterins" - + "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" - + "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" - + "(\01329.google.cloud.contactcenterinsights." - + "v1.AnnotationBoundary\022Z\n\027annotation_end_" - + "boundary\030\005 \001(\01329.google.cloud.contactcen" - + "terinsights.v1.AnnotationBoundaryB\006\n\004dat" - + "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " - + "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" - + "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" - + "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" - + "ctcenterinsights.v1.Entity.Type\022M\n\010metad" - + "ata\030\003 \003(\0132;.google.cloud.contactcenterin" - + "sights.v1.Entity.MetadataEntry\022\020\n\010salien" - + "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" - + "ud.contactcenterinsights.v1.SentimentDat" - + "a\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_UNSPECIFIED\020" - + "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" - + "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" - + "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" - + "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" - + "PRICE\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\020" - + "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" - + "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" - + "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" - + "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" - + "ud.contactcenterinsights.v1.EntityMentio" - + "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" - + "oogle.cloud.contactcenterinsights.v1.Sen" - + "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" - + "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" - + "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" - + " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" - + "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" - + "gle.cloud.contactcenterinsights.v1.Issue" - + "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " - + "\001(\0132A.google.cloud.contactcenterinsights" - + ".v1.IssueModel.InputDataConfig\022[\n\016traini" - + "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" - + "terinsights.v1.IssueModelLabelStatsB\006\340A\003" - + "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" - + ":.google.cloud.contactcenterinsights.v1." - + "Conversation.MediumB\002\030\001\022)\n\034training_conv" - + "ersations_count\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\nUN" - + "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" - + "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" - + "tactcenterinsights.googleapis.com/IssueM" - + "odel\022Aprojects/{project}/locations/{loca" - + "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" - + "e\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.protobu" - + "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" - + "ntactcenterinsights.googleapis.com/Issue" - + "\022Pprojects/{project}/locations/{location" - + "}/issueModels/{issue_model}/issues/{issu" - + "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" - + "conversations_count\030\001 \001(\003\022(\n unclassifie" - + "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" - + "ts\030\003 \003(\0132K.google.cloud.contactcenterins" - + "ights.v1.IssueModelLabelStats.IssueStats" - + "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" - + "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" - + "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" - + "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" - + "actcenterinsights.v1.IssueModelLabelStat" - + "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" - + "me\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_create_ti" - + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." - + "google.cloud.contactcenterinsights.v1.Ph" - + "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" - + "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" - + " \003(\0132;.google.cloud.contactcenterinsight" - + "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" - + "update_time\030\t \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." - + "cloud.contactcenterinsights.v1.Conversat" - + "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" - + "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" - + "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" - + "}\n2contactcenterinsights.googleapis.com/" - + "PhraseMatcher\022Gprojects/{project}/locati" - + "ons/{location}/phraseMatchers/{phrase_ma" - + "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" - + "\001 \001(\0162T.google.cloud.contactcenterinsigh" - + "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" - + "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" - + " \003(\01326.google.cloud.contactcenterinsight" - + "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" - + "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" - + "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" - + ".cloud.contactcenterinsights.v1.PhraseMa" - + "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" - + "\n\022exact_match_config\030\001 \001(\01327.google.clou" - + "d.contactcenterinsights.v1.ExactMatchCon" - + "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" - + "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" - + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" - + "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" - + "ubsub_notification_settings\030\006 \003(\0132O.goog" - + "le.cloud.contactcenterinsights.v1.Settin" - + "gs.PubsubNotificationSettingsEntry\022W\n\017an" - + "alysis_config\030\007 \001(\0132>.google.cloud.conta" - + "ctcenterinsights.v1.Settings.AnalysisCon" - + "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" - + "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" - + "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" - + "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" - + "ights.googleapis.com/Settings\0220projects/" - + "{project}/locations/{location}/settings\"" - + "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" - + "ion\030\006 \001(\0132<.google.cloud.contactcenterin" - + "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" - + "_answer\030\007 \001(\01324.google.cloud.contactcent" - + "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" - + "eply\030\010 \001(\01325.google.cloud.contactcenteri" - + "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" - + "pose_suggestion\030\t \001(\0132A.google.cloud.con" - + "tactcenterinsights.v1.SmartComposeSugges" - + "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" - + "(\0132@.google.cloud.contactcenterinsights." - + "v1.DialogflowInteractionDataH\000\022\025\n\rannota" - + "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022Q\n\016start_boundary" - + "\030\003 \001(\01329.google.cloud.contactcenterinsig" - + "hts.v1.AnnotationBoundary\022O\n\014end_boundar" - + "y\030\004 \001(\01329.google.cloud.contactcenterinsi" - + "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" - + "dback\030\005 \001(\01325.google.cloud.contactcenter" - + "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" - + "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" - + "2F.google.cloud.contactcenterinsights.v1" - + ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" - + "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" - + "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" - + "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" - + "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" - + "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" - + "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" - + "2J.google.cloud.contactcenterinsights.v1" - + ".ArticleSuggestionData.MetadataEntry\022\024\n\014" - + "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" - + "tadataEntry\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\006answer\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.google.cloud.conta" - + "ctcenterinsights.v1.FaqAnswerData.Metada" - + "taEntry\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\005v" - + "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" - + "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" - + "tadata\030\003 \003(\0132C.google.cloud.contactcente" - + "rinsights.v1.SmartReplyData.MetadataEntr" - + "y\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\032Sma" - + "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " - + "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" - + "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" - + "ghts.v1.SmartComposeSuggestionData.Metad" - + "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" - + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" - + "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" - + "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" - + "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" - + "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" - + "nterinsights.v1.ConversationParticipant." - + "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" - + "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" - + "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" - + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" - + "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" - + "ogleapis.com/View\0224projects/{project}/lo" - + "cations/{location}/views/{view}B\354\003\n)com." - + "google.cloud.contactcenterinsights.v1B\016R" - + "esourcesProtoP\001ZZgoogle.golang.org/genpr" - + "oto/googleapis/cloud/contactcenterinsigh" - + "ts/v1;contactcenterinsights\252\002%Google.Clo" - + "ud.ContactCenterInsights.V1\312\002%Google\\Clo" - + "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" - + "oud::ContactCenterInsights::V1\352A\324\001\n%dial" - + "ogflow.googleapis.com/Participant\022Jproje" - + "cts/{project}/conversations/{conversatio" - + "n}/participants/{participant}\022_projects/" - + "{project}/locations/{location}/conversat" - + "ions/{conversation}/participants/{partic" - + "ipant}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", - }); - 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", - "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_IssueModel_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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", - }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = - getDescriptor().getMessageTypes().get(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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", - }); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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(36); - 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(37); - 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(38); - 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", - }); - 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java deleted file mode 100644 index e86e739d..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 431293b2..00000000 --- a/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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 59a7fdb5..00000000 --- a/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 {} From 2390193cded1268e3fb025928f8e56f802cabfe9 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:31:09 +0000 Subject: [PATCH 5/5] =?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 --- .../v1/ContactCenterInsightsClient.java | 48 +- .../v1/ContactCenterInsightsSettings.java | 7 +- .../v1/gapic_metadata.json | 0 .../v1/package-info.java | 0 .../v1/stub/ContactCenterInsightsStub.java | 0 .../ContactCenterInsightsStubSettings.java | 12 +- ...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 | 4352 +++++++++++ .../v1/ContactCenterInsightsGrpc.java | 3153 -------- ...culateIssueModelStatsRequestOrBuilder.java | 29 - .../v1/ContactCenterInsightsProto.java | 1121 --- .../v1/CreateAnalysisRequestOrBuilder.java | 56 - .../v1/CreateIssueModelRequestOrBuilder.java | 56 - .../v1/DeleteAnalysisRequestOrBuilder.java | 29 - .../DeleteConversationRequestOrBuilder.java | 41 - .../v1/DeleteIssueModelRequestOrBuilder.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 - .../v1/InterruptionDataOrBuilder.java | 9 - .../v1/IssueModelLabelStatsOrBuilder.java | 86 - .../v1/ListIssueModelsRequestOrBuilder.java | 29 - .../v1/ListIssuesRequestOrBuilder.java | 29 - .../v1/ResourcesProto.java | 1054 --- .../v1/SilenceDataOrBuilder.java | 9 - .../UndeployIssueModelRequestOrBuilder.java | 29 - .../UndeployIssueModelResponseOrBuilder.java | 9 - .../contactcenterinsights/v1/Analysis.java | 753 +- .../v1/AnalysisName.java | 0 .../v1/AnalysisOrBuilder.java | 81 +- .../v1/AnalysisResult.java | 2563 ++++--- .../v1/AnalysisResultOrBuilder.java | 52 +- .../v1/AnnotationBoundary.java | 366 +- .../v1/AnnotationBoundaryOrBuilder.java | 30 +- .../v1/AnswerFeedback.java | 493 +- .../v1/AnswerFeedbackOrBuilder.java | 38 +- .../v1/ArticleSuggestionData.java | 875 ++- .../v1/ArticleSuggestionDataOrBuilder.java | 88 +- .../v1/CalculateIssueModelStatsRequest.java | 398 +- ...culateIssueModelStatsRequestOrBuilder.java | 54 + .../v1/CalculateIssueModelStatsResponse.java | 455 +- ...ulateIssueModelStatsResponseOrBuilder.java | 29 +- .../v1/CalculateStatsRequest.java | 442 +- .../v1/CalculateStatsRequestOrBuilder.java | 44 +- .../v1/CalculateStatsResponse.java | 2988 +++++--- .../v1/CalculateStatsResponseOrBuilder.java | 224 +- .../v1/CallAnnotation.java | 1527 ++-- .../v1/CallAnnotationOrBuilder.java | 123 +- .../v1/ContactCenterInsightsProto.java | 1213 +++ .../v1/Conversation.java | 6733 +++++++++++------ .../v1/ConversationDataSource.java | 537 +- .../v1/ConversationDataSourceOrBuilder.java | 40 +- .../v1/ConversationLevelSentiment.java | 416 +- .../ConversationLevelSentimentOrBuilder.java | 29 +- .../v1/ConversationName.java | 0 .../v1/ConversationOrBuilder.java | 335 +- .../v1/ConversationParticipant.java | 881 ++- .../v1/ConversationParticipantOrBuilder.java | 83 +- .../v1/ConversationView.java | 86 +- .../v1/CreateAnalysisOperationMetadata.java | 663 +- ...ateAnalysisOperationMetadataOrBuilder.java | 69 +- .../v1/CreateAnalysisRequest.java | 510 +- .../v1/CreateAnalysisRequestOrBuilder.java | 95 + .../v1/CreateConversationRequest.java | 607 +- .../CreateConversationRequestOrBuilder.java | 64 +- .../v1/CreateIssueModelMetadata.java | 651 +- .../v1/CreateIssueModelMetadataOrBuilder.java | 60 +- .../v1/CreateIssueModelRequest.java | 518 +- .../v1/CreateIssueModelRequestOrBuilder.java | 95 + .../v1/CreatePhraseMatcherRequest.java | 534 +- .../CreatePhraseMatcherRequestOrBuilder.java | 55 +- .../v1/CreateViewRequest.java | 491 +- .../v1/CreateViewRequestOrBuilder.java | 55 +- .../v1/DeleteAnalysisRequest.java | 363 +- .../v1/DeleteAnalysisRequestOrBuilder.java | 54 + .../v1/DeleteConversationRequest.java | 412 +- .../DeleteConversationRequestOrBuilder.java | 69 + .../v1/DeleteIssueModelMetadata.java | 651 +- .../v1/DeleteIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeleteIssueModelRequest.java | 371 +- .../v1/DeleteIssueModelRequestOrBuilder.java | 54 + .../v1/DeletePhraseMatcherRequest.java | 375 +- .../DeletePhraseMatcherRequestOrBuilder.java | 54 + .../v1/DeleteViewRequest.java | 342 +- .../v1/DeleteViewRequestOrBuilder.java | 54 + .../v1/DeployIssueModelMetadata.java | 651 +- .../v1/DeployIssueModelMetadataOrBuilder.java | 60 +- .../v1/DeployIssueModelRequest.java | 371 +- .../v1/DeployIssueModelRequestOrBuilder.java | 54 + .../v1/DeployIssueModelResponse.java | 271 +- .../v1/DeployIssueModelResponseOrBuilder.java | 24 + .../v1/DialogflowIntent.java | 314 +- .../v1/DialogflowIntentOrBuilder.java | 50 + .../v1/DialogflowInteractionData.java | 384 +- .../DialogflowInteractionDataOrBuilder.java | 30 +- .../v1/DialogflowSource.java | 393 +- .../v1/DialogflowSourceOrBuilder.java | 36 +- .../contactcenterinsights/v1/Entity.java | 915 ++- .../v1/EntityMentionData.java | 561 +- .../v1/EntityMentionDataOrBuilder.java | 41 +- .../v1/EntityOrBuilder.java | 75 +- .../v1/ExactMatchConfig.java | 275 +- .../v1/ExactMatchConfigOrBuilder.java | 38 + .../v1/ExportInsightsDataMetadata.java | 801 +- .../ExportInsightsDataMetadataOrBuilder.java | 82 +- .../v1/ExportInsightsDataRequest.java | 1622 ++-- .../ExportInsightsDataRequestOrBuilder.java | 99 +- .../v1/ExportInsightsDataResponse.java | 271 +- .../ExportInsightsDataResponseOrBuilder.java | 24 + .../v1/FaqAnswerData.java | 852 ++- .../v1/FaqAnswerDataOrBuilder.java | 88 +- .../contactcenterinsights/v1/GcsSource.java | 390 +- .../v1/GcsSourceOrBuilder.java | 36 +- .../v1/GetAnalysisRequest.java | 349 +- .../v1/GetAnalysisRequestOrBuilder.java | 54 + .../v1/GetConversationRequest.java | 435 +- .../v1/GetConversationRequestOrBuilder.java | 41 +- .../v1/GetIssueModelRequest.java | 360 +- .../v1/GetIssueModelRequestOrBuilder.java | 54 + .../v1/GetIssueRequest.java | 342 +- .../v1/GetIssueRequestOrBuilder.java | 54 + .../v1/GetPhraseMatcherRequest.java | 371 +- .../v1/GetPhraseMatcherRequestOrBuilder.java | 54 + .../v1/GetSettingsRequest.java | 349 +- .../v1/GetSettingsRequestOrBuilder.java | 54 + .../v1/GetViewRequest.java | 342 +- .../v1/GetViewRequestOrBuilder.java | 54 + .../contactcenterinsights/v1/HoldData.java | 235 +- .../v1/HoldDataOrBuilder.java | 24 + .../contactcenterinsights/v1/Intent.java | 387 +- .../v1/IntentMatchData.java | 314 +- .../v1/IntentMatchDataOrBuilder.java | 27 +- .../v1/IntentOrBuilder.java | 36 +- .../v1/InterruptionData.java | 238 +- .../v1/InterruptionDataOrBuilder.java | 24 + .../cloud/contactcenterinsights/v1/Issue.java | 661 +- .../v1/IssueAssignment.java | 432 +- .../v1/IssueAssignmentOrBuilder.java | 39 +- .../contactcenterinsights/v1/IssueModel.java | 1765 +++-- .../v1/IssueModelLabelStats.java | 1238 +-- .../v1/IssueModelLabelStatsOrBuilder.java | 128 + .../v1/IssueModelName.java | 0 .../v1/IssueModelOrBuilder.java | 127 +- .../v1/IssueModelResult.java | 466 +- .../v1/IssueModelResultOrBuilder.java | 45 +- .../contactcenterinsights/v1/IssueName.java | 0 .../v1/IssueOrBuilder.java | 70 +- .../v1/ListAnalysesRequest.java | 544 +- .../v1/ListAnalysesRequestOrBuilder.java | 56 +- .../v1/ListAnalysesResponse.java | 466 +- .../v1/ListAnalysesResponseOrBuilder.java | 45 +- .../v1/ListConversationsRequest.java | 639 +- .../v1/ListConversationsRequestOrBuilder.java | 62 +- .../v1/ListConversationsResponse.java | 494 +- .../ListConversationsResponseOrBuilder.java | 42 +- .../v1/ListIssueModelsRequest.java | 363 +- .../v1/ListIssueModelsRequestOrBuilder.java | 54 + .../v1/ListIssueModelsResponse.java | 402 +- .../v1/ListIssueModelsResponseOrBuilder.java | 36 +- .../v1/ListIssuesRequest.java | 342 +- .../v1/ListIssuesRequestOrBuilder.java | 54 + .../v1/ListIssuesResponse.java | 389 +- .../v1/ListIssuesResponseOrBuilder.java | 36 +- .../v1/ListPhraseMatchersRequest.java | 569 +- .../ListPhraseMatchersRequestOrBuilder.java | 56 +- .../v1/ListPhraseMatchersResponse.java | 564 +- .../ListPhraseMatchersResponseOrBuilder.java | 42 +- .../v1/ListViewsRequest.java | 455 +- .../v1/ListViewsRequestOrBuilder.java | 47 +- .../v1/ListViewsResponse.java | 460 +- .../v1/ListViewsResponseOrBuilder.java | 45 +- .../v1/LocationName.java | 0 .../v1/PhraseMatchData.java | 393 +- .../v1/PhraseMatchDataOrBuilder.java | 36 +- .../v1/PhraseMatchRule.java | 464 +- .../v1/PhraseMatchRuleConfig.java | 424 +- .../v1/PhraseMatchRuleConfigOrBuilder.java | 29 +- .../v1/PhraseMatchRuleGroup.java | 683 +- .../v1/PhraseMatchRuleGroupOrBuilder.java | 61 +- .../v1/PhraseMatchRuleOrBuilder.java | 38 +- .../v1/PhraseMatcher.java | 1594 ++-- .../v1/PhraseMatcherName.java | 0 .../v1/PhraseMatcherOrBuilder.java | 189 +- .../v1/ResourcesProto.java | 1244 +++ .../v1/RuntimeAnnotation.java | 1626 ++-- .../v1/RuntimeAnnotationOrBuilder.java | 141 +- .../v1/SentimentData.java | 312 +- .../v1/SentimentDataOrBuilder.java | 24 +- .../contactcenterinsights/v1/Settings.java | 1465 ++-- .../v1/SettingsName.java | 0 .../v1/SettingsOrBuilder.java | 129 +- .../contactcenterinsights/v1/SilenceData.java | 238 +- .../v1/SilenceDataOrBuilder.java | 24 + .../v1/SmartComposeSuggestionData.java | 732 +- .../SmartComposeSuggestionDataOrBuilder.java | 70 +- .../v1/SmartReplyData.java | 699 +- .../v1/SmartReplyDataOrBuilder.java | 70 +- .../v1/UndeployIssueModelMetadata.java | 657 +- .../UndeployIssueModelMetadataOrBuilder.java | 63 +- .../v1/UndeployIssueModelRequest.java | 375 +- .../UndeployIssueModelRequestOrBuilder.java | 54 + .../v1/UndeployIssueModelResponse.java | 271 +- .../UndeployIssueModelResponseOrBuilder.java | 24 + .../v1/UpdateConversationRequest.java | 520 +- .../UpdateConversationRequestOrBuilder.java | 46 +- .../v1/UpdateIssueModelRequest.java | 510 +- .../v1/UpdateIssueModelRequestOrBuilder.java | 46 +- .../v1/UpdateIssueRequest.java | 487 +- .../v1/UpdateIssueRequestOrBuilder.java | 46 +- .../v1/UpdatePhraseMatcherRequest.java | 526 +- .../UpdatePhraseMatcherRequestOrBuilder.java | 46 +- .../v1/UpdateSettingsRequest.java | 538 +- .../v1/UpdateSettingsRequestOrBuilder.java | 55 +- .../v1/UpdateViewRequest.java | 483 +- .../v1/UpdateViewRequestOrBuilder.java | 46 +- .../cloud/contactcenterinsights/v1/View.java | 739 +- .../contactcenterinsights/v1/ViewName.java | 0 .../v1/ViewOrBuilder.java | 79 +- .../v1/contact_center_insights.proto | 0 .../contactcenterinsights/v1/resources.proto | 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 .../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 .../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 383 files changed, 50213 insertions(+), 30149 deletions(-) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java (100%) rename {owl-bot-staging/v1/google-cloud-contact-center-insights => google-cloud-contact-center-insights}/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java (100%) create mode 100644 grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java (59%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java (83%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java (60%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java (63%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java (64%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java (69%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java (69%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java (64%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java (63%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java (64%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java (67%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java (67%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java (63%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java (65%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java (67%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java (61%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java (62%) create mode 100644 proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1 => proto-google-cloud-contact-center-insights-v1}/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java index 055b6c36..38dffd0e 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java +++ b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java @@ -67,13 +67,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -4142,7 +4142,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListConversationsPagedResponse extends AbstractPagedListResponse< - ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, + ListConversationsRequest, + ListConversationsResponse, + Conversation, + ListConversationsPage, ListConversationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4163,7 +4166,9 @@ private ListConversationsPagedResponse(ListConversationsPage page) { public static class ListConversationsPage extends AbstractPage< - ListConversationsRequest, ListConversationsResponse, Conversation, + ListConversationsRequest, + ListConversationsResponse, + Conversation, ListConversationsPage> { private ListConversationsPage( @@ -4193,7 +4198,10 @@ public ApiFuture createPageAsync( public static class ListConversationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListConversationsRequest, ListConversationsResponse, Conversation, ListConversationsPage, + ListConversationsRequest, + ListConversationsResponse, + Conversation, + ListConversationsPage, ListConversationsFixedSizeCollection> { private ListConversationsFixedSizeCollection( @@ -4214,7 +4222,10 @@ protected ListConversationsFixedSizeCollection createCollection( public static class ListAnalysesPagedResponse extends AbstractPagedListResponse< - ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, + ListAnalysesRequest, + ListAnalysesResponse, + Analysis, + ListAnalysesPage, ListAnalysesFixedSizeCollection> { public static ApiFuture createAsync( @@ -4263,7 +4274,10 @@ public ApiFuture createPageAsync( public static class ListAnalysesFixedSizeCollection extends AbstractFixedSizeCollection< - ListAnalysesRequest, ListAnalysesResponse, Analysis, ListAnalysesPage, + ListAnalysesRequest, + ListAnalysesResponse, + Analysis, + ListAnalysesPage, ListAnalysesFixedSizeCollection> { private ListAnalysesFixedSizeCollection(List pages, int collectionSize) { @@ -4283,8 +4297,11 @@ protected ListAnalysesFixedSizeCollection createCollection( public static class ListPhraseMatchersPagedResponse extends AbstractPagedListResponse< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, - ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, + PhraseMatcher, + ListPhraseMatchersPage, + ListPhraseMatchersFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4304,7 +4321,9 @@ private ListPhraseMatchersPagedResponse(ListPhraseMatchersPage page) { public static class ListPhraseMatchersPage extends AbstractPage< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, + PhraseMatcher, ListPhraseMatchersPage> { private ListPhraseMatchersPage( @@ -4334,8 +4353,11 @@ public ApiFuture createPageAsync( public static class ListPhraseMatchersFixedSizeCollection extends AbstractFixedSizeCollection< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, PhraseMatcher, - ListPhraseMatchersPage, ListPhraseMatchersFixedSizeCollection> { + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, + PhraseMatcher, + ListPhraseMatchersPage, + ListPhraseMatchersFixedSizeCollection> { private ListPhraseMatchersFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java index bda055f1..c780d005 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java +++ b/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; @@ -49,10 +48,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStub.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java index 614ffd96..16c3b7d8 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java +++ b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java @@ -126,10 +126,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) + *
  • The default service address (contactcenterinsights.googleapis.com) and default port (443) * are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -383,7 +383,8 @@ public Iterable extractResources(ListViewsResponse payload) { ListConversationsRequest, ListConversationsResponse, ListConversationsPagedResponse> LIST_CONVERSATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListConversationsRequest, ListConversationsResponse, + ListConversationsRequest, + ListConversationsResponse, ListConversationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -420,7 +421,8 @@ public ApiFuture getFuturePagedResponse( ListPhraseMatchersRequest, ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse> LIST_PHRASE_MATCHERS_PAGE_STR_FACT = new PagedListResponseFactory< - ListPhraseMatchersRequest, ListPhraseMatchersResponse, + ListPhraseMatchersRequest, + ListPhraseMatchersResponse, ListPhraseMatchersPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java index b3c46e80..eeae3d61 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java +++ b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/GrpcContactCenterInsightsStub.java @@ -93,7 +93,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/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java b/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java rename to google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java index 7f20300a..f4342af5 100644 --- a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java +++ b/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/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsights.java diff --git a/owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java b/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java rename to google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/MockContactCenterInsightsImpl.java diff --git a/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java new file mode 100644 index 00000000..7856bf22 --- /dev/null +++ b/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java @@ -0,0 +1,4352 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.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.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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * 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( + 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( + 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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * Export insights data to a destination defined in the request body.
+     * 
+ */ + public com.google.longrunning.Operation exportInsightsData( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an issue model.
+     * 
+ */ + public com.google.longrunning.Operation createIssueModel( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel( + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an issue model.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel( + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists issue models.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels( + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssueModelsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an issue model.
+     * 
+ */ + public com.google.longrunning.Operation deleteIssueModel( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deploys an issue model. Returns an error if a model is already deployed.
+     * An issue model can only be used in analysis after it has been deployed.
+     * 
+ */ + public com.google.longrunning.Operation deployIssueModel( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Undeploys an issue model.
+     * An issue model can not be used in analysis after it has been undeployed.
+     * 
+ */ + public com.google.longrunning.Operation undeployIssueModel( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue getIssue( + com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIssueMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists issues.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues( + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIssuesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an issue.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Issue updateIssue( + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateIssueMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an issue model's statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + calculateIssueModelStats( + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher( + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher( + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists phrase matchers.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers( + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a phrase matcher.
+     * 
+ */ + public com.google.protobuf.Empty deletePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a phrase matcher.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher( + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets conversation statistics.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats( + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCalculateStatsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings getSettings( + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates project-level settings.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.Settings updateSettings( + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View createView( + com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateViewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View getView( + com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetViewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists views.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews( + com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListViewsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a view.
+     * 
+ */ + public com.google.cloud.contactcenterinsights.v1.View updateView( + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateViewMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a view.
+     * 
+ */ + public com.google.protobuf.Empty deleteView( + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteViewMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * An API that lets users analyze and explore their business conversation data.
+   * 
+ */ + public static final class ContactCenterInsightsFutureStub + extends io.grpc.stub.AbstractFutureStub { + 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); + } + + /** + * + * + *
+     * 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); + } + + /** + * + * + *
+     * 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_EXPORT_INSIGHTS_DATA = 9; + private static final int METHODID_CREATE_ISSUE_MODEL = 10; + private static final int METHODID_UPDATE_ISSUE_MODEL = 11; + private static final int METHODID_GET_ISSUE_MODEL = 12; + private static final int METHODID_LIST_ISSUE_MODELS = 13; + private static final int METHODID_DELETE_ISSUE_MODEL = 14; + private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; + private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; + private static final int METHODID_GET_ISSUE = 17; + private static final int METHODID_LIST_ISSUES = 18; + private static final int METHODID_UPDATE_ISSUE = 19; + private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; + private static final int METHODID_CREATE_PHRASE_MATCHER = 21; + private static final int METHODID_GET_PHRASE_MATCHER = 22; + private static final int METHODID_LIST_PHRASE_MATCHERS = 23; + private static final int METHODID_DELETE_PHRASE_MATCHER = 24; + private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; + private static final int METHODID_CALCULATE_STATS = 26; + private static final int METHODID_GET_SETTINGS = 27; + private static final int METHODID_UPDATE_SETTINGS = 28; + private static final int METHODID_CREATE_VIEW = 29; + private static final int METHODID_GET_VIEW = 30; + private static final int METHODID_LIST_VIEWS = 31; + private static final int METHODID_UPDATE_VIEW = 32; + private static final int METHODID_DELETE_VIEW = 33; + + 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_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_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(getExportInsightsDataMethod()) + .addMethod(getCreateIssueModelMethod()) + .addMethod(getUpdateIssueModelMethod()) + .addMethod(getGetIssueModelMethod()) + .addMethod(getListIssueModelsMethod()) + .addMethod(getDeleteIssueModelMethod()) + .addMethod(getDeployIssueModelMethod()) + .addMethod(getUndeployIssueModelMethod()) + .addMethod(getGetIssueMethod()) + .addMethod(getListIssuesMethod()) + .addMethod(getUpdateIssueMethod()) + .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/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java deleted file mode 100644 index f27f54d9..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsGrpc.java +++ /dev/null @@ -1,3153 +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 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 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * 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( - 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( - 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * Export insights data to a destination defined in the request body.
-     * 
- */ - public com.google.longrunning.Operation exportInsightsData(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportInsightsDataMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an issue model.
-     * 
- */ - public com.google.longrunning.Operation createIssueModel(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel updateIssueModel(com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an issue model.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModel(com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists issue models.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse listIssueModels(com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssueModelsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an issue model.
-     * 
- */ - public com.google.longrunning.Operation deleteIssueModel(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Deploys an issue model. Returns an error if a model is already deployed.
-     * An issue model can only be used in analysis after it has been deployed.
-     * 
- */ - public com.google.longrunning.Operation deployIssueModel(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeployIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Undeploys an issue model.
-     * An issue model can not be used in analysis after it has been undeployed.
-     * 
- */ - public com.google.longrunning.Operation undeployIssueModel(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUndeployIssueModelMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue getIssue(com.google.cloud.contactcenterinsights.v1.GetIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIssueMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists issues.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse listIssues(com.google.cloud.contactcenterinsights.v1.ListIssuesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIssuesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an issue.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Issue updateIssue(com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateIssueMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an issue model's statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse calculateIssueModelStats(com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateIssueModelStatsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher createPhraseMatcher(com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatcher(com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists phrase matchers.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse listPhraseMatchers(com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPhraseMatchersMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a phrase matcher.
-     * 
- */ - public com.google.protobuf.Empty deletePhraseMatcher(com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a phrase matcher.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.PhraseMatcher updatePhraseMatcher(com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePhraseMatcherMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets conversation statistics.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse calculateStats(com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCalculateStatsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings getSettings(com.google.cloud.contactcenterinsights.v1.GetSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates project-level settings.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.Settings updateSettings(com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View createView(com.google.cloud.contactcenterinsights.v1.CreateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateViewMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View getView(com.google.cloud.contactcenterinsights.v1.GetViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetViewMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists views.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.ListViewsResponse listViews(com.google.cloud.contactcenterinsights.v1.ListViewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListViewsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a view.
-     * 
- */ - public com.google.cloud.contactcenterinsights.v1.View updateView(com.google.cloud.contactcenterinsights.v1.UpdateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateViewMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a view.
-     * 
- */ - public com.google.protobuf.Empty deleteView(com.google.cloud.contactcenterinsights.v1.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteViewMethod(), getCallOptions(), request); - } - } - - /** - *
-   * An API that lets users analyze and explore their business conversation data.
-   * 
- */ - public static final class ContactCenterInsightsFutureStub extends io.grpc.stub.AbstractFutureStub { - 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); - } - - /** - *
-     * 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); - } - - /** - *
-     * 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_EXPORT_INSIGHTS_DATA = 9; - private static final int METHODID_CREATE_ISSUE_MODEL = 10; - private static final int METHODID_UPDATE_ISSUE_MODEL = 11; - private static final int METHODID_GET_ISSUE_MODEL = 12; - private static final int METHODID_LIST_ISSUE_MODELS = 13; - private static final int METHODID_DELETE_ISSUE_MODEL = 14; - private static final int METHODID_DEPLOY_ISSUE_MODEL = 15; - private static final int METHODID_UNDEPLOY_ISSUE_MODEL = 16; - private static final int METHODID_GET_ISSUE = 17; - private static final int METHODID_LIST_ISSUES = 18; - private static final int METHODID_UPDATE_ISSUE = 19; - private static final int METHODID_CALCULATE_ISSUE_MODEL_STATS = 20; - private static final int METHODID_CREATE_PHRASE_MATCHER = 21; - private static final int METHODID_GET_PHRASE_MATCHER = 22; - private static final int METHODID_LIST_PHRASE_MATCHERS = 23; - private static final int METHODID_DELETE_PHRASE_MATCHER = 24; - private static final int METHODID_UPDATE_PHRASE_MATCHER = 25; - private static final int METHODID_CALCULATE_STATS = 26; - private static final int METHODID_GET_SETTINGS = 27; - private static final int METHODID_UPDATE_SETTINGS = 28; - private static final int METHODID_CREATE_VIEW = 29; - private static final int METHODID_GET_VIEW = 30; - private static final int METHODID_LIST_VIEWS = 31; - private static final int METHODID_UPDATE_VIEW = 32; - private static final int METHODID_DELETE_VIEW = 33; - - 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_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_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(getExportInsightsDataMethod()) - .addMethod(getCreateIssueModelMethod()) - .addMethod(getUpdateIssueModelMethod()) - .addMethod(getGetIssueModelMethod()) - .addMethod(getListIssueModelsMethod()) - .addMethod(getDeleteIssueModelMethod()) - .addMethod(getDeployIssueModelMethod()) - .addMethod(getUndeployIssueModelMethod()) - .addMethod(getGetIssueMethod()) - .addMethod(getListIssuesMethod()) - .addMethod(getUpdateIssueMethod()) - .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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java deleted file mode 100644 index b7127031..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java deleted file mode 100644 index 84a9d35e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java +++ /dev/null @@ -1,1121 +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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" + - "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + - "leapis.com/Location\022N\n\014conversation\030\002 \001(" + - "\01323.google.cloud.contactcenterinsights.v" + - "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" + - " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" + - "ent\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.contactcenterinsights.v" + - "1.ConversationView\"\200\001\n\031ListConversations" + - "Response\022J\n\rconversations\030\001 \003(\01323.google" + - ".cloud.contactcenterinsights.v1.Conversa" + - "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" + - "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" + - "contactcenterinsights.googleapis.com/Con" + - "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" + - "ontactcenterinsights.v1.ConversationView" + - "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" + - "sation\030\001 \001(\01323.google.cloud.contactcente" + - "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" + - "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + - "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" + - "(\tB9\340A\002\372A3\n1contactcenterinsights.google" + - "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" + - "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" + - "\340A\002\372A3\n1contactcenterinsights.googleapis" + - ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" + - "ogle.cloud.contactcenterinsights.v1.Anal" + - "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" + - "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" + - ".googleapis.com/Conversation\022\021\n\tpage_siz" + - "e\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.contactcenterinsigh" + - "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" + - "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + - "\372A/\n-contactcenterinsights.googleapis.co" + - "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" + - "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" + - ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" + - "htsDataRequest\022u\n\025big_query_destination\030" + - "\002 \001(\0132T.google.cloud.contactcenterinsigh" + - "ts.v1.ExportInsightsDataRequest.BigQuery" + - "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" + - "ocations.googleapis.com/Location\022\016\n\006filt" + - "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" + - "sition\030\005 \001(\0162Q.google.cloud.contactcente" + - "rinsights.v1.ExportInsightsDataRequest.W" + - "riteDisposition\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\035W" + - "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" + - "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" + - "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" + - "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" + - "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" + - "oogle.cloud.contactcenterinsights.v1.Exp" + - "ortInsightsDataRequest\022*\n\016partial_errors" + - "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" + - "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" + - "uest\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.contactcenterinsight" + - "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" + - "lMetadata\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\022O\n\007re" + - "quest\030\003 \001(\0132>.google.cloud.contactcenter" + - "insights.v1.CreateIssueModelRequest\"\227\001\n\027" + - "UpdateIssueModelRequest\022K\n\013issue_model\030\001" + - " \001(\01321.google.cloud.contactcenterinsight" + - "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" + - "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" + - "!locations.googleapis.com/Location\"b\n\027Li" + - "stIssueModelsResponse\022G\n\014issue_models\030\001 " + - "\003(\01321.google.cloud.contactcenterinsights" + - ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" + - "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" + - "hts.googleapis.com/IssueModel\"`\n\027DeleteI" + - "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + - "contactcenterinsights.googleapis.com/Iss" + - "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" + - "create_time\030\001 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + - "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" + - ".google.cloud.contactcenterinsights.v1.D" + - "eleteIssueModelRequest\"`\n\027DeployIssueMod" + - "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" + - "centerinsights.googleapis.com/IssueModel" + - "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" + - "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" + - "ctcenterinsights.v1.DeployIssueModelRequ" + - "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" + - "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" + - "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" + - "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" + - "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" + - "\030\003 \001(\0132@.google.cloud.contactcenterinsig" + - "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" + - "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" + - "ctcenterinsights.googleapis.com/Issue\"\\\n" + - "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" + - "A1\n/contactcenterinsights.googleapis.com" + - "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" + - "ues\030\001 \003(\0132,.google.cloud.contactcenterin" + - "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" + - "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" + - "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" + - "culateIssueModelStatsRequest\022L\n\013issue_mo" + - "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + - ".googleapis.com/IssueModel\"v\n CalculateI" + - "ssueModelStatsResponse\022R\n\rcurrent_stats\030" + - "\004 \001(\0132;.google.cloud.contactcenterinsigh" + - "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" + - "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + - "#\n!locations.googleapis.com/Location\022Q\n\016" + - "phrase_matcher\030\002 \001(\01324.google.cloud.cont" + - "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" + - "\215\001\n\031ListPhraseMatchersRequest\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_toke" + - "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" + - "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" + - "4.google.cloud.contactcenterinsights.v1." + - "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" + - "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" + - ":\340A\002\372A4\n2contactcenterinsights.googleapi" + - "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" + - "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" + - "centerinsights.googleapis.com/PhraseMatc" + - "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" + - "rase_matcher\030\001 \001(\01324.google.cloud.contac" + - "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" + - "(\tB5\340A\002\372A/\n-contactcenterinsights.google" + - "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" + - "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" + - "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" + - "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + - "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" + - "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" + - "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." + - "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" + - "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" + - "actcenterinsights.googleapis.com/View\"t\n" + - "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + - "#\n!locations.googleapis.com/Location\022\021\n\t" + - "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" + - "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" + - ".cloud.contactcenterinsights.v1.View\022\027\n\017" + - "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" + - "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" + - "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" + - "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + - ")contactcenterinsights.googleapis.com/Vi" + - "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" + - "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" + - ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" + - "rsation\022@.google.cloud.contactcenterinsi" + - "ghts.v1.CreateConversationRequest\0323.goog" + - "le.cloud.contactcenterinsights.v1.Conver" + - "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" + - "ocations/*}/conversations:\014conversation\332" + - "A#parent,conversation,conversation_id\022\374\001" + - "\n\022UpdateConversation\022@.google.cloud.cont" + - "actcenterinsights.v1.UpdateConversationR" + - "equest\0323.google.cloud.contactcenterinsig" + - "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" + - "sation.name=projects/*/locations/*/conve" + - "rsations/*}:\014conversation\332A\030conversation" + - ",update_mask\022\307\001\n\017GetConversation\022=.googl" + - "e.cloud.contactcenterinsights.v1.GetConv" + - "ersationRequest\0323.google.cloud.contactce" + - "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" + - "1/{name=projects/*/locations/*/conversat" + - "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" + - "oogle.cloud.contactcenterinsights.v1.Lis" + - "tConversationsRequest\032@.google.cloud.con" + - "tactcenterinsights.v1.ListConversationsR" + - "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" + - "locations/*}/conversations\332A\006parent\022\260\001\n\022" + - "DeleteConversation\022@.google.cloud.contac" + - "tcenterinsights.v1.DeleteConversationReq" + - "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" + - "1/{name=projects/*/locations/*/conversat" + - "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" + - "le.cloud.contactcenterinsights.v1.Create" + - "AnalysisRequest\032\035.google.longrunning.Ope" + - "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" + - "loud.contactcenterinsights.v1.CreateIssu" + - "eModelRequest\032\035.google.longrunning.Opera" + - "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" + - "cations/*}/issueModels:\013issue_model\332A\022pa" + - "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" + - "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" + - ".google.cloud.contactcenterinsights.v1.U" + - "pdateIssueModelRequest\0321.google.cloud.co" + - "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" + - "J2;/v1/{issue_model.name=projects/*/loca" + - "tions/*/issueModels/*}:\013issue_model\332A\027is" + - "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" + - ";.google.cloud.contactcenterinsights.v1." + - "GetIssueModelRequest\0321.google.cloud.cont" + - "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" + - "//v1/{name=projects/*/locations/*/issueM" + - "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" + - "ogle.cloud.contactcenterinsights.v1.List" + - "IssueModelsRequest\032>.google.cloud.contac" + - "tcenterinsights.v1.ListIssueModelsRespon" + - "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" + - "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" + - "ssueModel\022>.google.cloud.contactcenterin" + - "sights.v1.DeleteIssueModelRequest\032\035.goog" + - "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" + - "ame=projects/*/locations/*/issueModels/*" + - "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" + - "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" + - "l\022>.google.cloud.contactcenterinsights.v" + - "1.DeployIssueModelRequest\032\035.google.longr" + - "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" + - "ects/*/locations/*/issueModels/*}:deploy" + - ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" + - "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" + - "sueModel\022@.google.cloud.contactcenterins" + - "ights.v1.UndeployIssueModelRequest\032\035.goo" + - "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" + - "{name=projects/*/locations/*/issueModels" + - "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" + - "ModelResponse\022\032UndeployIssueModelMetadat" + - "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" + - "terinsights.v1.GetIssueRequest\032,.google." + - "cloud.contactcenterinsights.v1.Issue\"G\202\323" + - "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" + - "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" + - "sues\0228.google.cloud.contactcenterinsight" + - "s.v1.ListIssuesRequest\0329.google.cloud.co" + - "ntactcenterinsights.v1.ListIssuesRespons" + - "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" + - "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" + - "\013UpdateIssue\0229.google.cloud.contactcente" + - "rinsights.v1.UpdateIssueRequest\032,.google" + - ".cloud.contactcenterinsights.v1.Issue\"a\202" + - "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" + - "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" + - "ssue,update_mask\022\222\002\n\030CalculateIssueModel" + - "Stats\022F.google.cloud.contactcenterinsigh" + - "ts.v1.CalculateIssueModelStatsRequest\032G." + - "google.cloud.contactcenterinsights.v1.Ca" + - "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" + - "/v1/{issue_model=projects/*/locations/*/" + - "issueModels/*}:calculateIssueModelStats\332" + - "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." + - "google.cloud.contactcenterinsights.v1.Cr" + - "eatePhraseMatcherRequest\0324.google.cloud." + - "contactcenterinsights.v1.PhraseMatcher\"b" + - "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" + - "/*}/phraseMatchers:\016phrase_matcher\332A\025par" + - "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" + - ">.google.cloud.contactcenterinsights.v1." + - "GetPhraseMatcherRequest\0324.google.cloud.c" + - "ontactcenterinsights.v1.PhraseMatcher\"A\202" + - "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" + - "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" + - "atchers\022@.google.cloud.contactcenterinsi" + - "ghts.v1.ListPhraseMatchersRequest\032A.goog" + - "le.cloud.contactcenterinsights.v1.ListPh" + - "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" + - "t=projects/*/locations/*}/phraseMatchers" + - "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" + - "le.cloud.contactcenterinsights.v1.Delete" + - "PhraseMatcherRequest\032\026.google.protobuf.E" + - "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" + - "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" + - "tePhraseMatcher\022A.google.cloud.contactce" + - "nterinsights.v1.UpdatePhraseMatcherReque" + - "st\0324.google.cloud.contactcenterinsights." + - "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" + - "tcher.name=projects/*/locations/*/phrase" + - "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" + - "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" + - "ogle.cloud.contactcenterinsights.v1.Calc" + - "ulateStatsRequest\032=.google.cloud.contact" + - "centerinsights.v1.CalculateStatsResponse" + - "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" + - "ions/*}/conversations:calculateStats\332A\010l" + - "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" + - "ontactcenterinsights.v1.GetSettingsReque" + - "st\032/.google.cloud.contactcenterinsights." + - "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" + - "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" + - "eSettings\022<.google.cloud.contactcenterin" + - "sights.v1.UpdateSettingsRequest\032/.google" + - ".cloud.contactcenterinsights.v1.Settings" + - "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" + - "locations/*/settings}:\010settings\332A\024settin" + - "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" + - "loud.contactcenterinsights.v1.CreateView" + - "Request\032+.google.cloud.contactcenterinsi" + - "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" + - "ts/*/locations/*}/views:\004view\332A\013parent,v" + - "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" + - "nterinsights.v1.GetViewRequest\032+.google." + - "cloud.contactcenterinsights.v1.View\"8\202\323\344" + - "\223\002+\022)/v1/{name=projects/*/locations/*/vi" + - "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" + - "ud.contactcenterinsights.v1.ListViewsReq" + - "uest\0328.google.cloud.contactcenterinsight" + - "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" + - "ent=projects/*/locations/*}/views\332A\006pare" + - "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" + - "centerinsights.v1.UpdateViewRequest\032+.go" + - "ogle.cloud.contactcenterinsights.v1.View", - "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" + - "tions/*/views/*}:\004view\332A\020view,update_mas" + - "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" + - "enterinsights.v1.DeleteViewRequest\032\026.goo" + - "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" + - "ojects/*/locations/*/views/*}\332A\004name\032X\312A" + - "$contactcenterinsights.googleapis.com\322A." + - "https://www.googleapis.com/auth/cloud-pl" + - "atformB\240\002\n)com.google.cloud.contactcente" + - "rinsights.v1B\032ContactCenterInsightsProto" + - "P\001ZZgoogle.golang.org/genproto/googleapi" + - "s/cloud/contactcenterinsights/v1;contact" + - "centerinsights\252\002%Google.Cloud.ContactCen" + - "terInsights.V1\312\002%Google\\Cloud\\ContactCen" + - "terInsights\\V1\352\002(Google::Cloud::ContactC" + - "enterInsights::V1b\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", }); - 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_CreateAnalysisRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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_ExportInsightsDataRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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_CalculateIssueModelStatsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - 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(36); - 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(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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(42); - 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(43); - 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(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java deleted file mode 100644 index 648bc721..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java deleted file mode 100644 index b94ecb87..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java deleted file mode 100644 index 932fbf0d..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java deleted file mode 100644 index d15cd125..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java deleted file mode 100644 index a643ce70..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java deleted file mode 100644 index cb8112db..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java deleted file mode 100644 index 6b3adefa..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 2e51a4de..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 206c8adc..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java deleted file mode 100644 index 9978e6a5..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java deleted file mode 100644 index 46f96da9..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java deleted file mode 100644 index 9971c70c..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java deleted file mode 100644 index d438a1fa..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java deleted file mode 100644 index bd12548f..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java deleted file mode 100644 index 8997efd0..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java deleted file mode 100644 index cab6c263..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java deleted file mode 100644 index 85f0a8f8..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java deleted file mode 100644 index b6c09961..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java deleted file mode 100644 index 069cce42..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java deleted file mode 100644 index 5e379cd6..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java deleted file mode 100644 index c120a8ae..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java +++ /dev/null @@ -1,86 +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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java deleted file mode 100644 index 23b0abcf..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java deleted file mode 100644 index b1393cf5..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java deleted file mode 100644 index 4322f57c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java +++ /dev/null @@ -1,1054 +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_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; - - 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." + - "googleapis.com/Analysis\022Xprojects/{proje" + - "ct}/locations/{location}/conversations/{" + - "conversation}/analyses/{analysis}\"\300\001\n\026Co" + - "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" + - "20.google.cloud.contactcenterinsights.v1" + - ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" + - "7.google.cloud.contactcenterinsights.v1." + - "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" + - "e\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\027dialogf" + - "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" + - "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" + - "is_metadata\030\002 \001(\0132J.google.cloud.contact" + - "centerinsights.v1.AnalysisResult.CallAna" + - "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" + - "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" + - "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" + - "ud.contactcenterinsights.v1.CallAnnotati" + - "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" + - "actcenterinsights.v1.AnalysisResult.Call" + - "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" + - "ents\030\004 \003(\0132A.google.cloud.contactcenteri" + - "nsights.v1.ConversationLevelSentiment\022h\n" + - "\007intents\030\006 \003(\0132W.google.cloud.contactcen" + - "terinsights.v1.AnalysisResult.CallAnalys" + - "isMetadata.IntentsEntry\022w\n\017phrase_matche" + - "rs\030\007 \003(\0132^.google.cloud.contactcenterins" + - "ights.v1.AnalysisResult.CallAnalysisMeta" + - "data.PhraseMatchersEntry\022S\n\022issue_model_" + - "result\030\010 \001(\01327.google.cloud.contactcente" + - "rinsights.v1.IssueModelResult\032^\n\rEntitie" + - "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" + - "gle.cloud.contactcenterinsights.v1.Entit" + - "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" + - "lue\030\002 \001(\0132-.google.cloud.contactcenterin" + - "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" + - "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" + - ".cloud.contactcenterinsights.v1.PhraseMa" + - "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" + - "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" + - "enterinsights.googleapis.com/IssueModel\022" + - "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" + - "nterinsights.v1.IssueAssignment\"\177\n\032Conve" + - "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" + - "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" + - "d.contactcenterinsights.v1.SentimentData" + - "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" + - "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" + - "\016CallAnnotation\022T\n\021interruption_data\030\n \001" + - "(\01327.google.cloud.contactcenterinsights." + - "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" + - "\013 \001(\01324.google.cloud.contactcenterinsigh" + - "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " + - "\001(\01322.google.cloud.contactcenterinsights" + - ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" + - "oogle.cloud.contactcenterinsights.v1.Hol" + - "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" + - "oogle.cloud.contactcenterinsights.v1.Ent" + - "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " + - "\001(\01326.google.cloud.contactcenterinsights" + - ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" + - "ta\030\021 \001(\01326.google.cloud.contactcenterins" + - "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" + - "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" + - "(\01329.google.cloud.contactcenterinsights." + - "v1.AnnotationBoundary\022Z\n\027annotation_end_" + - "boundary\030\005 \001(\01329.google.cloud.contactcen" + - "terinsights.v1.AnnotationBoundaryB\006\n\004dat" + - "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " + - "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" + - "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" + - "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" + - "ctcenterinsights.v1.Entity.Type\022M\n\010metad" + - "ata\030\003 \003(\0132;.google.cloud.contactcenterin" + - "sights.v1.Entity.MetadataEntry\022\020\n\010salien" + - "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" + - "ud.contactcenterinsights.v1.SentimentDat" + - "a\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_UNSPECIFIED\020" + - "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" + - "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" + - "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" + - "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" + - "PRICE\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\020" + - "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" + - "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" + - "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" + - "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" + - "ud.contactcenterinsights.v1.EntityMentio" + - "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" + - "oogle.cloud.contactcenterinsights.v1.Sen" + - "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" + - "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" + - "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" + - " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" + - "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" + - "gle.cloud.contactcenterinsights.v1.Issue" + - "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " + - "\001(\0132A.google.cloud.contactcenterinsights" + - ".v1.IssueModel.InputDataConfig\022[\n\016traini" + - "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" + - "terinsights.v1.IssueModelLabelStatsB\006\340A\003" + - "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" + - ":.google.cloud.contactcenterinsights.v1." + - "Conversation.MediumB\002\030\001\022)\n\034training_conv" + - "ersations_count\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\nUN" + - "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" + - "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" + - "tactcenterinsights.googleapis.com/IssueM" + - "odel\022Aprojects/{project}/locations/{loca" + - "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" + - "e\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.protobu" + - "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." + - "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" + - "ntactcenterinsights.googleapis.com/Issue" + - "\022Pprojects/{project}/locations/{location" + - "}/issueModels/{issue_model}/issues/{issu" + - "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" + - "conversations_count\030\001 \001(\003\022(\n unclassifie" + - "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" + - "ts\030\003 \003(\0132K.google.cloud.contactcenterins" + - "ights.v1.IssueModelLabelStats.IssueStats" + - "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" + - "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" + - "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" + - "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" + - "actcenterinsights.v1.IssueModelLabelStat" + - "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" + - "me\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_create_ti" + - "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + - "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." + - "google.cloud.contactcenterinsights.v1.Ph" + - "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" + - "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" + - " \003(\0132;.google.cloud.contactcenterinsight" + - "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" + - "update_time\030\t \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." + - "cloud.contactcenterinsights.v1.Conversat" + - "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" + - "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" + - "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" + - "}\n2contactcenterinsights.googleapis.com/" + - "PhraseMatcher\022Gprojects/{project}/locati" + - "ons/{location}/phraseMatchers/{phrase_ma" + - "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" + - "\001 \001(\0162T.google.cloud.contactcenterinsigh" + - "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" + - "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" + - " \003(\01326.google.cloud.contactcenterinsight" + - "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" + - "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" + - "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" + - ".cloud.contactcenterinsights.v1.PhraseMa" + - "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" + - "\n\022exact_match_config\030\001 \001(\01327.google.clou" + - "d.contactcenterinsights.v1.ExactMatchCon" + - "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" + - "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" + - "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" + - "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + - "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" + - "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" + - "ubsub_notification_settings\030\006 \003(\0132O.goog" + - "le.cloud.contactcenterinsights.v1.Settin" + - "gs.PubsubNotificationSettingsEntry\022W\n\017an" + - "alysis_config\030\007 \001(\0132>.google.cloud.conta" + - "ctcenterinsights.v1.Settings.AnalysisCon" + - "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" + - "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" + - "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" + - "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" + - "ights.googleapis.com/Settings\0220projects/" + - "{project}/locations/{location}/settings\"" + - "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" + - "ion\030\006 \001(\0132<.google.cloud.contactcenterin" + - "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" + - "_answer\030\007 \001(\01324.google.cloud.contactcent" + - "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" + - "eply\030\010 \001(\01325.google.cloud.contactcenteri" + - "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" + - "pose_suggestion\030\t \001(\0132A.google.cloud.con" + - "tactcenterinsights.v1.SmartComposeSugges" + - "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" + - "(\0132@.google.cloud.contactcenterinsights." + - "v1.DialogflowInteractionDataH\000\022\025\n\rannota" + - "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022Q\n\016start_boundary" + - "\030\003 \001(\01329.google.cloud.contactcenterinsig" + - "hts.v1.AnnotationBoundary\022O\n\014end_boundar" + - "y\030\004 \001(\01329.google.cloud.contactcenterinsi" + - "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" + - "dback\030\005 \001(\01325.google.cloud.contactcenter" + - "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" + - "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" + - "2F.google.cloud.contactcenterinsights.v1" + - ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" + - "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" + - "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" + - "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" + - "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" + - "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" + - "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" + - "2J.google.cloud.contactcenterinsights.v1" + - ".ArticleSuggestionData.MetadataEntry\022\024\n\014" + - "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" + - "tadataEntry\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\006answer\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.google.cloud.conta" + - "ctcenterinsights.v1.FaqAnswerData.Metada" + - "taEntry\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\005v" + - "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" + - "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" + - "tadata\030\003 \003(\0132C.google.cloud.contactcente" + - "rinsights.v1.SmartReplyData.MetadataEntr" + - "y\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\032Sma" + - "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " + - "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" + - "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" + - "ghts.v1.SmartComposeSuggestionData.Metad" + - "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" + - "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + - "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" + - "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" + - "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" + - "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" + - "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" + - "nterinsights.v1.ConversationParticipant." + - "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" + - "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" + - "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" + - "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" + - "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" + - "ogleapis.com/View\0224projects/{project}/lo" + - "cations/{location}/views/{view}B\354\003\n)com." + - "google.cloud.contactcenterinsights.v1B\016R" + - "esourcesProtoP\001ZZgoogle.golang.org/genpr" + - "oto/googleapis/cloud/contactcenterinsigh" + - "ts/v1;contactcenterinsights\252\002%Google.Clo" + - "ud.ContactCenterInsights.V1\312\002%Google\\Clo" + - "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" + - "oud::ContactCenterInsights::V1\352A\324\001\n%dial" + - "ogflow.googleapis.com/Participant\022Jproje" + - "cts/{project}/conversations/{conversatio" + - "n}/participants/{participant}\022_projects/" + - "{project}/locations/{location}/conversat" + - "ions/{conversation}/participants/{partic" + - "ipant}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", }); - 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", "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_IssueModel_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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", }); - internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = - getDescriptor().getMessageTypes().get(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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", }); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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(36); - 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(37); - 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(38); - 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", }); - 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java deleted file mode 100644 index c865e05a..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java deleted file mode 100644 index 52d1662c..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java deleted file mode 100644 index 77ed1a9e..00000000 --- a/owl-bot-staging/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 { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java index 5ee35bdb..25f7dfe2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Analysis.java @@ -1,40 +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; } + private Analysis( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,58 +70,67 @@ private Analysis( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (requestTime_ != null) { - subBuilder = requestTime_.toBuilder(); - } - requestTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(requestTime_); - requestTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (requestTime_ != null) { + subBuilder = requestTime_.toBuilder(); + } + requestTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestTime_); + requestTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; - if (analysisResult_ != null) { - subBuilder = analysisResult_.toBuilder(); - } - analysisResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisResult_); - analysisResult_ = subBuilder.buildPartial(); + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.Builder subBuilder = null; + if (analysisResult_ != null) { + subBuilder = analysisResult_.toBuilder(); + } + analysisResult_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisResult_); + analysisResult_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,29 +138,33 @@ private Analysis( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the analysis.
    * Format:
@@ -142,6 +172,7 @@ private Analysis(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -150,14 +181,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:
@@ -165,16 +197,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 { @@ -185,11 +216,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 @@ -197,11 +232,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 @@ -209,11 +248,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() { @@ -223,12 +265,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 @@ -236,12 +282,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 @@ -249,12 +299,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() { @@ -264,12 +317,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 @@ -277,32 +335,45 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder + getAnalysisResultOrBuilder() { return getAnalysisResult(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +385,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_); } @@ -341,16 +411,13 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -360,29 +427,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -415,117 +479,126 @@ 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() @@ -533,16 +606,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +642,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 @@ -591,7 +663,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); + com.google.cloud.contactcenterinsights.v1.Analysis result = + new com.google.cloud.contactcenterinsights.v1.Analysis(this); result.name_ = name_; if (requestTimeBuilder_ == null) { result.requestTime_ = requestTime_; @@ -616,38 +689,39 @@ public com.google.cloud.contactcenterinsights.v1.Analysis 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.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; @@ -655,7 +729,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_; onChanged(); @@ -688,7 +763,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Analysis) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -700,6 +776,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -707,13 +785,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; @@ -722,6 +800,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -729,15 +809,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 { @@ -745,6 +824,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -752,20 +833,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -773,15 +856,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the analysis.
      * Format:
@@ -789,16 +875,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -806,39 +892,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 requestTimeBuilder_ != null || 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. */ 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) { @@ -854,14 +959,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(); onChanged(); @@ -872,17 +980,23 @@ 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 (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -894,11 +1008,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() { if (requestTimeBuilder_ == null) { @@ -912,48 +1030,64 @@ 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() { - + onChanged(); 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_; @@ -961,42 +1095,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1012,15 +1165,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(); onChanged(); @@ -1031,18 +1187,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1054,12 +1214,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() { if (createTimeBuilder_ == null) { @@ -1073,51 +1237,67 @@ 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() { - + onChanged(); 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_; @@ -1125,44 +1305,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 analysisResultBuilder_ != null || 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. */ 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(); @@ -1176,12 +1376,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) { @@ -1195,18 +1399,25 @@ 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 (analysisResult_ != null) { analysisResult_ = - com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnalysisResult.newBuilder(analysisResult_) + .mergeFrom(value) + .buildPartial(); } else { analysisResult_ = value; } @@ -1218,12 +1429,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() { if (analysisResultBuilder_ == null) { @@ -1237,58 +1452,76 @@ 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() { + 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_; } + @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); } @@ -1298,12 +1531,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(); } @@ -1312,16 +1545,16 @@ 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 { - return new Analysis(input, extensionRegistry); - } - }; + 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 { + return new Analysis(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1336,6 +1569,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Analysis getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java index 80020b8f..d6a4eb43 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java +++ b/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,95 +47,131 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java index 807aef0a..a7566a9d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResult.java @@ -1,39 +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; /** + * + * *
  * 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; } + private AnalysisResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,52 @@ private AnalysisResult( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder subBuilder = null; - if (metadataCase_ == 2) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_).toBuilder(); + break; } - metadata_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) metadata_); - metadata_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.Builder + subBuilder = null; + if (metadataCase_ == 2) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_) + .toBuilder(); + } + metadata_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + metadata_); + metadata_ = subBuilder.buildPartial(); + } + metadataCase_ = 2; + break; } - metadataCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,40 +121,46 @@ private AnalysisResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -135,6 +169,8 @@ public interface CallAnalysisMetadataOrBuilder extends */ com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(int index); /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -143,15 +179,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.
      * 
@@ -162,6 +202,8 @@ com.google.cloud.contactcenterinsights.v1.CallAnnotationOrBuilder getAnnotations int index); /** + * + * *
      * All the entities in the call.
      * 
@@ -170,21 +212,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.
      * 
@@ -192,8 +234,10 @@ boolean containsEntities( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ java.util.Map - getEntitiesMap(); + getEntitiesMap(); /** + * + * *
      * All the entities in the call.
      * 
@@ -202,66 +246,89 @@ boolean containsEntities( */ /* 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.
      * 
@@ -270,21 +337,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.
      * 
@@ -292,8 +359,10 @@ boolean containsIntents( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ java.util.Map - getIntentsMap(); + getIntentsMap(); /** + * + * *
      * All the matched intents in the call.
      * 
@@ -302,120 +371,148 @@ boolean containsIntents( */ /* 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(); @@ -423,16 +520,15 @@ 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; } + private CallAnalysisMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -452,83 +548,113 @@ private CallAnalysisMetadata( case 0: done = true; break; - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - annotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - annotations_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - entities_ = com.google.protobuf.MapField.newMapField( - EntitiesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + annotations_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.CallAnnotation>(); + mutable_bitField0_ |= 0x00000001; + } + annotations_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CallAnnotation.parser(), + extensionRegistry)); + break; } - com.google.protobuf.MapEntry - entities__ = input.readMessage( - EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - entities_.getMutableMap().put( - entities__.getKey(), entities__.getValue()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - sentiments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + entities_ = + com.google.protobuf.MapField.newMapField( + EntitiesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + entities__ = + input.readMessage( + EntitiesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + entities_.getMutableMap().put(entities__.getKey(), entities__.getValue()); + break; } - sentiments_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.parser(), extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - intents_ = com.google.protobuf.MapField.newMapField( - IntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + case 34: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + sentiments_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment>(); + mutable_bitField0_ |= 0x00000004; + } + sentiments_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment + .parser(), + extensionRegistry)); + break; } - com.google.protobuf.MapEntry - intents__ = input.readMessage( - IntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - intents_.getMutableMap().put( - intents__.getKey(), intents__.getValue()); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - phraseMatchers_ = com.google.protobuf.MapField.newMapField( - PhraseMatchersDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000010; + case 50: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + intents_ = + com.google.protobuf.MapField.newMapField( + IntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + intents__ = + input.readMessage( + IntentsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + intents_.getMutableMap().put(intents__.getKey(), intents__.getValue()); + break; } - com.google.protobuf.MapEntry - phraseMatchers__ = input.readMessage( - PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - phraseMatchers_.getMutableMap().put( - phraseMatchers__.getKey(), phraseMatchers__.getValue()); - break; - } - case 66: { - com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = null; - if (issueModelResult_ != null) { - subBuilder = issueModelResult_.toBuilder(); + case 58: + { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + phraseMatchers_ = + com.google.protobuf.MapField.newMapField( + PhraseMatchersDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000010; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + phraseMatchers__ = + input.readMessage( + PhraseMatchersDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + phraseMatchers_ + .getMutableMap() + .put(phraseMatchers__.getKey(), phraseMatchers__.getValue()); + break; } - issueModelResult_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModelResult_); - issueModelResult_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.contactcenterinsights.v1.IssueModelResult.Builder subBuilder = + null; + if (issueModelResult_ != null) { + subBuilder = issueModelResult_.toBuilder(); + } + issueModelResult_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModelResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModelResult_); + issueModelResult_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,8 +662,7 @@ private CallAnalysisMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { annotations_ = java.util.Collections.unmodifiableList(annotations_); @@ -549,15 +674,15 @@ private CallAnalysisMetadata( makeExtensionsImmutable(); } } - 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(); @@ -566,21 +691,26 @@ 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; private java.util.List annotations_; /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -588,10 +718,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.
      * 
@@ -599,11 +732,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.
      * 
@@ -615,6 +751,8 @@ public int getAnnotationsCount() { return annotations_.size(); } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -626,6 +764,8 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation getAnnotations(i return annotations_.get(index); } /** + * + * *
      * A list of call annotations that apply to this call.
      * 
@@ -633,30 +773,37 @@ 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()); } + + 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 - internalGetEntities() { + 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_; } @@ -665,28 +812,31 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** + * + * *
      * All the entities in the call.
      * 
* * 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.
      * 
@@ -694,11 +844,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.
      * 
@@ -706,16 +858,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
      * 
@@ -723,10 +877,11 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -736,84 +891,115 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public static final int SENTIMENTS_FIELD_NUMBER = 4; - 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()); } + + 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 - internalGetIntents() { + 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_; } @@ -822,28 +1008,31 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** + * + * *
      * All the matched intents in the call.
      * 
* * 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.
      * 
@@ -851,11 +1040,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.
      * 
@@ -863,16 +1054,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
      * 
@@ -880,10 +1073,11 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -893,21 +1087,30 @@ 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()); } + 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); @@ -919,70 +1122,89 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -992,11 +1214,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 @@ -1004,18 +1229,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.
      * 
@@ -1023,11 +1255,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelResultOrBuilder + getIssueModelResultOrBuilder() { return getIssueModelResult(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1039,32 +1273,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()); } @@ -1078,46 +1299,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1127,27 +1352,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1189,88 +1411,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 @@ -1280,24 +1515,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(); @@ -1306,13 +1544,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(); @@ -1321,35 +1558,39 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAnnotationsFieldBuilder(); getSentimentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1378,19 +1619,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); } @@ -1398,8 +1642,10 @@ 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); int from_bitField0_ = bitField0_; if (annotationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1438,46 +1684,56 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMeta 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()) { @@ -1496,16 +1752,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()); if (sentimentsBuilder_ == null) { if (!other.sentiments_.isEmpty()) { if (sentiments_.isEmpty()) { @@ -1524,18 +1780,17 @@ 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()); - internalGetMutablePhraseMatchers().mergeFrom( - other.internalGetPhraseMatchers()); + internalGetMutableIntents().mergeFrom(other.internalGetIntents()); + internalGetMutablePhraseMatchers().mergeFrom(other.internalGetPhraseMatchers()); if (other.hasIssueModelResult()) { mergeIssueModelResult(other.getIssueModelResult()); } @@ -1554,11 +1809,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1567,28 +1825,39 @@ public Builder mergeFrom( } 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 { @@ -1596,11 +1865,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) { @@ -1610,11 +1882,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) { @@ -1624,11 +1899,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) { @@ -1645,14 +1923,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()); @@ -1663,13 +1945,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(); @@ -1683,11 +1969,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) { @@ -1704,11 +1993,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) { @@ -1722,14 +2014,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()); @@ -1740,18 +2036,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); @@ -1759,11 +2058,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) { @@ -1776,11 +2078,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) { @@ -1793,39 +2098,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 { @@ -1833,45 +2149,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(), @@ -1882,21 +2217,27 @@ 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 - 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 entities_; } - private com.google.protobuf.MapField - internalGetMutableEntities() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Entity> + internalGetMutableEntities() { + onChanged(); + ; 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(); @@ -1908,28 +2249,31 @@ public int getEntitiesCount() { return internalGetEntities().getMap().size(); } /** + * + * *
        * All the entities in the call.
        * 
* * 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.
        * 
@@ -1937,11 +2281,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.
        * 
@@ -1949,16 +2295,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Entity defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
        * 
@@ -1966,10 +2314,11 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Entity> entities = 3; */ @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)) { @@ -1979,34 +2328,34 @@ public com.google.cloud.contactcenterinsights.v1.Entity getEntitiesOrThrow( } public Builder clearEntities() { - 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() { + getMutableEntities() { return internalGetMutableEntities().getMutableMap(); } /** + * + * *
        * All the entities in the call.
        * 
@@ -2014,52 +2363,65 @@ 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableEntities().getMutableMap() - .put(key, value); + internalGetMutableEntities().getMutableMap().put(key, value); return this; } /** + * + * *
        * All the entities in the call.
        * 
* * 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); 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 { @@ -2067,11 +2429,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) { @@ -2081,13 +2447,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 { @@ -2095,11 +2466,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) { @@ -2116,14 +2491,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()); @@ -2134,13 +2515,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(); @@ -2154,11 +2540,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) { @@ -2175,14 +2565,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()); @@ -2193,14 +2588,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()); @@ -2211,18 +2612,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); @@ -2230,11 +2636,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) { @@ -2247,11 +2657,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) { @@ -2264,39 +2678,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 { @@ -2304,70 +2733,97 @@ 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 - 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_; } - private com.google.protobuf.MapField - internalGetMutableIntents() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.Intent> + internalGetMutableIntents() { + onChanged(); + ; 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(); @@ -2379,28 +2835,31 @@ public int getIntentsCount() { return internalGetIntents().getMap().size(); } /** + * + * *
        * All the matched intents in the call.
        * 
* * 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.
        * 
@@ -2408,11 +2867,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.
        * 
@@ -2420,16 +2881,18 @@ public java.util.Mapmap<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @java.lang.Override - public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.Intent defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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.
        * 
@@ -2437,10 +2900,11 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrDefault( * map<string, .google.cloud.contactcenterinsights.v1.Intent> intents = 6; */ @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)) { @@ -2450,34 +2914,34 @@ public com.google.cloud.contactcenterinsights.v1.Intent getIntentsOrThrow( } public Builder clearIntents() { - 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() { + getMutableIntents() { return internalGetMutableIntents().getMutableMap(); } /** + * + * *
        * All the matched intents in the call.
        * 
@@ -2485,48 +2949,56 @@ 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableIntents().getMutableMap() - .put(key, value); + internalGetMutableIntents().getMutableMap().put(key, value); return this; } /** + * + * *
        * All the matched intents in the call.
        * 
* * 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); return this; } 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_; } - private com.google.protobuf.MapField - internalGetMutablePhraseMatchers() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + internalGetMutablePhraseMatchers() { + onChanged(); + ; 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(); @@ -2538,70 +3010,89 @@ 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 com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchersOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.PhraseMatchData defaultValue) { - 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(); 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(); } @@ -2609,104 +3100,129 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatche } public Builder clearPhraseMatchers() { - 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 - getMutablePhraseMatchers() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.PhraseMatchData> + getMutablePhraseMatchers() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutablePhraseMatchers().getMutableMap() - .put(key, value); + internalGetMutablePhraseMatchers().getMutableMap().put(key, value); 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); 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 issueModelResultBuilder_ != null || issueModelResult_ != null; } /** + * + * *
        * 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(); @@ -2720,11 +3236,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) { @@ -2738,17 +3257,24 @@ 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 (issueModelResult_ != null) { issueModelResult_ = - com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder(issueModelResult_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelResult.newBuilder( + issueModelResult_) + .mergeFrom(value) + .buildPartial(); } else { issueModelResult_ = value; } @@ -2760,11 +3286,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() { if (issueModelResultBuilder_ == null) { @@ -2778,52 +3307,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() { + 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) { @@ -2836,30 +3381,34 @@ 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 { - return new CallAnalysisMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallAnalysisMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2871,20 +3420,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; } @@ -2900,29 +3452,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 @@ -2930,43 +3489,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 @@ -2974,11 +3551,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 @@ -2986,6 +3566,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time at which the analysis ended.
    * 
@@ -2998,6 +3580,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3009,13 +3592,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_); } unknownFields.writeTo(output); } @@ -3027,12 +3612,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3042,23 +3629,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: @@ -3092,117 +3678,127 @@ 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() @@ -3210,16 +3806,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3235,9 +3830,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 @@ -3256,7 +3851,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); + com.google.cloud.contactcenterinsights.v1.AnalysisResult result = + new com.google.cloud.contactcenterinsights.v1.AnalysisResult(this); if (metadataCase_ == 2) { if (callAnalysisMetadataBuilder_ == null) { result.metadata_ = metadata_; @@ -3278,38 +3874,39 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisResult 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.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; @@ -3317,18 +3914,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.unknownFields); onChanged(); @@ -3349,7 +3949,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.AnalysisResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3358,12 +3959,12 @@ public Builder mergeFrom( } 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() { @@ -3373,15 +3974,22 @@ public Builder clearMetadata() { return this; } - 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 @@ -3389,35 +3997,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(); @@ -3431,14 +4053,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(); @@ -3449,18 +4076,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; } @@ -3476,11 +4116,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) { @@ -3499,79 +4143,115 @@ 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; } metadataCase_ = 2; - onChanged();; + onChanged(); + ; return callAnalysisMetadataBuilder_; } 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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time at which the analysis ended.
      * 
* * .google.protobuf.Timestamp end_time = 1; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -3582,6 +4262,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3602,14 +4284,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(); onChanged(); @@ -3620,6 +4303,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3630,7 +4315,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -3642,6 +4327,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3660,6 +4347,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3667,11 +4356,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 1; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the analysis ended.
      * 
@@ -3682,11 +4373,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.
      * 
@@ -3694,21 +4386,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); } @@ -3718,12 +4413,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(); } @@ -3732,16 +4427,16 @@ 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 { - return new AnalysisResult(input, extensionRegistry); - } - }; + 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 { + return new AnalysisResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3756,6 +4451,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnalysisResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java index 349628cc..5fd73819 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisResultOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java index 86b3ad96..72f25519 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundary.java @@ -1,39 +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; /** + * + * *
  * 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; } + private AnnotationBoundary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,24 @@ private AnnotationBoundary( case 0: done = true; break; - case 8: { - - transcriptIndex_ = input.readInt32(); - break; - } - case 24: { - detailedBoundary_ = input.readInt32(); - detailedBoundaryCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + transcriptIndex_ = input.readInt32(); + break; + } + case 24: + { + detailedBoundary_ = input.readInt32(); + detailedBoundaryCase_ = 3; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,34 +93,39 @@ private AnnotationBoundary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; } @@ -119,30 +141,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 @@ -150,12 +177,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 @@ -169,12 +199,15 @@ public int getWordIndex() { public static final int TRANSCRIPT_INDEX_FIELD_NUMBER = 1; 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 @@ -183,6 +216,7 @@ public int getTranscriptIndex() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,14 +228,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_)); } unknownFields.writeTo(output); } @@ -213,13 +245,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,20 +260,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: @@ -274,117 +304,127 @@ 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() @@ -392,16 +432,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -413,13 +452,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(); } @@ -434,7 +474,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary result = + new com.google.cloud.contactcenterinsights.v1.AnnotationBoundary(this); if (detailedBoundaryCase_ == 3) { result.detailedBoundary_ = detailedBoundary_; } @@ -448,38 +489,39 @@ public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary 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.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; @@ -487,18 +529,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.unknownFields); onChanged(); @@ -519,7 +565,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.AnnotationBoundary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,12 +575,12 @@ public Builder mergeFrom( } 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() { @@ -543,26 +590,31 @@ public Builder clearDetailedBoundary() { 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 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() { @@ -572,12 +624,15 @@ 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. */ @@ -588,12 +643,15 @@ public Builder setWordIndex(int value) { 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() { @@ -605,14 +663,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 @@ -620,39 +681,45 @@ 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; 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() { - + transcriptIndex_ = 0; 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); } @@ -662,12 +729,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(); } @@ -676,16 +744,16 @@ 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 { - return new AnnotationBoundary(input, extensionRegistry); - } - }; + 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 { + return new AnnotationBoundary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -700,6 +768,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnnotationBoundary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java index c2a96449..79e6b46f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotationBoundaryOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java index a4a2a17c..c9fe577f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedback.java +++ b/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,31 +28,31 @@
  *
  * 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;
   }
+
   private AnswerFeedback(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,29 +71,30 @@ private AnswerFeedback(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
-
-            correctnessLevel_ = rawValue;
-            break;
-          }
-          case 16: {
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            clicked_ = input.readBool();
-            break;
-          }
-          case 24: {
-
-            displayed_ = input.readBool();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              correctnessLevel_ = rawValue;
+              break;
+            }
+          case 16:
+            {
+              clicked_ = input.readBool();
+              break;
+            }
+          case 24:
+            {
+              displayed_ = input.readBool();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -84,36 +102,41 @@ private AnswerFeedback(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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.
      * 
@@ -122,6 +145,8 @@ public enum CorrectnessLevel */ CORRECTNESS_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Answer is totally wrong.
      * 
@@ -130,6 +155,8 @@ public enum CorrectnessLevel */ NOT_CORRECT(1), /** + * + * *
      * Answer is partially correct.
      * 
@@ -138,6 +165,8 @@ public enum CorrectnessLevel */ PARTIALLY_CORRECT(2), /** + * + * *
      * Answer is fully correct.
      * 
@@ -149,6 +178,8 @@ public enum CorrectnessLevel ; /** + * + * *
      * Correctness level unspecified.
      * 
@@ -157,6 +188,8 @@ public enum CorrectnessLevel */ public static final int CORRECTNESS_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Answer is totally wrong.
      * 
@@ -165,6 +198,8 @@ public enum CorrectnessLevel */ public static final int NOT_CORRECT_VALUE = 1; /** + * + * *
      * Answer is partially correct.
      * 
@@ -173,6 +208,8 @@ public enum CorrectnessLevel */ public static final int PARTIALLY_CORRECT_VALUE = 2; /** + * + * *
      * Answer is fully correct.
      * 
@@ -181,7 +218,6 @@ public enum CorrectnessLevel */ public static final int FULLY_CORRECT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -206,41 +242,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(); @@ -248,8 +290,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; @@ -269,38 +310,58 @@ private CorrectnessLevel(int value) { public static final int CORRECTNESS_LEVEL_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(correctnessLevel_); - return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( + correctnessLevel_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED + : result; } public static final int CLICKED_FIELD_NUMBER = 2; private boolean clicked_; /** + * + * *
    * Indicates whether an answer or item was clicked by the human agent.
    * 
* * bool clicked = 2; + * * @return The clicked. */ @java.lang.Override @@ -311,12 +372,15 @@ public boolean getClicked() { public static final int DISPLAYED_FIELD_NUMBER = 3; 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 @@ -325,6 +389,7 @@ public boolean getDisplayed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,9 +401,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) { @@ -356,17 +423,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -376,18 +443,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -402,107 +468,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) + unknownFields.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.
@@ -510,21 +582,23 @@ 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()
@@ -532,16 +606,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -555,9 +628,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
@@ -576,7 +649,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);
+      com.google.cloud.contactcenterinsights.v1.AnswerFeedback result =
+          new com.google.cloud.contactcenterinsights.v1.AnswerFeedback(this);
       result.correctnessLevel_ = correctnessLevel_;
       result.clicked_ = clicked_;
       result.displayed_ = displayed_;
@@ -588,38 +662,39 @@ public com.google.cloud.contactcenterinsights.v1.AnswerFeedback 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.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;
@@ -627,7 +702,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());
       }
@@ -656,7 +732,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.AnswerFeedback) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -668,85 +745,120 @@ public Builder mergeFrom(
 
     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. */ public Builder setCorrectnessLevelValue(int value) { - + correctnessLevel_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel + getCorrectnessLevel() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf(correctnessLevel_); - return result == null ? com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel result = + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel.valueOf( + 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(); } - + correctnessLevel_ = value.getNumber(); onChanged(); 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() { - + correctnessLevel_ = 0; onChanged(); 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 @@ -754,43 +866,52 @@ 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; 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() { - + clicked_ = false; onChanged(); 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 @@ -798,39 +919,45 @@ 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; 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() { - + displayed_ = false; 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); } @@ -840,12 +967,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(); } @@ -854,16 +981,16 @@ 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 { - return new AnswerFeedback(input, extensionRegistry); - } - }; + 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 { + return new AnswerFeedback(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -878,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.AnswerFeedback getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java index 9109a2a6..886b137b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnswerFeedbackOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java index 3557479e..be63818f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionData.java +++ b/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,16 +46,15 @@ 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; } + private ArticleSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,55 +74,61 @@ private ArticleSuggestionData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - title_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - uri_ = s; - break; - } - case 29: { + title_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - confidenceScore_ = input.readFloat(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + uri_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 29: + { + confidenceScore_ = input.readFloat(); + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + queryRecord_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + source_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,46 +136,50 @@ private ArticleSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object title_; /** + * + * *
    * Article title.
    * 
* * string title = 1; + * * @return The title. */ @java.lang.Override @@ -161,29 +188,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 { @@ -194,11 +221,14 @@ public java.lang.String getTitle() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
    * Article URI.
    * 
* * string uri = 2; + * * @return The uri. */ @java.lang.Override @@ -207,29 +237,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 { @@ -240,6 +270,8 @@ public java.lang.String getUri() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 3; 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
@@ -247,6 +279,7 @@ public java.lang.String getUri() {
    * 
* * float confidence_score = 3; + * * @return The confidenceScore. */ @java.lang.Override @@ -255,24 +288,23 @@ 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, + ""); } - 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_; } @@ -281,6 +313,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -288,22 +322,22 @@ 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.
@@ -312,11 +346,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Article Suggestion and the document
    * that it originates from.
@@ -325,16 +360,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -343,12 +379,11 @@ public 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();
     }
@@ -358,6 +393,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -365,6 +402,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ @java.lang.Override @@ -373,14 +411,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:
@@ -388,16 +427,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 { @@ -408,6 +446,8 @@ public java.lang.String getQueryRecord() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -415,6 +455,7 @@ public java.lang.String getQueryRecord() {
    * 
* * string source = 6; + * * @return The source. */ @java.lang.Override @@ -423,14 +464,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:
@@ -438,16 +480,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 { @@ -456,6 +497,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -467,8 +509,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_); } @@ -478,12 +519,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_); } @@ -506,18 +543,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_); @@ -533,26 +569,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -569,8 +600,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(); @@ -585,139 +615,147 @@ 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() @@ -725,16 +763,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -753,13 +790,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(); } @@ -774,7 +812,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData result = + new com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData(this); int from_bitField0_ = bitField0_; result.title_ = title_; result.uri_ = uri_; @@ -791,46 +830,50 @@ public com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData buildPart 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_; onChanged(); @@ -842,8 +885,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -871,7 +913,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -880,22 +924,25 @@ public Builder mergeFrom( } 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; @@ -904,20 +951,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 { @@ -925,54 +973,61 @@ 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) { + public Builder setTitle(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + title_ = value; onChanged(); return this; } /** + * + * *
      * Article title.
      * 
* * string title = 1; + * * @return This builder for chaining. */ public Builder clearTitle() { - + title_ = getDefaultInstance().getTitle(); onChanged(); 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) { + public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + title_ = value; onChanged(); return this; @@ -980,18 +1035,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; @@ -1000,20 +1057,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 { @@ -1021,61 +1079,70 @@ 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) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Article URI.
      * 
* * string uri = 2; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); 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) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); 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
@@ -1083,6 +1150,7 @@ public Builder setUriBytes(
      * 
* * float confidence_score = 3; + * * @return The confidenceScore. */ @java.lang.Override @@ -1090,6 +1158,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
@@ -1097,16 +1167,19 @@ 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; 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
@@ -1114,31 +1187,32 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 3; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -1150,6 +1224,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1157,22 +1233,22 @@ 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.
@@ -1181,11 +1257,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1194,16 +1271,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -1212,12 +1290,11 @@ public 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();
       }
@@ -1225,11 +1302,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1237,23 +1315,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1261,19 +1337,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Article Suggestion and the document
      * that it originates from.
@@ -1281,16 +1358,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1298,13 +1374,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; @@ -1313,6 +1389,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1320,15 +1398,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 { @@ -1336,6 +1413,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1343,20 +1422,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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1364,15 +1445,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 5; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1380,16 +1464,16 @@ 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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1397,6 +1481,8 @@ public Builder setQueryRecordBytes( private java.lang.Object source_ = ""; /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1404,13 +1490,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; @@ -1419,6 +1505,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1426,15 +1514,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 { @@ -1442,6 +1529,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1449,20 +1538,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) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1470,15 +1561,18 @@ public Builder setSource(
      * 
* * string source = 6; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1486,23 +1580,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) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1512,30 +1606,32 @@ 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 { - return new ArticleSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new ArticleSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1547,9 +1643,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java index 5a1c1aa3..b9567d83 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ArticleSuggestionDataOrBuilder.java +++ b/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.
@@ -104,11 +136,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -116,11 +150,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:
@@ -128,10 +162,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -139,12 +176,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:
@@ -152,10 +191,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:
@@ -163,8 +205,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java index 4574dc6f..63ecca06 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private CalculateIssueModelStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private CalculateIssueModelStatsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + issueModel_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,42 @@ private CalculateIssueModelStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +136,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 { @@ -140,6 +169,7 @@ public java.lang.String getIssueModel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issueModel_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issueModel_); } @@ -176,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +234,146 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +383,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); } @@ -361,8 +406,10 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest result = + new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest(this); result.issueModel_ = issueModel_; onBuilt(); return result; @@ -372,46 +419,52 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest 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_; onChanged(); @@ -431,11 +484,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +503,22 @@ public Builder mergeFrom( 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; @@ -467,20 +527,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 { @@ -488,61 +551,74 @@ 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) { + public Builder setIssueModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } + * + * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes( - com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = 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); } @@ -552,30 +628,33 @@ 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 { - return new CalculateIssueModelStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateIssueModelStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +666,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsRequestOrBuilder.java new file mode 100644 index 00000000..a68d1613 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java index dcddf2a1..cbe8e2db 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponse.java @@ -1,39 +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/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; } + private CalculateIssueModelStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +69,31 @@ private CalculateIssueModelStatsResponse( case 0: done = true; break; - case 34: { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; - if (currentStats_ != null) { - subBuilder = currentStats_.toBuilder(); + case 34: + { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = + null; + if (currentStats_ != null) { + subBuilder = currentStats_.toBuilder(); + } + currentStats_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(currentStats_); + currentStats_ = subBuilder.buildPartial(); + } + + break; } - currentStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(currentStats_); - currentStats_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,35 +101,41 @@ private CalculateIssueModelStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -115,19 +143,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.
@@ -136,11 +171,13 @@ 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() {
+  public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder
+      getCurrentStatsOrBuilder() {
     return getCurrentStats();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -152,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 (currentStats_ != null) {
       output.writeMessage(4, getCurrentStats());
     }
@@ -167,8 +203,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -178,17 +213,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -210,135 +246,152 @@ 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) 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
+      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) 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
+      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) 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(
+          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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,19 +405,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); } @@ -372,8 +428,10 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse result = + new com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse(this); if (currentStatsBuilder_ == null) { result.currentStats_ = currentStats_; } else { @@ -387,46 +445,52 @@ public com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRespons 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()); } @@ -445,11 +509,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -461,36 +528,49 @@ public Builder mergeFrom( 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 currentStatsBuilder_ != null || 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. */ 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.
@@ -498,7 +578,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();
@@ -512,6 +593,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.
@@ -531,6 +614,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.
@@ -538,11 +623,15 @@ 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 (currentStats_ != null) {
           currentStats_ =
-            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(currentStats_).mergeFrom(value).buildPartial();
+              com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(
+                      currentStats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           currentStats_ = value;
         }
@@ -554,6 +643,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.
@@ -573,6 +664,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.
@@ -580,12 +673,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() {
+
       onChanged();
       return getCurrentStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latest label statistics for the queried issue model. Includes results
      * on both training data and data labeled after deployment.
@@ -593,15 +689,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.
@@ -610,21 +710,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);
     }
 
@@ -634,30 +737,33 @@ 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 {
-      return new CalculateIssueModelStatsResponse(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new CalculateIssueModelStatsResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -669,9 +775,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
index 2eeb3b22..57c73991 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateIssueModelStatsResponseOrBuilder.java
+++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
index 27887c06..4c56e7d9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequest.java
+++ b/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,16 +44,15 @@ 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; } + private CalculateStatsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private CalculateStatsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + location_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private CalculateStatsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -116,29 +142,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 { @@ -149,12 +177,15 @@ public java.lang.String getLocation() { public static final int FILTER_FIELD_NUMBER = 2; 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 @@ -163,30 +194,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 { @@ -195,6 +226,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,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_); } @@ -237,17 +268,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ 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() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,13 +447,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(); } @@ -429,7 +469,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest(this); result.location_ = location_; result.filter_ = filter_; onBuilt(); @@ -440,46 +481,50 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest buildPart 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_; onChanged(); @@ -507,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +566,22 @@ public Builder mergeFrom( 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; @@ -539,20 +590,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 { @@ -560,54 +614,67 @@ 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) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; 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() { - + location_ = getDefaultInstance().getLocation(); 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) = { ... } + * + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -615,19 +682,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; @@ -636,21 +705,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 { @@ -658,64 +728,71 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); 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; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -725,30 +802,32 @@ 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 { - return new CalculateStatsRequest(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,9 +839,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java index 4eb8ec0d..40e54fd5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java index 8735fabe..052c91e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private CalculateStatsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,101 +69,129 @@ private CalculateStatsResponse( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (averageDuration_ != null) { - subBuilder = averageDuration_.toBuilder(); - } - averageDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(averageDuration_); - averageDuration_ = subBuilder.buildPartial(); - } - - break; - } - case 16: { - - averageTurnCount_ = input.readInt32(); - break; - } - case 24: { + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (averageDuration_ != null) { + subBuilder = averageDuration_.toBuilder(); + } + averageDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(averageDuration_); + averageDuration_ = subBuilder.buildPartial(); + } - conversationCount_ = input.readInt32(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - smartHighlighterMatches_ = com.google.protobuf.MapField.newMapField( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + break; } - com.google.protobuf.MapEntry - smartHighlighterMatches__ = input.readMessage( - SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - smartHighlighterMatches_.getMutableMap().put( - smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - customHighlighterMatches_ = com.google.protobuf.MapField.newMapField( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 16: + { + averageTurnCount_ = input.readInt32(); + break; } - com.google.protobuf.MapEntry - customHighlighterMatches__ = input.readMessage( - CustomHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - customHighlighterMatches_.getMutableMap().put( - customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - issueMatches_ = com.google.protobuf.MapField.newMapField( - IssueMatchesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + case 24: + { + conversationCount_ = input.readInt32(); + break; } - com.google.protobuf.MapEntry - issueMatches__ = input.readMessage( - IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - issueMatches_.getMutableMap().put( - issueMatches__.getKey(), issueMatches__.getValue()); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder subBuilder = null; - if (conversationCountTimeSeries_ != null) { - subBuilder = conversationCountTimeSeries_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + smartHighlighterMatches_ = + com.google.protobuf.MapField.newMapField( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + smartHighlighterMatches__ = + input.readMessage( + SmartHighlighterMatchesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + smartHighlighterMatches_ + .getMutableMap() + .put(smartHighlighterMatches__.getKey(), smartHighlighterMatches__.getValue()); + break; } - conversationCountTimeSeries_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationCountTimeSeries_); - conversationCountTimeSeries_ = subBuilder.buildPartial(); + case 42: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + customHighlighterMatches_ = + com.google.protobuf.MapField.newMapField( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry + customHighlighterMatches__ = + input.readMessage( + CustomHighlighterMatchesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + customHighlighterMatches_ + .getMutableMap() + .put(customHighlighterMatches__.getKey(), customHighlighterMatches__.getValue()); + break; + } + case 50: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + issueMatches_ = + com.google.protobuf.MapField.newMapField( + IssueMatchesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry issueMatches__ = + input.readMessage( + IssueMatchesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + issueMatches_.getMutableMap().put(issueMatches__.getKey(), issueMatches__.getValue()); + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Builder + subBuilder = null; + if (conversationCountTimeSeries_ != null) { + subBuilder = conversationCountTimeSeries_.toBuilder(); + } + conversationCountTimeSeries_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationCountTimeSeries_); + conversationCountTimeSeries_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - issueMatchesStats_ = com.google.protobuf.MapField.newMapField( - IssueMatchesStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000008; + break; } - com.google.protobuf.MapEntry - issueMatchesStats__ = input.readMessage( - IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - issueMatchesStats_.getMutableMap().put( - issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 66: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + issueMatchesStats_ = + com.google.protobuf.MapField.newMapField( + IssueMatchesStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000008; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueMatchesStats__ = + input.readMessage( + IssueMatchesStatsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + issueMatchesStats_ + .getMutableMap() + .put(issueMatchesStats__.getKey(), issueMatchesStats__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,22 +199,21 @@ private CalculateStatsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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(); @@ -181,41 +224,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.
      * 
@@ -225,91 +279,118 @@ 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; } + private TimeSeries( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -329,35 +410,44 @@ private TimeSeries( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (intervalDuration_ != null) { - subBuilder = intervalDuration_.toBuilder(); - } - intervalDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(intervalDuration_); - intervalDuration_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (intervalDuration_ != null) { + subBuilder = intervalDuration_.toBuilder(); + } + intervalDuration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(intervalDuration_); + intervalDuration_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - points_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + points_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse + .TimeSeries.Interval>(); + mutable_bitField0_ |= 0x00000001; + } + points_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -365,8 +455,7 @@ private TimeSeries( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { points_ = java.util.Collections.unmodifiableList(points_); @@ -375,42 +464,55 @@ private TimeSeries( makeExtensionsImmutable(); } } - 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.
        * 
@@ -420,46 +522,51 @@ 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; } + private Interval( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -478,31 +585,33 @@ private Interval( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 16: + { + conversationCount_ = input.readInt32(); + break; } - - break; - } - case 16: { - - conversationCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -510,34 +619,42 @@ private Interval( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -545,11 +662,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 @@ -557,6 +677,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
        * The start time of this interval.
        * 
@@ -571,11 +693,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 2; private int conversationCount_; /** + * + * *
        * The number of conversations created in this interval.
        * 
* * int32 conversation_count = 2; + * * @return The conversationCount. */ @java.lang.Override @@ -584,6 +709,7 @@ public int getConversationCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -595,8 +721,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()); } @@ -613,12 +738,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -628,20 +751,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -664,88 +789,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 @@ -755,44 +908,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -808,19 +970,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); } @@ -828,8 +994,12 @@ 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); + 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 (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { @@ -844,46 +1014,59 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri 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()); } @@ -905,11 +1088,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.Interval) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -921,34 +1108,47 @@ public Builder mergeFrom( 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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
          * 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.
          * 
@@ -969,14 +1169,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(); onChanged(); @@ -987,6 +1188,8 @@ public Builder setStartTime( return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -997,7 +1200,9 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_) + .mergeFrom(value) + .buildPartial(); } else { startTime_ = value; } @@ -1009,6 +1214,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -1027,6 +1234,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
          * The start time of this interval.
          * 
@@ -1034,11 +1243,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
          * The start time of this interval.
          * 
@@ -1049,11 +1260,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.
          * 
@@ -1061,26 +1275,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 @@ -1088,34 +1308,41 @@ 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; onChanged(); return this; } /** + * + * *
          * The number of conversations created in this interval.
          * 
* * int32 conversation_count = 2; + * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1128,30 +1355,36 @@ 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 { - return new Interval(input, extensionRegistry); - } - }; + 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 { + return new Interval(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1163,20 +1396,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 @@ -1184,18 +1420,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.
      * 
@@ -1208,76 +1451,106 @@ public com.google.protobuf.DurationOrBuilder getIntervalDurationOrBuilder() { } public static final int POINTS_FIELD_NUMBER = 2; - 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; @@ -1289,8 +1562,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()); } @@ -1307,12 +1579,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1322,20 +1592,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1360,88 +1630,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 @@ -1451,45 +1734,52 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPointsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1509,19 +1799,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); } @@ -1529,8 +1822,10 @@ 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); int from_bitField0_ = bitField0_; if (intervalDurationBuilder_ == null) { result.intervalDuration_ = intervalDuration_; @@ -1554,46 +1849,55 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeri 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()); } @@ -1615,9 +1919,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStat pointsBuilder_ = null; points_ = other.points_; bitField0_ = (bitField0_ & ~0x00000001); - pointsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPointsFieldBuilder() : null; + pointsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPointsFieldBuilder() + : null; } else { pointsBuilder_.addAllMessages(other.points_); } @@ -1638,11 +1943,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1651,38 +1959,52 @@ public Builder mergeFrom( } 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 intervalDurationBuilder_ != null || intervalDuration_ != null; } /** + * + * *
        * 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.
        * 
@@ -1703,14 +2025,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(); onChanged(); @@ -1721,6 +2044,8 @@ public Builder setIntervalDuration( return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1731,7 +2056,9 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { if (intervalDurationBuilder_ == null) { if (intervalDuration_ != null) { intervalDuration_ = - com.google.protobuf.Duration.newBuilder(intervalDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(intervalDuration_) + .mergeFrom(value) + .buildPartial(); } else { intervalDuration_ = value; } @@ -1743,6 +2070,8 @@ public Builder mergeIntervalDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1761,6 +2090,8 @@ public Builder clearIntervalDuration() { return this; } /** + * + * *
        * The duration of each interval.
        * 
@@ -1768,11 +2099,13 @@ public Builder clearIntervalDuration() { * .google.protobuf.Duration interval_duration = 1; */ public com.google.protobuf.Duration.Builder getIntervalDurationBuilder() { - + onChanged(); return getIntervalDurationFieldBuilder().getBuilder(); } /** + * + * *
        * The duration of each interval.
        * 
@@ -1783,11 +2116,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.
        * 
@@ -1795,41 +2131,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_ & 0x00000001) != 0)) { - points_ = new java.util.ArrayList(points_); + points_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .Interval>(points_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -1837,13 +2192,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) { @@ -1853,15 +2212,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 { @@ -1869,16 +2233,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(); @@ -1892,16 +2262,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()); @@ -1912,15 +2289,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(); @@ -1934,16 +2317,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(); @@ -1957,16 +2346,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()); @@ -1977,16 +2372,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()); @@ -1997,20 +2399,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); @@ -2018,13 +2427,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) { @@ -2037,13 +2450,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) { @@ -2056,45 +2473,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 { @@ -2102,59 +2537,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); points_ = null; } return pointsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2167,30 +2633,33 @@ 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 { - return new TimeSeries(input, extensionRegistry); - } - }; + 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 { + return new TimeSeries(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2202,21 +2671,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 @@ -2224,19 +2696,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.
@@ -2252,11 +2731,14 @@ public com.google.protobuf.DurationOrBuilder getAverageDurationOrBuilder() {
   public static final int AVERAGE_TURN_COUNT_FIELD_NUMBER = 2;
   private int averageTurnCount_;
   /**
+   *
+   *
    * 
    * The average number of turns per conversation.
    * 
* * int32 average_turn_count = 2; + * * @return The averageTurnCount. */ @java.lang.Override @@ -2267,11 +2749,14 @@ public int getAverageTurnCount() { public static final int CONVERSATION_COUNT_FIELD_NUMBER = 3; private int conversationCount_; /** + * + * *
    * The total number of conversations.
    * 
* * int32 conversation_count = 3; + * * @return The conversationCount. */ @java.lang.Override @@ -2280,21 +2765,23 @@ 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); } - 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); @@ -2306,6 +2793,8 @@ 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.
@@ -2313,22 +2802,22 @@ 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.
@@ -2337,11 +2826,12 @@ public java.util.Map getSmartHighlighterMat
    * map<string, int32> smart_highlighter_matches = 4;
    */
   @java.lang.Override
-
   public java.util.Map getSmartHighlighterMatchesMap() {
     return internalGetSmartHighlighterMatches().getMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each smart highlighter display name with its respective
    * number of matches in the set of conversations.
@@ -2350,16 +2840,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.
@@ -2368,10 +2859,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)) {
@@ -2381,21 +2872,23 @@ 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);
   }
-  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);
@@ -2407,6 +2900,8 @@ 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.
@@ -2414,22 +2909,22 @@ 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.
@@ -2438,11 +2933,12 @@ public java.util.Map getCustomHighlighterMa
    * map<string, int32> custom_highlighter_matches = 5;
    */
   @java.lang.Override
-
   public java.util.Map getCustomHighlighterMatchesMap() {
     return internalGetCustomHighlighterMatches().getMap();
   }
   /**
+   *
+   *
    * 
    * A map associating each custom highlighter resource name with its respective
    * number of matches in the set of conversations.
@@ -2451,16 +2947,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.
@@ -2469,10 +2966,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)) {
@@ -2482,32 +2979,36 @@ 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);
   }
-  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 
+
+  @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:
@@ -2517,22 +3018,23 @@ public int getIssueMatchesCount() {
    *
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
-  @java.lang.Deprecated 
+  @java.lang.Deprecated
   @java.lang.Override
-  public boolean containsIssueMatches(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  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:
@@ -2543,11 +3045,13 @@ public java.util.Map getIssueMatches() {
    * map<string, int32> issue_matches = 6 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated 
+  @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:
@@ -2558,16 +3062,17 @@ 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:
@@ -2578,12 +3083,12 @@ public int getIssueMatchesOrDefault(
    * 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();
     }
@@ -2591,21 +3096,34 @@ public int getIssueMatchesOrThrow(
   }
 
   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());
   }
+
+  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
-  internalGetIssueMatchesStats() {
+          java.lang.String,
+          com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+      internalGetIssueMatchesStats() {
     if (issueMatchesStats_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           IssueMatchesStatsDefaultEntryHolder.defaultEntry);
@@ -2617,78 +3135,104 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -2696,14 +3240,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 @@ -2711,32 +3261,47 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeriesOrBuilder + getConversationCountTimeSeriesOrBuilder() { return getConversationCountTimeSeries(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2748,8 +3313,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()); } @@ -2759,29 +3323,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, @@ -2796,60 +3353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2859,34 +3421,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2933,114 +3491,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(); @@ -3051,13 +3616,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(); @@ -3068,16 +3632,18 @@ 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() @@ -3085,16 +3651,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3122,13 +3687,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(); } @@ -3143,7 +3709,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse result = + new com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse(this); int from_bitField0_ = bitField0_; if (averageDurationBuilder_ == null) { result.averageDuration_ = averageDuration_; @@ -3173,46 +3740,50 @@ public com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse buildPar 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()); } @@ -3222,14 +3793,12 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CalculateStat if (other.getConversationCount() != 0) { setConversationCount(other.getConversationCount()); } - internalGetMutableSmartHighlighterMatches().mergeFrom( - other.internalGetSmartHighlighterMatches()); - internalGetMutableCustomHighlighterMatches().mergeFrom( - other.internalGetCustomHighlighterMatches()); - internalGetMutableIssueMatches().mergeFrom( - other.internalGetIssueMatches()); - internalGetMutableIssueMatchesStats().mergeFrom( - other.internalGetIssueMatchesStats()); + internalGetMutableSmartHighlighterMatches() + .mergeFrom(other.internalGetSmartHighlighterMatches()); + internalGetMutableCustomHighlighterMatches() + .mergeFrom(other.internalGetCustomHighlighterMatches()); + internalGetMutableIssueMatches().mergeFrom(other.internalGetIssueMatches()); + internalGetMutableIssueMatchesStats().mergeFrom(other.internalGetIssueMatchesStats()); if (other.hasConversationCountTimeSeries()) { mergeConversationCountTimeSeries(other.getConversationCountTimeSeries()); } @@ -3252,7 +3821,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3261,40 +3832,54 @@ public Builder mergeFrom( } 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 averageDurationBuilder_ != null || 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. */ 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.
@@ -3316,6 +3901,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.
@@ -3323,8 +3910,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();
         onChanged();
@@ -3335,6 +3921,8 @@ public Builder setAverageDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3346,7 +3934,9 @@ public Builder mergeAverageDuration(com.google.protobuf.Duration value) {
       if (averageDurationBuilder_ == null) {
         if (averageDuration_ != null) {
           averageDuration_ =
-            com.google.protobuf.Duration.newBuilder(averageDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(averageDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           averageDuration_ = value;
         }
@@ -3358,6 +3948,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.
@@ -3377,6 +3969,8 @@ public Builder clearAverageDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3385,11 +3979,13 @@ public Builder clearAverageDuration() {
      * .google.protobuf.Duration average_duration = 1;
      */
     public com.google.protobuf.Duration.Builder getAverageDurationBuilder() {
-      
+
       onChanged();
       return getAverageDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The average duration of all conversations. The average is calculated using
      * only conversations that have a time duration.
@@ -3401,11 +3997,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.
@@ -3414,26 +4013,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 @@ -3441,42 +4046,51 @@ 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; onChanged(); return this; } /** + * + * *
      * The average number of turns per conversation.
      * 
* * int32 average_turn_count = 2; + * * @return This builder for chaining. */ public Builder clearAverageTurnCount() { - + averageTurnCount_ = 0; onChanged(); return this; } - private int conversationCount_ ; + private int conversationCount_; /** + * + * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; + * * @return The conversationCount. */ @java.lang.Override @@ -3484,51 +4098,61 @@ 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; onChanged(); return this; } /** + * + * *
      * The total number of conversations.
      * 
* * int32 conversation_count = 3; + * * @return This builder for chaining. */ public Builder clearConversationCount() { - + conversationCount_ = 0; onChanged(); return this; } - 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_; } + private com.google.protobuf.MapField - internalGetMutableSmartHighlighterMatches() { - onChanged();; + internalGetMutableSmartHighlighterMatches() { + onChanged(); + ; 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(); @@ -3540,6 +4164,8 @@ 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.
@@ -3547,22 +4173,22 @@ 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.
@@ -3571,11 +4197,12 @@ public java.util.Map getSmartHighlighterMat
      * map<string, int32> smart_highlighter_matches = 4;
      */
     @java.lang.Override
-
     public java.util.Map getSmartHighlighterMatchesMap() {
       return internalGetSmartHighlighterMatches().getMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3584,16 +4211,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.
@@ -3602,10 +4230,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)) {
@@ -3615,11 +4243,12 @@ public int getSmartHighlighterMatchesOrThrow(
     }
 
     public Builder clearSmartHighlighterMatches() {
-      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.
@@ -3627,23 +4256,21 @@ 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() {
       return internalGetMutableSmartHighlighterMatches().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3651,16 +4278,17 @@ 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);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each smart highlighter display name with its respective
      * number of matches in the set of conversations.
@@ -3668,30 +4296,32 @@ public Builder putSmartHighlighterMatches(
      *
      * map<string, int32> smart_highlighter_matches = 4;
      */
-
     public Builder putAllSmartHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableSmartHighlighterMatches().getMutableMap()
-          .putAll(values);
+      internalGetMutableSmartHighlighterMatches().getMutableMap().putAll(values);
       return this;
     }
 
-    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_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableCustomHighlighterMatches() {
-      onChanged();;
+        internalGetMutableCustomHighlighterMatches() {
+      onChanged();
+      ;
       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();
@@ -3703,6 +4333,8 @@ 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.
@@ -3710,22 +4342,22 @@ 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.
@@ -3734,11 +4366,12 @@ public java.util.Map getCustomHighlighterMa
      * map<string, int32> custom_highlighter_matches = 5;
      */
     @java.lang.Override
-
     public java.util.Map getCustomHighlighterMatchesMap() {
       return internalGetCustomHighlighterMatches().getMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3747,16 +4380,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.
@@ -3765,10 +4399,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)) {
@@ -3778,11 +4412,12 @@ public int getCustomHighlighterMatchesOrThrow(
     }
 
     public Builder clearCustomHighlighterMatches() {
-      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.
@@ -3790,23 +4425,21 @@ 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() {
       return internalGetMutableCustomHighlighterMatches().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3814,16 +4447,17 @@ 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);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each custom highlighter resource name with its respective
      * number of matches in the set of conversations.
@@ -3831,41 +4465,44 @@ public Builder putCustomHighlighterMatches(
      *
      * map<string, int32> custom_highlighter_matches = 5;
      */
-
     public Builder putAllCustomHighlighterMatches(
         java.util.Map values) {
-      internalGetMutableCustomHighlighterMatches().getMutableMap()
-          .putAll(values);
+      internalGetMutableCustomHighlighterMatches().getMutableMap().putAll(values);
       return this;
     }
 
-    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_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableIssueMatches() {
-      onChanged();;
+        internalGetMutableIssueMatches() {
+      onChanged();
+      ;
       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();
       }
       return issueMatches_;
     }
-    @java.lang.Deprecated 
+
+    @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:
@@ -3875,22 +4512,23 @@ public int getIssueMatchesCount() {
      *
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
-    @java.lang.Deprecated 
+    @java.lang.Deprecated
     @java.lang.Override
-    public boolean containsIssueMatches(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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:
@@ -3901,11 +4539,13 @@ public java.util.Map getIssueMatches() {
      * map<string, int32> issue_matches = 6 [deprecated = true];
      */
     @java.lang.Override
-    @java.lang.Deprecated 
+    @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:
@@ -3916,16 +4556,17 @@ 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:
@@ -3936,24 +4577,26 @@ public int getIssueMatchesOrDefault(
      * 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 
+
+    @java.lang.Deprecated
     public Builder clearIssueMatches() {
-      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:
@@ -3963,23 +4606,22 @@ 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() {
       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:
@@ -3989,16 +4631,18 @@ public Builder removeIssueMatches(
      *
      * 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);
       return this;
     }
     /**
+     *
+     *
      * 
      * A map associating each issue resource name with its respective number of
      * matches in the set of conversations. Key has the format:
@@ -4008,30 +4652,38 @@ public Builder removeIssueMatches(
      *
      * 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);
       return this;
     }
 
     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_;
     }
-    private com.google.protobuf.MapField
-    internalGetMutableIssueMatchesStats() {
-      onChanged();;
+
+    private com.google.protobuf.MapField<
+            java.lang.String,
+            com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats>
+        internalGetMutableIssueMatchesStats() {
+      onChanged();
+      ;
       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();
@@ -4043,78 +4695,105 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueMatchesStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueMatchesStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueMatchesStatsOrDefault( + java.lang.String key, + 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(); } @@ -4122,113 +4801,148 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } public Builder clearIssueMatchesStats() { - 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 - getMutableIssueMatchesStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getMutableIssueMatchesStats() { 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 (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableIssueMatchesStats().getMutableMap() - .put(key, value); + internalGetMutableIssueMatchesStats().getMutableMap().put(key, value); 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); 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 conversationCountTimeSeriesBuilder_ != null || 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. */ - 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(); @@ -4242,15 +4956,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(); onChanged(); @@ -4261,18 +4980,26 @@ 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 (conversationCountTimeSeries_ != null) { conversationCountTimeSeries_ = - com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries.newBuilder(conversationCountTimeSeries_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.CalculateStatsResponse.TimeSeries + .newBuilder(conversationCountTimeSeries_) + .mergeFrom(value) + .buildPartial(); } else { conversationCountTimeSeries_ = value; } @@ -4284,12 +5011,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() { if (conversationCountTimeSeriesBuilder_ == null) { @@ -4303,58 +5034,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() { + 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); } @@ -4364,30 +5115,32 @@ 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 { - return new CalculateStatsResponse(input, extensionRegistry); - } - }; + 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 { + return new CalculateStatsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4399,9 +5152,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java index 2093c6c8..fe7ed431 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CalculateStatsResponseOrBuilder.java +++ b/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,11 +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.
@@ -112,11 +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.
@@ -126,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.
@@ -133,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.
@@ -149,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.
@@ -159,11 +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.
@@ -171,11 +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:
@@ -185,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:
@@ -196,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:
@@ -214,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:
@@ -226,11 +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:
@@ -240,103 +276,139 @@ int getIssueMatchesOrDefault(
    *
    * 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java index bf0ff36b..ebaa4b54 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java @@ -1,39 +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; /** + * + * *
  * 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; } + private CallAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,142 +68,187 @@ private CallAnnotation( case 0: done = true; break; - case 8: { - - channelTag_ = input.readInt32(); - break; - } - case 34: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (annotationStartBoundary_ != null) { - subBuilder = annotationStartBoundary_.toBuilder(); - } - annotationStartBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationStartBoundary_); - annotationStartBoundary_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (annotationEndBoundary_ != null) { - subBuilder = annotationEndBoundary_.toBuilder(); - } - annotationEndBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(annotationEndBoundary_); - annotationEndBoundary_ = subBuilder.buildPartial(); - } - - break; - } - case 82: { - com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; - if (dataCase_ == 10) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; - } - case 90: { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (dataCase_ == 11) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SentimentData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 11; - break; - } - case 98: { - com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; - if (dataCase_ == 12) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); + case 8: + { + channelTag_ = input.readInt32(); + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); - data_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (annotationStartBoundary_ != null) { + subBuilder = annotationStartBoundary_.toBuilder(); + } + annotationStartBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationStartBoundary_); + annotationStartBoundary_ = subBuilder.buildPartial(); + } + + break; } - dataCase_ = 12; - break; - } - case 106: { - com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; - if (dataCase_ == 13) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); + case 42: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (annotationEndBoundary_ != null) { + subBuilder = annotationEndBoundary_.toBuilder(); + } + annotationEndBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(annotationEndBoundary_); + annotationEndBoundary_ = subBuilder.buildPartial(); + } + + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.HoldData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); - data_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.contactcenterinsights.v1.InterruptionData.Builder subBuilder = null; + if (dataCase_ == 10) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.InterruptionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.InterruptionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.InterruptionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; } - dataCase_ = 13; - break; - } - case 122: { - com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; - if (dataCase_ == 15) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_).toBuilder(); + case 90: + { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (dataCase_ == 11) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SentimentData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.SentimentData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 11; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); - data_ = subBuilder.buildPartial(); + case 98: + { + com.google.cloud.contactcenterinsights.v1.SilenceData.Builder subBuilder = null; + if (dataCase_ == 12) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SilenceData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SilenceData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SilenceData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 12; + break; } - dataCase_ = 15; - break; - } - case 130: { - com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; - if (dataCase_ == 16) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); + case 106: + { + com.google.cloud.contactcenterinsights.v1.HoldData.Builder subBuilder = null; + if (dataCase_ == 13) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.HoldData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.HoldData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.HoldData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 13; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); - data_ = subBuilder.buildPartial(); + case 122: + { + com.google.cloud.contactcenterinsights.v1.EntityMentionData.Builder subBuilder = null; + if (dataCase_ == 15) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.EntityMentionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.EntityMentionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 15; + break; } - dataCase_ = 16; - break; - } - case 138: { - com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; - if (dataCase_ == 17) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); + case 130: + { + com.google.cloud.contactcenterinsights.v1.IntentMatchData.Builder subBuilder = null; + if (dataCase_ == 16) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IntentMatchData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.IntentMatchData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 16; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); - data_ = subBuilder.buildPartial(); + case 138: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.Builder subBuilder = null; + if (dataCase_ == 17) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 17; + break; } - dataCase_ = 17; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -195,30 +256,34 @@ private CallAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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), @@ -229,6 +294,7 @@ public enum DataCase PHRASE_MATCH_DATA(17), DATA_NOT_SET(0); private final int value; + private DataCase(int value) { this.value = value; } @@ -244,35 +310,46 @@ 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 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 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 @@ -280,21 +357,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.
    * 
@@ -302,20 +384,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 @@ -323,21 +409,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.
    * 
@@ -345,20 +436,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 @@ -366,21 +461,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.
    * 
@@ -390,18 +490,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 @@ -409,21 +512,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.
    * 
@@ -433,18 +541,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 @@ -452,21 +563,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.
    * 
@@ -474,20 +590,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 @@ -495,21 +615,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.
    * 
@@ -517,20 +642,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 @@ -538,21 +667,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.
    * 
@@ -560,9 +694,10 @@ 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(); } @@ -570,12 +705,15 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhr public static final int CHANNEL_TAG_FIELD_NUMBER = 1; 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 @@ -586,11 +724,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 @@ -598,37 +740,51 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationStartBoundaryOrBuilder() { return getAnnotationStartBoundary(); } 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,30 +792,41 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getAnnotationEndBoundaryOrBuilder() { return getAnnotationEndBoundary(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -671,8 +838,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_); } @@ -713,44 +879,50 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -760,54 +932,45 @@ 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 0: default: @@ -871,117 +1034,127 @@ 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() @@ -989,16 +1162,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1022,9 +1194,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 @@ -1043,7 +1215,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); + com.google.cloud.contactcenterinsights.v1.CallAnnotation result = + new com.google.cloud.contactcenterinsights.v1.CallAnnotation(this); if (dataCase_ == 10) { if (interruptionDataBuilder_ == null) { result.data_ = data_; @@ -1113,38 +1286,39 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation 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.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; @@ -1152,7 +1326,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()); } @@ -1163,37 +1338,45 @@ 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 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 DATA_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1214,7 +1397,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CallAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1223,12 +1407,12 @@ public Builder mergeFrom( } 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() { @@ -1238,15 +1422,20 @@ public Builder clearData() { return this; } - 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 @@ -1254,11 +1443,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 @@ -1276,13 +1468,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(); @@ -1296,6 +1491,8 @@ public Builder setInterruptionData(com.google.cloud.contactcenterinsights.v1.Int return this; } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1314,18 +1511,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; } @@ -1341,6 +1546,8 @@ public Builder mergeInterruptionData(com.google.cloud.contactcenterinsights.v1.I return this; } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1364,16 +1571,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.
      * 
@@ -1381,7 +1593,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 { @@ -1392,6 +1605,8 @@ public com.google.cloud.contactcenterinsights.v1.InterruptionDataOrBuilder getIn } } /** + * + * *
      * Data specifying an interruption.
      * 
@@ -1399,32 +1614,44 @@ 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()); data_ = null; } dataCase_ = 10; - onChanged();; + onChanged(); + ; return interruptionDataBuilder_; } 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 @@ -1432,11 +1659,14 @@ public boolean hasSentimentData() { return dataCase_ == 11; } /** + * + * *
      * Data specifying sentiment.
      * 
* * .google.cloud.contactcenterinsights.v1.SentimentData sentiment_data = 11; + * * @return The sentimentData. */ @java.lang.Override @@ -1454,6 +1684,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData getSentimentData( } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1474,6 +1706,8 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1492,18 +1726,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; } @@ -1519,6 +1760,8 @@ public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.Sent return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1542,16 +1785,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.
      * 
@@ -1559,7 +1807,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 { @@ -1570,6 +1819,8 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -1577,32 +1828,44 @@ 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()); data_ = null; } dataCase_ = 11; - onChanged();; + onChanged(); + ; return sentimentDataBuilder_; } 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 @@ -1610,11 +1873,14 @@ public boolean hasSilenceData() { return dataCase_ == 12; } /** + * + * *
      * Data specifying silence.
      * 
* * .google.cloud.contactcenterinsights.v1.SilenceData silence_data = 12; + * * @return The silenceData. */ @java.lang.Override @@ -1632,6 +1898,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData getSilenceData() { } } /** + * + * *
      * Data specifying silence.
      * 
@@ -1652,6 +1920,8 @@ public Builder setSilenceData(com.google.cloud.contactcenterinsights.v1.SilenceD return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1670,6 +1940,8 @@ public Builder setSilenceData( return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1678,10 +1950,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; } @@ -1697,6 +1973,8 @@ public Builder mergeSilenceData(com.google.cloud.contactcenterinsights.v1.Silenc return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1720,6 +1998,8 @@ public Builder clearSilenceData() { return this; } /** + * + * *
      * Data specifying silence.
      * 
@@ -1730,6 +2010,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceData.Builder getSilenceD return getSilenceDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying silence.
      * 
@@ -1737,7 +2019,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 { @@ -1748,6 +2031,8 @@ public com.google.cloud.contactcenterinsights.v1.SilenceDataOrBuilder getSilence } } /** + * + * *
      * Data specifying silence.
      * 
@@ -1755,32 +2040,44 @@ 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()); data_ = null; } dataCase_ = 12; - onChanged();; + onChanged(); + ; return silenceDataBuilder_; } 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 @@ -1788,11 +2085,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 @@ -1810,6 +2110,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldData getHoldData() { } } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1830,6 +2132,8 @@ public Builder setHoldData(com.google.cloud.contactcenterinsights.v1.HoldData va return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1848,6 +2152,8 @@ public Builder setHoldData( return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1856,10 +2162,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; } @@ -1875,6 +2184,8 @@ public Builder mergeHoldData(com.google.cloud.contactcenterinsights.v1.HoldData return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1898,6 +2209,8 @@ public Builder clearHoldData() { return this; } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1908,6 +2221,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldData.Builder getHoldDataBui return getHoldDataFieldBuilder().getBuilder(); } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1926,6 +2241,8 @@ public com.google.cloud.contactcenterinsights.v1.HoldDataOrBuilder getHoldDataOr } } /** + * + * *
      * Data specifying a hold.
      * 
@@ -1933,32 +2250,45 @@ 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()); data_ = null; } dataCase_ = 13; - onChanged();; + onChanged(); + ; return holdDataBuilder_; } 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 @@ -1966,11 +2296,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 @@ -1988,13 +2322,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(); @@ -2008,11 +2346,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) { @@ -2026,18 +2367,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; } @@ -2053,11 +2403,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) { @@ -2076,24 +2429,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 { @@ -2104,39 +2465,54 @@ 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()); data_ = null; } dataCase_ = 15; - onChanged();; + onChanged(); + ; return entityMentionDataBuilder_; } 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 @@ -2144,11 +2520,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 @@ -2166,13 +2545,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(); @@ -2186,6 +2568,8 @@ public Builder setIntentMatchData(com.google.cloud.contactcenterinsights.v1.Inte return this; } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2204,18 +2588,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; } @@ -2231,6 +2622,8 @@ public Builder mergeIntentMatchData(com.google.cloud.contactcenterinsights.v1.In return this; } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2254,16 +2647,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.
      * 
@@ -2271,7 +2669,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 { @@ -2282,6 +2681,8 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchDataOrBuilder getInt } } /** + * + * *
      * Data specifying an intent match.
      * 
@@ -2289,32 +2690,44 @@ 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()); data_ = null; } dataCase_ = 16; - onChanged();; + onChanged(); + ; return intentMatchDataBuilder_; } 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 @@ -2322,11 +2735,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 @@ -2344,13 +2760,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(); @@ -2364,6 +2783,8 @@ public Builder setPhraseMatchData(com.google.cloud.contactcenterinsights.v1.Phra return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2382,18 +2803,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; } @@ -2409,6 +2837,8 @@ public Builder mergePhraseMatchData(com.google.cloud.contactcenterinsights.v1.Ph return this; } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2432,16 +2862,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.
      * 
@@ -2449,7 +2884,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 { @@ -2460,6 +2896,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhr } } /** + * + * *
      * Data specifying a phrase match.
      * 
@@ -2467,32 +2905,41 @@ 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()); data_ = null; } dataCase_ = 17; - onChanged();; + onChanged(); + ; return phraseMatchDataBuilder_; } - 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 @@ -2500,32 +2947,38 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -2533,41 +2986,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 annotationStartBoundaryBuilder_ != null || 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. */ - 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(); @@ -2581,11 +3055,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) { @@ -2599,17 +3077,25 @@ 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 (annotationStartBoundary_ != null) { annotationStartBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationStartBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( + annotationStartBoundary_) + .mergeFrom(value) + .buildPartial(); } else { annotationStartBoundary_ = value; } @@ -2621,11 +3107,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() { if (annotationStartBoundaryBuilder_ == null) { @@ -2639,48 +3129,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() { + 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_; @@ -2688,41 +3196,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 annotationEndBoundaryBuilder_ != null || 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. */ 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(); @@ -2736,11 +3261,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) { @@ -2754,17 +3282,24 @@ 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 (annotationEndBoundary_ != null) { annotationEndBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(annotationEndBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( + annotationEndBoundary_) + .mergeFrom(value) + .buildPartial(); } else { annotationEndBoundary_ = value; } @@ -2776,11 +3311,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() { if (annotationEndBoundaryBuilder_ == null) { @@ -2794,55 +3332,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() { + 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); } @@ -2852,12 +3405,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(); } @@ -2866,16 +3419,16 @@ 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 { - return new CallAnnotation(input, extensionRegistry); - } - }; + 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 { + return new CallAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2890,6 +3443,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CallAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java index 865ef46a..d584c2a6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java +++ b/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,69 +271,96 @@ public interface CallAnnotationOrBuilder extends com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder(); /** + * + * *
    * 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java new file mode 100644 index 00000000..862e719f --- /dev/null +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java @@ -0,0 +1,1213 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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_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_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\"\333\001\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\"\277\001\n\031CreateConversationRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022N\n\014conversation\030\002 \001(" + + "\01323.google.cloud.contactcenterinsights.v" + + "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003" + + " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par" + + "ent\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.contactcenterinsights.v" + + "1.ConversationView\"\200\001\n\031ListConversations" + + "Response\022J\n\rconversations\030\001 \003(\01323.google" + + ".cloud.contactcenterinsights.v1.Conversa" + + "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon" + + "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1" + + "contactcenterinsights.googleapis.com/Con" + + "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c" + + "ontactcenterinsights.v1.ConversationView" + + "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver" + + "sation\030\001 \001(\01323.google.cloud.contactcente" + + "rinsights.v1.ConversationB\003\340A\002\022/\n\013update" + + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" + + "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001" + + "(\tB9\340A\002\372A3\n1contactcenterinsights.google" + + "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n" + + "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9" + + "\340A\002\372A3\n1contactcenterinsights.googleapis" + + ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go" + + "ogle.cloud.contactcenterinsights.v1.Anal" + + "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par" + + "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights" + + ".googleapis.com/Conversation\022\021\n\tpage_siz" + + "e\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.contactcenterinsigh" + + "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"" + + "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002" + + "\372A/\n-contactcenterinsights.googleapis.co" + + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n" + + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights" + + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig" + + "htsDataRequest\022u\n\025big_query_destination\030" + + "\002 \001(\0132T.google.cloud.contactcenterinsigh" + + "ts.v1.ExportInsightsDataRequest.BigQuery" + + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l" + + "ocations.googleapis.com/Location\022\016\n\006filt" + + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo" + + "sition\030\005 \001(\0162Q.google.cloud.contactcente" + + "rinsights.v1.ExportInsightsDataRequest.W" + + "riteDisposition\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\035W" + + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_" + + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat" + + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr" + + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g" + + "oogle.cloud.contactcenterinsights.v1.Exp" + + "ortInsightsDataRequest\022*\n\016partial_errors" + + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi" + + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq" + + "uest\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.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode" + + "lMetadata\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\022O\n\007re" + + "quest\030\003 \001(\0132>.google.cloud.contactcenter" + + "insights.v1.CreateIssueModelRequest\"\227\001\n\027" + + "UpdateIssueModelRequest\022K\n\013issue_model\030\001" + + " \001(\01321.google.cloud.contactcenterinsight" + + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss" + + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\"b\n\027Li" + + "stIssueModelsResponse\022G\n\014issue_models\030\001 " + + "\003(\01321.google.cloud.contactcenterinsights" + + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E" + + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig" + + "hts.googleapis.com/IssueModel\"`\n\027DeleteI" + + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "contactcenterinsights.googleapis.com/Iss" + + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013" + + "create_time\030\001 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>" + + ".google.cloud.contactcenterinsights.v1.D" + + "eleteIssueModelRequest\"`\n\027DeployIssueMod" + + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact" + + "centerinsights.googleapis.com/IssueModel" + + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI" + + "ssueModelMetadata\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\022O\n\007request\030\003 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.DeployIssueModelRequ" + + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name" + + "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go" + + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue" + + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta" + + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request" + + "\030\003 \001(\0132@.google.cloud.contactcenterinsig" + + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI" + + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta" + + "ctcenterinsights.googleapis.com/Issue\"\\\n" + + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372" + + "A1\n/contactcenterinsights.googleapis.com" + + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss" + + "ues\030\001 \003(\0132,.google.cloud.contactcenterin" + + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@" + + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent" + + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal" + + "culateIssueModelStatsRequest\022L\n\013issue_mo" + + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights" + + ".googleapis.com/IssueModel\"v\n CalculateI" + + "ssueModelStatsResponse\022R\n\rcurrent_stats\030" + + "\004 \001(\0132;.google.cloud.contactcenterinsigh" + + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr" + + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022Q\n\016" + + "phrase_matcher\030\002 \001(\01324.google.cloud.cont" + + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\"" + + "\215\001\n\031ListPhraseMatchersRequest\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_toke" + + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa" + + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132" + + "4.google.cloud.contactcenterinsights.v1." + + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c" + + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB" + + ":\340A\002\372A4\n2contactcenterinsights.googleapi" + + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch" + + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact" + + "centerinsights.googleapis.com/PhraseMatc" + + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph" + + "rase_matcher\030\001 \001(\01324.google.cloud.contac" + + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001" + + "(\tB5\340A\002\372A/\n-contactcenterinsights.google" + + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ" + + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con" + + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren" + + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co" + + "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud." + + "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge" + + "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont" + + "actcenterinsights.googleapis.com/View\"t\n" + + "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A" + + "#\n!locations.googleapis.com/Location\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L" + + "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google" + + ".cloud.contactcenterinsights.v1.View\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ" + + "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact" + + "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021" + + "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n" + + ")contactcenterinsights.googleapis.com/Vi" + + "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V" + + "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345" + + ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve" + + "rsation\022@.google.cloud.contactcenterinsi" + + "ghts.v1.CreateConversationRequest\0323.goog" + + "le.cloud.contactcenterinsights.v1.Conver" + + "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l" + + "ocations/*}/conversations:\014conversation\332" + + "A#parent,conversation,conversation_id\022\374\001" + + "\n\022UpdateConversation\022@.google.cloud.cont" + + "actcenterinsights.v1.UpdateConversationR" + + "equest\0323.google.cloud.contactcenterinsig" + + "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver" + + "sation.name=projects/*/locations/*/conve" + + "rsations/*}:\014conversation\332A\030conversation" + + ",update_mask\022\307\001\n\017GetConversation\022=.googl" + + "e.cloud.contactcenterinsights.v1.GetConv" + + "ersationRequest\0323.google.cloud.contactce" + + "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g" + + "oogle.cloud.contactcenterinsights.v1.Lis" + + "tConversationsRequest\032@.google.cloud.con" + + "tactcenterinsights.v1.ListConversationsR" + + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/" + + "locations/*}/conversations\332A\006parent\022\260\001\n\022" + + "DeleteConversation\022@.google.cloud.contac" + + "tcenterinsights.v1.DeleteConversationReq" + + "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v" + + "1/{name=projects/*/locations/*/conversat" + + "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog" + + "le.cloud.contactcenterinsights.v1.Create" + + "AnalysisRequest\032\035.google.longrunning.Ope" + + "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c" + + "loud.contactcenterinsights.v1.CreateIssu" + + "eModelRequest\032\035.google.longrunning.Opera" + + "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo" + + "cations/*}/issueModels:\013issue_model\332A\022pa" + + "rent,issue_model\312A&\n\nIssueModel\022\030CreateI" + + "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>" + + ".google.cloud.contactcenterinsights.v1.U" + + "pdateIssueModelRequest\0321.google.cloud.co" + + "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002" + + "J2;/v1/{issue_model.name=projects/*/loca" + + "tions/*/issueModels/*}:\013issue_model\332A\027is" + + "sue_model,update_mask\022\277\001\n\rGetIssueModel\022" + + ";.google.cloud.contactcenterinsights.v1." + + "GetIssueModelRequest\0321.google.cloud.cont" + + "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022" + + "//v1/{name=projects/*/locations/*/issueM" + + "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go" + + "ogle.cloud.contactcenterinsights.v1.List" + + "IssueModelsRequest\032>.google.cloud.contac" + + "tcenterinsights.v1.ListIssueModelsRespon" + + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat" + + "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI" + + "ssueModel\022>.google.cloud.contactcenterin" + + "sights.v1.DeleteIssueModelRequest\032\035.goog" + + "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n" + + "ame=projects/*/locations/*/issueModels/*" + + "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele" + + "teIssueModelMetadata\022\362\001\n\020DeployIssueMode" + + "l\022>.google.cloud.contactcenterinsights.v" + + "1.DeployIssueModelRequest\032\035.google.longr" + + "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj" + + "ects/*/locations/*/issueModels/*}:deploy" + + ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022" + + "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs" + + "sueModel\022@.google.cloud.contactcenterins" + + "ights.v1.UndeployIssueModelRequest\032\035.goo" + + "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/" + + "{name=projects/*/locations/*/issueModels" + + "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue" + + "ModelResponse\022\032UndeployIssueModelMetadat" + + "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen" + + "terinsights.v1.GetIssueRequest\032,.google." + + "cloud.contactcenterinsights.v1.Issue\"G\202\323" + + "\344\223\002:\0228/v1/{name=projects/*/locations/*/i" + + "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs" + + "sues\0228.google.cloud.contactcenterinsight" + + "s.v1.ListIssuesRequest\0329.google.cloud.co" + + "ntactcenterinsights.v1.ListIssuesRespons" + + "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati" + + "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n" + + "\013UpdateIssue\0229.google.cloud.contactcente" + + "rinsights.v1.UpdateIssueRequest\032,.google" + + ".cloud.contactcenterinsights.v1.Issue\"a\202" + + "\323\344\223\002G2>/v1/{issue.name=projects/*/locati" + + "ons/*/issueModels/*/issues/*}:\005issue\332A\021i" + + "ssue,update_mask\022\222\002\n\030CalculateIssueModel" + + "Stats\022F.google.cloud.contactcenterinsigh" + + "ts.v1.CalculateIssueModelStatsRequest\032G." + + "google.cloud.contactcenterinsights.v1.Ca" + + "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O" + + "/v1/{issue_model=projects/*/locations/*/" + + "issueModels/*}:calculateIssueModelStats\332" + + "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A." + + "google.cloud.contactcenterinsights.v1.Cr" + + "eatePhraseMatcherRequest\0324.google.cloud." + + "contactcenterinsights.v1.PhraseMatcher\"b" + + "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations" + + "/*}/phraseMatchers:\016phrase_matcher\332A\025par" + + "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022" + + ">.google.cloud.contactcenterinsights.v1." + + "GetPhraseMatcherRequest\0324.google.cloud.c" + + "ontactcenterinsights.v1.PhraseMatcher\"A\202" + + "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/" + + "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM" + + "atchers\022@.google.cloud.contactcenterinsi" + + "ghts.v1.ListPhraseMatchersRequest\032A.goog" + + "le.cloud.contactcenterinsights.v1.ListPh" + + "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren" + + "t=projects/*/locations/*}/phraseMatchers" + + "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog" + + "le.cloud.contactcenterinsights.v1.Delete" + + "PhraseMatcherRequest\032\026.google.protobuf.E" + + "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat" + + "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda" + + "tePhraseMatcher\022A.google.cloud.contactce" + + "nterinsights.v1.UpdatePhraseMatcherReque" + + "st\0324.google.cloud.contactcenterinsights." + + "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma" + + "tcher.name=projects/*/locations/*/phrase" + + "Matchers/*}:\016phrase_matcher\332A\032phrase_mat" + + "cher,update_mask\022\344\001\n\016CalculateStats\022<.go" + + "ogle.cloud.contactcenterinsights.v1.Calc" + + "ulateStatsRequest\032=.google.cloud.contact" + + "centerinsights.v1.CalculateStatsResponse" + + "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat" + + "ions/*}/conversations:calculateStats\332A\010l" + + "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c" + + "ontactcenterinsights.v1.GetSettingsReque" + + "st\032/.google.cloud.contactcenterinsights." + + "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/" + + "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat" + + "eSettings\022<.google.cloud.contactcenterin" + + "sights.v1.UpdateSettingsRequest\032/.google" + + ".cloud.contactcenterinsights.v1.Settings" + + "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/" + + "locations/*/settings}:\010settings\332A\024settin" + + "gs,update_mask\022\272\001\n\nCreateView\0228.google.c" + + "loud.contactcenterinsights.v1.CreateView" + + "Request\032+.google.cloud.contactcenterinsi" + + "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec" + + "ts/*/locations/*}/views:\004view\332A\013parent,v" + + "iew\022\247\001\n\007GetView\0225.google.cloud.contactce" + + "nterinsights.v1.GetViewRequest\032+.google." + + "cloud.contactcenterinsights.v1.View\"8\202\323\344" + + "\223\002+\022)/v1/{name=projects/*/locations/*/vi" + + "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo" + + "ud.contactcenterinsights.v1.ListViewsReq" + + "uest\0328.google.cloud.contactcenterinsight" + + "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par" + + "ent=projects/*/locations/*}/views\332A\006pare" + + "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact" + + "centerinsights.v1.UpdateViewRequest\032+.go" + + "ogle.cloud.contactcenterinsights.v1.View", + "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca" + + "tions/*/views/*}:\004view\332A\020view,update_mas" + + "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc" + + "enterinsights.v1.DeleteViewRequest\032\026.goo" + + "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr" + + "ojects/*/locations/*/views/*}\332A\004name\032X\312A" + + "$contactcenterinsights.googleapis.com\322A." + + "https://www.googleapis.com/auth/cloud-pl" + + "atformB\240\002\n)com.google.cloud.contactcente" + + "rinsights.v1B\032ContactCenterInsightsProto" + + "P\001ZZgoogle.golang.org/genproto/googleapi" + + "s/cloud/contactcenterinsights/v1;contact" + + "centerinsights\252\002%Google.Cloud.ContactCen" + + "terInsights.V1\312\002%Google\\Cloud\\ContactCen" + + "terInsights\\V1\352\002(Google::Cloud::ContactC" + + "enterInsights::V1b\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", + }); + 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_CreateAnalysisRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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_ExportInsightsDataRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + 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(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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_CalculateIssueModelStatsRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + 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(36); + 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(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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(42); + 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(43); + 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(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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(49); + 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(50); + 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java index 1ea5782f..22af8dc9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Conversation.java +++ b/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,16 +48,15 @@ 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; } + private Conversation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -59,216 +76,265 @@ private Conversation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = null; - if (dataSource_ != null) { - subBuilder = dataSource_.toBuilder(); - } - dataSource_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataSource_); - dataSource_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder subBuilder = + null; + if (dataSource_ != null) { + subBuilder = dataSource_.toBuilder(); + } + dataSource_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataSource_); + dataSource_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - agentId_ = s; - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder subBuilder = null; - if (metadataCase_ == 7) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_).toBuilder(); + break; } - metadata_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) metadata_); - metadata_ = subBuilder.buildPartial(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + agentId_ = s; + break; } - metadataCase_ = 7; - break; - } - case 66: { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = null; - if (transcript_ != null) { - subBuilder = transcript_.toBuilder(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - transcript_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(transcript_); - transcript_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder + subBuilder = null; + if (metadataCase_ == 7) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) + metadata_) + .toBuilder(); + } + metadata_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) + metadata_); + metadata_ = subBuilder.buildPartial(); + } + metadataCase_ = 7; + break; } + case 66: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Builder subBuilder = + null; + if (transcript_ != null) { + subBuilder = transcript_.toBuilder(); + } + transcript_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transcript_); + transcript_ = subBuilder.buildPartial(); + } - break; - } - case 72: { - int rawValue = input.readEnum(); - - medium_ = rawValue; - break; - } - case 82: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (duration_ != null) { - subBuilder = duration_.toBuilder(); - } - duration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(duration_); - duration_ = subBuilder.buildPartial(); + break; } + case 72: + { + int rawValue = input.readEnum(); - break; - } - case 88: { + medium_ = rawValue; + break; + } + case 82: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (duration_ != null) { + subBuilder = duration_.toBuilder(); + } + duration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(duration_); + duration_ = subBuilder.buildPartial(); + } - turnCount_ = input.readInt32(); - break; - } - case 98: { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (latestAnalysis_ != null) { - subBuilder = latestAnalysis_.toBuilder(); + break; } - latestAnalysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(latestAnalysis_); - latestAnalysis_ = subBuilder.buildPartial(); + case 88: + { + turnCount_ = input.readInt32(); + break; } + case 98: + { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (latestAnalysis_ != null) { + subBuilder = latestAnalysis_.toBuilder(); + } + latestAnalysis_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(latestAnalysis_); + latestAnalysis_ = subBuilder.buildPartial(); + } - break; - } - case 106: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - runtimeAnnotations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + break; } - runtimeAnnotations_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), extensionRegistry)); - break; - } - case 114: { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } - case 122: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationCase_ == 15) { - subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); + case 106: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + runtimeAnnotations_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation>(); + mutable_bitField0_ |= 0x00000002; + } + runtimeAnnotations_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation.parser(), + extensionRegistry)); + break; } - expiration_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); - expiration_ = subBuilder.buildPartial(); + case 114: + { + java.lang.String s = input.readStringRequireUtf8(); + + languageCode_ = s; + break; } - expirationCase_ = 15; - break; - } - case 130: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (expirationCase_ == 16) { - subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); + case 122: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationCase_ == 15) { + subBuilder = ((com.google.protobuf.Timestamp) expiration_).toBuilder(); + } + expiration_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Timestamp) expiration_); + expiration_ = subBuilder.buildPartial(); + } + expirationCase_ = 15; + break; } - expiration_ = - input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); - expiration_ = subBuilder.buildPartial(); + case 130: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (expirationCase_ == 16) { + subBuilder = ((com.google.protobuf.Duration) expiration_).toBuilder(); + } + expiration_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.protobuf.Duration) expiration_); + expiration_ = subBuilder.buildPartial(); + } + expirationCase_ = 16; + break; } - expirationCase_ = 16; - break; - } - case 138: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); + case 138: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } + + break; } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + case 146: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + dialogflowIntents_ = + com.google.protobuf.MapField.newMapField( + DialogflowIntentsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + dialogflowIntents__ = + input.readMessage( + DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + dialogflowIntents_ + .getMutableMap() + .put(dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); + break; } + case 170: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 146: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - dialogflowIntents_ = com.google.protobuf.MapField.newMapField( - DialogflowIntentsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + obfuscatedUserId_ = s; + break; } - com.google.protobuf.MapEntry - dialogflowIntents__ = input.readMessage( - DialogflowIntentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - dialogflowIntents_.getMutableMap().put( - dialogflowIntents__.getKey(), dialogflowIntents__.getValue()); - break; - } - case 170: { - java.lang.String s = input.readStringRequireUtf8(); - - obfuscatedUserId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -276,8 +342,7 @@ private Conversation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { runtimeAnnotations_ = java.util.Collections.unmodifiableList(runtimeAnnotations_); @@ -286,43 +351,48 @@ private Conversation( makeExtensionsImmutable(); } } - 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.
      * 
@@ -331,6 +401,8 @@ public enum Medium */ MEDIUM_UNSPECIFIED(0), /** + * + * *
      * The format for conversations that took place over the phone.
      * 
@@ -339,6 +411,8 @@ public enum Medium */ PHONE_CALL(1), /** + * + * *
      * The format for conversations that took place over chat.
      * 
@@ -350,6 +424,8 @@ public enum Medium ; /** + * + * *
      * Default value, if unspecified will default to PHONE_CALL.
      * 
@@ -358,6 +434,8 @@ public enum Medium */ public static final int MEDIUM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The format for conversations that took place over the phone.
      * 
@@ -366,6 +444,8 @@ public enum Medium */ public static final int PHONE_CALL_VALUE = 1; /** + * + * *
      * The format for conversations that took place over chat.
      * 
@@ -374,7 +454,6 @@ public enum Medium */ public static final int CHAT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -399,49 +478,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; @@ -458,61 +539,69 @@ 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; } + private CallMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -531,23 +620,23 @@ private CallMetadata( case 0: done = true; break; - case 8: { - - customerChannel_ = input.readInt32(); - break; - } - case 16: { - - agentChannel_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + customerChannel_ = input.readInt32(); + break; + } + case 16: + { + agentChannel_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,34 +644,39 @@ private CallMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * The audio channel that contains the customer.
      * 
* * int32 customer_channel = 1; + * * @return The customerChannel. */ @java.lang.Override @@ -593,11 +687,14 @@ public int getCustomerChannel() { public static final int AGENT_CHANNEL_FIELD_NUMBER = 2; private int agentChannel_; /** + * + * *
      * The audio channel that contains the agent.
      * 
* * int32 agent_channel = 2; + * * @return The agentChannel. */ @java.lang.Override @@ -606,6 +703,7 @@ public int getAgentChannel() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,8 +715,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_); } @@ -635,12 +732,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -650,17 +745,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,87 +776,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 @@ -772,44 +874,49 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -821,14 +928,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 @@ -842,7 +951,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata result = + new com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata(this); result.customerChannel_ = customerChannel_; result.agentChannel_ = agentChannel_; onBuilt(); @@ -853,46 +963,53 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata build 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()); } @@ -918,7 +1035,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -928,13 +1047,16 @@ public Builder mergeFrom( return this; } - private int customerChannel_ ; + private int customerChannel_; /** + * + * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; + * * @return The customerChannel. */ @java.lang.Override @@ -942,42 +1064,51 @@ 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; onChanged(); return this; } /** + * + * *
        * The audio channel that contains the customer.
        * 
* * int32 customer_channel = 1; + * * @return This builder for chaining. */ public Builder clearCustomerChannel() { - + customerChannel_ = 0; onChanged(); 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 @@ -985,34 +1116,41 @@ 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; onChanged(); return this; } /** + * + * *
        * The audio channel that contains the agent.
        * 
* * int32 agent_channel = 2; + * * @return This builder for chaining. */ public Builder clearAgentChannel() { - + agentChannel_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1025,30 +1163,32 @@ 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 { - return new CallMetadata(input, extensionRegistry); - } - }; + 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 { + return new CallMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,92 +1200,120 @@ 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; } + private Transcript( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1165,22 +1333,29 @@ private Transcript( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transcriptSegments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transcriptSegments_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment>(); + mutable_bitField0_ |= 0x00000001; + } + transcriptSegments_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.parser(), + extensionRegistry)); + break; } - transcriptSegments_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1188,8 +1363,7 @@ private Transcript( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { transcriptSegments_ = java.util.Collections.unmodifiableList(transcriptSegments_); @@ -1198,42 +1372,54 @@ private Transcript( makeExtensionsImmutable(); } } - 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.
        * 
@@ -1243,81 +1429,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.
@@ -1325,10 +1548,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.
@@ -1336,12 +1562,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
@@ -1350,83 +1578,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.
        * 
@@ -1436,21 +1706,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(); @@ -1459,16 +1733,15 @@ 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; } + private TranscriptSegment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1488,96 +1761,124 @@ private TranscriptSegment( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - text_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + text_ = s; + break; } - words_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.parser(), extensionRegistry)); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } - case 40: { - - channelTag_ = input.readInt32(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (messageTime_ != null) { - subBuilder = messageTime_.toBuilder(); + case 21: + { + confidence_ = input.readFloat(); + break; } - messageTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(messageTime_); - messageTime_ = subBuilder.buildPartial(); + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + words_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo>(); + mutable_bitField0_ |= 0x00000001; + } + words_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo.parser(), + extensionRegistry)); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 74: { - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder subBuilder = null; - if (segmentParticipant_ != null) { - subBuilder = segmentParticipant_.toBuilder(); + languageCode_ = s; + break; } - segmentParticipant_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ConversationParticipant.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(segmentParticipant_); - segmentParticipant_ = subBuilder.buildPartial(); + case 40: + { + channelTag_ = input.readInt32(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (messageTime_ != null) { + subBuilder = messageTime_.toBuilder(); + } + messageTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(messageTime_); + messageTime_ = subBuilder.buildPartial(); + } - break; - } - case 82: { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.Builder subBuilder = null; - if (dialogflowSegmentMetadata_ != null) { - subBuilder = dialogflowSegmentMetadata_.toBuilder(); - } - dialogflowSegmentMetadata_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dialogflowSegmentMetadata_); - dialogflowSegmentMetadata_ = subBuilder.buildPartial(); + break; } + case 74: + { + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Builder + subBuilder = null; + if (segmentParticipant_ != null) { + subBuilder = segmentParticipant_.toBuilder(); + } + segmentParticipant_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ConversationParticipant + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(segmentParticipant_); + segmentParticipant_ = subBuilder.buildPartial(); + } - break; - } - case 90: { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentiment_ != null) { - subBuilder = sentiment_.toBuilder(); + break; } - sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentiment_); - sentiment_ = subBuilder.buildPartial(); + case 82: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.Builder + subBuilder = null; + if (dialogflowSegmentMetadata_ != null) { + subBuilder = dialogflowSegmentMetadata_.toBuilder(); + } + dialogflowSegmentMetadata_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dialogflowSegmentMetadata_); + dialogflowSegmentMetadata_ = subBuilder.buildPartial(); + } + + break; } + case 90: + { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentiment_ != null) { + subBuilder = sentiment_.toBuilder(); + } + sentiment_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentiment_); + sentiment_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1585,8 +1886,8 @@ private TranscriptSegment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { words_ = java.util.Collections.unmodifiableList(words_); @@ -1595,44 +1896,58 @@ private TranscriptSegment( makeExtensionsImmutable(); } } - 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.
@@ -1643,26 +1958,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.
@@ -1673,68 +1996,79 @@ 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; } + private WordInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1753,50 +2087,55 @@ private WordInfo( case 0: done = true; break; - case 10: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (startOffset_ != null) { - subBuilder = startOffset_.toBuilder(); + case 10: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (startOffset_ != null) { + subBuilder = startOffset_.toBuilder(); + } + startOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startOffset_); + startOffset_ = subBuilder.buildPartial(); + } + + break; } - startOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startOffset_); - startOffset_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (endOffset_ != null) { + subBuilder = endOffset_.toBuilder(); + } + endOffset_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOffset_); + endOffset_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (endOffset_ != null) { - subBuilder = endOffset_.toBuilder(); + word_ = s; + break; } - endOffset_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endOffset_); - endOffset_ = subBuilder.buildPartial(); + case 37: + { + confidence_ = input.readFloat(); + break; } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - word_ = s; - break; - } - case 37: { - - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1804,35 +2143,43 @@ private WordInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -1840,19 +2187,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.
@@ -1868,12 +2222,15 @@ public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder() {
         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 @@ -1881,19 +2238,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.
@@ -1909,11 +2273,14 @@ public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder() {
         public static final int WORD_FIELD_NUMBER = 3;
         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 @@ -1922,29 +2289,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 { @@ -1955,12 +2322,15 @@ public java.lang.String getWord() { public static final int CONFIDENCE_FIELD_NUMBER = 4; 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 @@ -1969,6 +2339,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1981,7 +2352,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()); } @@ -2004,19 +2375,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2026,28 +2394,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2070,95 +2442,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) + unknownFields.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 @@ -2168,44 +2570,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2229,19 +2640,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); } @@ -2249,8 +2667,14 @@ 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); + 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 (startOffsetBuilder_ == null) { result.startOffset_ = startOffset_; } else { @@ -2271,46 +2695,60 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr 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()); } @@ -2339,11 +2777,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .WordInfo + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2355,36 +2798,49 @@ public Builder mergeFrom( 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 startOffsetBuilder_ != null || 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. */ 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.
@@ -2406,6 +2862,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.
@@ -2413,8 +2871,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();
               onChanged();
@@ -2425,6 +2882,8 @@ public Builder setStartOffset(
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2436,7 +2895,9 @@ public Builder mergeStartOffset(com.google.protobuf.Duration value) {
             if (startOffsetBuilder_ == null) {
               if (startOffset_ != null) {
                 startOffset_ =
-                  com.google.protobuf.Duration.newBuilder(startOffset_).mergeFrom(value).buildPartial();
+                    com.google.protobuf.Duration.newBuilder(startOffset_)
+                        .mergeFrom(value)
+                        .buildPartial();
               } else {
                 startOffset_ = value;
               }
@@ -2448,6 +2909,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.
@@ -2467,6 +2930,8 @@ public Builder clearStartOffset() {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2475,11 +2940,13 @@ public Builder clearStartOffset() {
            * .google.protobuf.Duration start_offset = 1;
            */
           public com.google.protobuf.Duration.Builder getStartOffsetBuilder() {
-            
+
             onChanged();
             return getStartOffsetFieldBuilder().getBuilder();
           }
           /**
+           *
+           *
            * 
            * Time offset of the start of this word relative to the beginning of
            * the total conversation.
@@ -2491,11 +2958,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.
@@ -2504,14 +2974,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_;
@@ -2519,36 +2992,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 endOffsetBuilder_ != null || 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. */ 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.
@@ -2570,6 +3056,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.
@@ -2577,8 +3065,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();
               onChanged();
@@ -2589,6 +3076,8 @@ public Builder setEndOffset(
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2600,7 +3089,9 @@ public Builder mergeEndOffset(com.google.protobuf.Duration value) {
             if (endOffsetBuilder_ == null) {
               if (endOffset_ != null) {
                 endOffset_ =
-                  com.google.protobuf.Duration.newBuilder(endOffset_).mergeFrom(value).buildPartial();
+                    com.google.protobuf.Duration.newBuilder(endOffset_)
+                        .mergeFrom(value)
+                        .buildPartial();
               } else {
                 endOffset_ = value;
               }
@@ -2612,6 +3103,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.
@@ -2631,6 +3124,8 @@ public Builder clearEndOffset() {
             return this;
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2639,11 +3134,13 @@ public Builder clearEndOffset() {
            * .google.protobuf.Duration end_offset = 2;
            */
           public com.google.protobuf.Duration.Builder getEndOffsetBuilder() {
-            
+
             onChanged();
             return getEndOffsetFieldBuilder().getBuilder();
           }
           /**
+           *
+           *
            * 
            * Time offset of the end of this word relative to the beginning of the
            * total conversation.
@@ -2655,11 +3152,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.
@@ -2668,14 +3168,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_;
@@ -2683,18 +3186,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; @@ -2703,20 +3208,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 { @@ -2724,67 +3230,77 @@ 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) { + public Builder setWord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + word_ = value; onChanged(); return this; } /** + * + * *
            * The word itself. Includes punctuation marks that surround the word.
            * 
* * string word = 3; + * * @return This builder for chaining. */ public Builder clearWord() { - + word_ = getDefaultInstance().getWord(); onChanged(); 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) { + public Builder setWordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + word_ = value; onChanged(); 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 @@ -2792,36 +3308,43 @@ 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; 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() { - + confidence_ = 0F; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2834,30 +3357,36 @@ 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 { - return new WordInfo(input, extensionRegistry); - } - }; + 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 { + return new WordInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2869,58 +3398,67 @@ 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; } + private DialogflowSegmentMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2939,18 +3477,18 @@ private DialogflowSegmentMetadata( case 0: done = true; break; - case 8: { - - smartReplyAllowlistCovered_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + smartReplyAllowlistCovered_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2958,35 +3496,43 @@ private DialogflowSegmentMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
          * 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 @@ -2995,6 +3541,7 @@ public boolean getSmartReplyAllowlistCovered() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3007,7 +3554,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_); } @@ -3021,8 +3568,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3032,15 +3580,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3053,95 +3609,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) + unknownFields.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 @@ -3151,44 +3739,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3198,19 +3795,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); } @@ -3218,8 +3822,14 @@ 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); + 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); result.smartReplyAllowlistCovered_ = smartReplyAllowlistCovered_; onBuilt(); return result; @@ -3229,46 +3839,60 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr 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()); } @@ -3287,11 +3911,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadata + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3301,14 +3930,17 @@ public Builder mergeFrom( return this; } - 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 @@ -3316,36 +3948,43 @@ 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; 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() { - + smartReplyAllowlistCovered_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3358,30 +3997,36 @@ 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 { - return new DialogflowSegmentMetadata(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSegmentMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3393,20 +4038,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 @@ -3414,18 +4063,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.
        * 
@@ -3440,11 +4096,14 @@ public com.google.protobuf.TimestampOrBuilder getMessageTimeOrBuilder() { public static final int TEXT_FIELD_NUMBER = 1; private volatile java.lang.Object text_; /** + * + * *
        * The text of this segment.
        * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -3453,29 +4112,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 { @@ -3486,12 +4145,15 @@ public java.lang.String getText() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -3500,68 +4162,102 @@ public float getConfidence() { } public static final int WORDS_FIELD_NUMBER = 3; - 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; 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.
@@ -3569,6 +4265,7 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr
        * 
* * string language_code = 4; + * * @return The languageCode. */ @java.lang.Override @@ -3577,14 +4274,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.
@@ -3592,16 +4290,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 { @@ -3612,6 +4309,8 @@ public java.lang.String getLanguageCode() { public static final int CHANNEL_TAG_FIELD_NUMBER = 5; private int channelTag_; /** + * + * *
        * For conversations derived from multi-channel audio, this is the channel
        * number corresponding to the audio from that channel. For
@@ -3620,6 +4319,7 @@ public java.lang.String getLanguageCode() {
        * 
* * int32 channel_tag = 5; + * * @return The channelTag. */ @java.lang.Override @@ -3630,11 +4330,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 @@ -3642,37 +4347,57 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationParticipantOrBuilder + getSegmentParticipantOrBuilder() { return getSegmentParticipant(); } 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 @@ -3680,37 +4405,56 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + .DialogflowSegmentMetadataOrBuilder + getDialogflowSegmentMetadataOrBuilder() { return getDialogflowSegmentMetadata(); } 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 @@ -3718,18 +4462,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.
        * 
@@ -3737,11 +4488,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentOrBuilder() { return getSentiment(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3753,8 +4506,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_); } @@ -3795,35 +4547,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3833,43 +4581,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3889,8 +4633,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(); @@ -3916,88 +4659,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 @@ -4007,45 +4778,55 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWordsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4091,19 +4872,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); } @@ -4111,8 +4896,12 @@ 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); int from_bitField0_ = bitField0_; if (messageTimeBuilder_ == null) { result.messageTime_ = messageTime_; @@ -4155,46 +4944,58 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.Transcr 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()); } @@ -4223,9 +5024,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation. wordsBuilder_ = null; words_ = other.words_; bitField0_ = (bitField0_ & ~0x00000001); - wordsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWordsFieldBuilder() : null; + wordsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWordsFieldBuilder() + : null; } else { wordsBuilder_.addAllMessages(other.words_); } @@ -4262,11 +5064,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4275,38 +5081,52 @@ public Builder mergeFrom( } 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 messageTimeBuilder_ != null || messageTime_ != null; } /** + * + * *
          * 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.
          * 
@@ -4327,14 +5147,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(); onChanged(); @@ -4345,6 +5166,8 @@ public Builder setMessageTime( return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4355,7 +5178,9 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { if (messageTimeBuilder_ == null) { if (messageTime_ != null) { messageTime_ = - com.google.protobuf.Timestamp.newBuilder(messageTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(messageTime_) + .mergeFrom(value) + .buildPartial(); } else { messageTime_ = value; } @@ -4367,6 +5192,8 @@ public Builder mergeMessageTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4385,6 +5212,8 @@ public Builder clearMessageTime() { return this; } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4392,11 +5221,13 @@ public Builder clearMessageTime() { * .google.protobuf.Timestamp message_time = 6; */ public com.google.protobuf.Timestamp.Builder getMessageTimeBuilder() { - + onChanged(); return getMessageTimeFieldBuilder().getBuilder(); } /** + * + * *
          * The time that the message occurred, if provided.
          * 
@@ -4407,11 +5238,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.
          * 
@@ -4419,14 +5253,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_; @@ -4434,18 +5271,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; @@ -4454,20 +5293,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 { @@ -4475,67 +5315,77 @@ 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) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
          * The text of this segment.
          * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); 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) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); 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 @@ -4543,57 +5393,82 @@ 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; 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() { - + confidence_ = 0F; onChanged(); 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_ & 0x00000001) != 0)) { - words_ = new java.util.ArrayList(words_); + words_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.WordInfo>(words_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -4601,11 +5476,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) { @@ -4615,13 +5494,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 { @@ -4629,14 +5514,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(); @@ -4650,14 +5542,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()); @@ -4668,13 +5567,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(); @@ -4688,14 +5594,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(); @@ -4709,14 +5622,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()); @@ -4727,14 +5646,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()); @@ -4745,18 +5671,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); @@ -4764,11 +5697,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) { @@ -4781,11 +5718,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) { @@ -4798,39 +5739,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 { @@ -4838,49 +5797,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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); words_ = null; } return wordsBuilder_; @@ -4888,6 +5878,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.
@@ -4895,13 +5887,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; @@ -4910,6 +5902,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.
@@ -4917,15 +5911,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 { @@ -4933,6 +5926,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.
@@ -4940,20 +5935,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) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4961,15 +5958,18 @@ public Builder setLanguageCode(
          * 
* * string language_code = 4; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); return this; } /** + * + * *
          * The language code of this segment as a
          * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
@@ -4977,23 +5977,25 @@ 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) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); 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
@@ -5002,6 +6004,7 @@ public Builder setLanguageCodeBytes(
          * 
* * int32 channel_tag = 5; + * * @return The channelTag. */ @java.lang.Override @@ -5009,6 +6012,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
@@ -5017,16 +6022,19 @@ 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; onChanged(); return this; } /** + * + * *
          * For conversations derived from multi-channel audio, this is the channel
          * number corresponding to the audio from that channel. For
@@ -5035,52 +6043,76 @@ public Builder setChannelTag(int value) {
          * 
* * int32 channel_tag = 5; + * * @return This builder for chaining. */ public Builder clearChannelTag() { - + channelTag_ = 0; onChanged(); 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 segmentParticipantBuilder_ != null || 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. */ - 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(); @@ -5094,14 +6126,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(); onChanged(); @@ -5112,17 +6149,25 @@ 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 (segmentParticipant_ != null) { segmentParticipant_ = - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder(segmentParticipant_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder( + segmentParticipant_) + .mergeFrom(value) + .buildPartial(); } else { segmentParticipant_ = value; } @@ -5134,11 +6179,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() { if (segmentParticipantBuilder_ == null) { @@ -5152,90 +6201,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() { + 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 dialogflowSegmentMetadataBuilder_ != null || 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. */ - 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(); @@ -5249,14 +6347,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(); onChanged(); @@ -5267,17 +6371,28 @@ 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 (dialogflowSegmentMetadata_ != null) { dialogflowSegmentMetadata_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata.newBuilder(dialogflowSegmentMetadata_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript + .TranscriptSegment.DialogflowSegmentMetadata.newBuilder( + dialogflowSegmentMetadata_) + .mergeFrom(value) + .buildPartial(); } else { dialogflowSegmentMetadata_ = value; } @@ -5289,11 +6404,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() { if (dialogflowSegmentMetadataBuilder_ == null) { @@ -5307,48 +6426,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() { + 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_; @@ -5356,34 +6502,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 sentimentBuilder_ != null || sentiment_ != null; } /** + * + * *
          * 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.
          * 
@@ -5404,6 +6563,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5422,17 +6583,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 (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) + .mergeFrom(value) + .buildPartial(); } else { sentiment_ = value; } @@ -5444,6 +6610,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
          * The sentiment for this transcript segment.
          * 
@@ -5462,33 +6630,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() { + 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.
          * 
@@ -5496,18 +6673,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) { @@ -5520,30 +6701,36 @@ 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 { - return new TranscriptSegment(input, extensionRegistry); - } - }; + 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 { + return new TranscriptSegment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5555,73 +6742,103 @@ 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; - 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; @@ -5633,8 +6850,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)); } @@ -5648,8 +6864,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5659,15 +6875,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5689,87 +6905,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 @@ -5779,45 +7003,51 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getTranscriptSegmentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -5831,14 +7061,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 @@ -5852,7 +7084,8 @@ 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); int from_bitField0_ = bitField0_; if (transcriptSegmentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -5871,46 +7104,53 @@ public com.google.cloud.contactcenterinsights.v1.Conversation.Transcript buildPa 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()) { @@ -5929,9 +7169,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_); } @@ -5956,7 +7197,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation.Transcript) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -5965,28 +7208,45 @@ public Builder mergeFrom( } 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 { @@ -5994,11 +7254,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) { @@ -6008,13 +7272,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 { @@ -6022,14 +7291,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(); @@ -6043,14 +7318,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()); @@ -6061,13 +7343,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(); @@ -6081,14 +7369,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(); @@ -6102,14 +7396,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()); @@ -6120,14 +7420,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()); @@ -6138,18 +7445,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); @@ -6157,11 +7471,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) { @@ -6174,11 +7492,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) { @@ -6191,39 +7513,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 { @@ -6231,45 +7571,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(), @@ -6278,6 +7651,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) { @@ -6290,30 +7664,32 @@ 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 { - return new Transcript(input, extensionRegistry); - } - }; + 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 { + return new Transcript(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6325,20 +7701,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; } @@ -6354,31 +7733,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; } @@ -6394,30 +7778,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 @@ -6425,43 +7816,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 @@ -6469,22 +7871,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.
@@ -6495,19 +7902,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 @@ -6515,22 +7925,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.
@@ -6541,7 +7956,7 @@ 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();
   }
@@ -6549,6 +7964,8 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Immutable. The resource name of the conversation.
    * Format:
@@ -6556,6 +7973,7 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -6564,14 +7982,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:
@@ -6579,16 +7998,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 { @@ -6599,11 +8017,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 @@ -6611,18 +8032,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.
    * 
@@ -6630,18 +8058,23 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationDataSourceOrBuilder + getDataSourceOrBuilder() { return getDataSource(); } 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 @@ -6649,11 +8082,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 @@ -6661,11 +8098,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() { @@ -6675,11 +8115,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 @@ -6687,11 +8131,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 @@ -6699,11 +8147,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() { @@ -6713,11 +8164,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 @@ -6725,11 +8179,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 @@ -6737,6 +8194,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which the conversation started.
    * 
@@ -6751,11 +8210,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 14; private volatile java.lang.Object languageCode_; /** + * + * *
    * A user-specified language code for the conversation.
    * 
* * string language_code = 14; + * * @return The languageCode. */ @java.lang.Override @@ -6764,29 +8226,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 { @@ -6797,12 +8259,15 @@ public java.lang.String getLanguageCode() { public static final int AGENT_ID_FIELD_NUMBER = 5; 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 @@ -6811,30 +8276,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 { @@ -6843,24 +8308,23 @@ 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, + ""); } - 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_; } @@ -6869,6 +8333,8 @@ 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.
@@ -6876,22 +8342,22 @@ 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.
@@ -6900,11 +8366,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
   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.
@@ -6913,16 +8380,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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.
@@ -6931,12 +8398,11 @@ public 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();
     }
@@ -6946,11 +8412,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 @@ -6958,64 +8429,95 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Conversation.TranscriptOrBuilder + getTranscriptOrBuilder() { return getTranscript(); } public static final int MEDIUM_FIELD_NUMBER = 9; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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 @@ -7023,11 +8525,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 @@ -7035,11 +8541,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() { @@ -7049,11 +8558,14 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int TURN_COUNT_FIELD_NUMBER = 11; 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 @@ -7064,11 +8576,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 @@ -7076,23 +8593,34 @@ 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() { @@ -7100,86 +8628,119 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getLatestAnal } public static final int RUNTIME_ANNOTATIONS_FIELD_NUMBER = 13; - 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()); } + + 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 - internalGetDialogflowIntents() { + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + internalGetDialogflowIntents() { if (dialogflowIntents_ == null) { return com.google.protobuf.MapField.emptyMapField( DialogflowIntentsDefaultEntryHolder.defaultEntry); @@ -7191,78 +8752,95 @@ 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 com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -7272,11 +8850,14 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI public static final int OBFUSCATED_USER_ID_FIELD_NUMBER = 21; 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 @@ -7285,29 +8866,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 { @@ -7316,6 +8897,7 @@ public java.lang.String getObfuscatedUserId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7327,8 +8909,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_); } @@ -7344,19 +8925,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) { @@ -7383,8 +8963,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, @@ -7405,82 +8984,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_); @@ -7493,70 +9071,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: @@ -7564,12 +9127,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: @@ -7663,143 +9224,151 @@ 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() @@ -7807,17 +9376,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRuntimeAnnotationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -7891,9 +9460,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 @@ -7912,7 +9481,8 @@ 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); int from_bitField0_ = bitField0_; if (metadataCase_ == 7) { if (callMetadataBuilder_ == null) { @@ -7999,38 +9569,39 @@ public com.google.cloud.contactcenterinsights.v1.Conversation 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.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; @@ -8038,7 +9609,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_; onChanged(); @@ -8063,8 +9635,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation agentId_ = other.agentId_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasTranscript()) { mergeTranscript(other.getTranscript()); } @@ -8098,41 +9669,46 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Conversation runtimeAnnotationsBuilder_ = null; runtimeAnnotations_ = other.runtimeAnnotations_; bitField0_ = (bitField0_ & ~0x00000002); - 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()); if (!other.getObfuscatedUserId().isEmpty()) { obfuscatedUserId_ = other.obfuscatedUserId_; 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.unknownFields); onChanged(); @@ -8153,7 +9729,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Conversation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8162,12 +9739,12 @@ public Builder mergeFrom( } 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() { @@ -8179,10 +9756,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() { @@ -8195,13 +9771,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 @@ -8209,11 +9792,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 @@ -8222,22 +9809,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(); @@ -8251,14 +9844,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(); @@ -8269,18 +9866,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; } @@ -8296,11 +9903,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) { @@ -8319,68 +9929,94 @@ 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()); metadata_ = null; } metadataCase_ = 7; - onChanged();; + onChanged(); + ; return callMetadataBuilder_; } 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 @@ -8388,12 +10024,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 @@ -8411,6 +10050,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.
@@ -8432,6 +10073,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.
@@ -8439,8 +10082,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();
@@ -8451,6 +10093,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.
@@ -8460,10 +10104,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;
         }
@@ -8479,6 +10125,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.
@@ -8503,6 +10151,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.
@@ -8514,6 +10164,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.
@@ -8533,6 +10185,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.
@@ -8541,33 +10195,43 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return expireTimeBuilder_;
     }
 
     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 @@ -8575,12 +10239,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 @@ -8598,6 +10265,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.
@@ -8619,6 +10288,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.
@@ -8626,8 +10297,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();
@@ -8638,6 +10308,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.
@@ -8647,10 +10319,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;
         }
@@ -8666,6 +10340,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.
@@ -8690,6 +10366,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.
@@ -8701,6 +10379,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.
@@ -8720,6 +10400,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.
@@ -8728,26 +10410,32 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return ttlBuilder_;
     }
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8755,13 +10443,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; @@ -8770,6 +10458,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8777,15 +10467,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 { @@ -8793,6 +10482,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8800,20 +10491,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8821,15 +10514,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the conversation.
      * Format:
@@ -8837,16 +10533,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -8854,41 +10550,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 dataSourceBuilder_ != null || dataSource_ != null; } /** + * + * *
      * 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(); @@ -8902,6 +10612,8 @@ public Builder setDataSource(com.google.cloud.contactcenterinsights.v1.Conversat return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -8920,17 +10632,23 @@ 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 (dataSource_ != null) { dataSource_ = - com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder(dataSource_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource.newBuilder( + dataSource_) + .mergeFrom(value) + .buildPartial(); } else { dataSource_ = value; } @@ -8942,6 +10660,8 @@ public Builder mergeDataSource(com.google.cloud.contactcenterinsights.v1.Convers return this; } /** + * + * *
      * The source of the audio and transcription for the conversation.
      * 
@@ -8960,33 +10680,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() { + 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.
      * 
@@ -8994,14 +10723,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_; @@ -9009,39 +10741,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 createTimeBuilder_ != null || 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. */ 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) { @@ -9057,14 +10808,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(); onChanged(); @@ -9075,17 +10829,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -9097,11 +10855,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() { if (createTimeBuilder_ == null) { @@ -9115,48 +10877,64 @@ 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() { - + onChanged(); 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_; @@ -9164,39 +10942,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -9212,14 +11009,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(); onChanged(); @@ -9230,17 +11030,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -9252,11 +11056,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() { if (updateTimeBuilder_ == null) { @@ -9270,48 +11078,64 @@ 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() { - + onChanged(); 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_; @@ -9319,24 +11143,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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time at which the conversation started.
      * 
* * .google.protobuf.Timestamp start_time = 17; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -9347,6 +11180,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9367,14 +11202,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(); onChanged(); @@ -9385,6 +11221,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9395,7 +11233,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -9407,6 +11245,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9425,6 +11265,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9432,11 +11274,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 17; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the conversation started.
      * 
@@ -9447,11 +11291,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.
      * 
@@ -9459,14 +11304,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_; @@ -9474,18 +11322,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; @@ -9494,20 +11344,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 { @@ -9515,54 +11366,61 @@ 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) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; onChanged(); return this; } /** + * + * *
      * A user-specified language code for the conversation.
      * 
* * string language_code = 14; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); onChanged(); 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) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -9570,19 +11428,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; @@ -9591,21 +11451,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 { @@ -9613,78 +11474,84 @@ 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) { + public Builder setAgentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + agentId_ = value; 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() { - + agentId_ = getDefaultInstance().getAgentId(); onChanged(); 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) { + public Builder setAgentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + agentId_ = value; onChanged(); 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -9696,6 +11563,8 @@ 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.
@@ -9703,22 +11572,22 @@ 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.
@@ -9727,11 +11596,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     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.
@@ -9740,16 +11610,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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.
@@ -9758,12 +11629,11 @@ public 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();
       }
@@ -9771,11 +11641,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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.
@@ -9783,23 +11654,21 @@ 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() {
       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.
@@ -9807,19 +11676,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       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.
@@ -9827,51 +11697,68 @@ 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);
       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 transcriptBuilder_ != null || 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. */ 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(); @@ -9885,11 +11772,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) { @@ -9903,17 +11794,25 @@ 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 (transcript_ != null) { transcript_ = - com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder(transcript_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.Transcript.newBuilder( + transcript_) + .mergeFrom(value) + .buildPartial(); } else { transcript_ = value; } @@ -9925,11 +11824,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() { if (transcriptBuilder_ == null) { @@ -9943,48 +11846,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() { + 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_; @@ -9992,51 +11913,75 @@ 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. */ public Builder setMediumValue(int value) { - + medium_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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. */ @@ -10044,21 +11989,26 @@ public Builder setMedium(com.google.cloud.contactcenterinsights.v1.Conversation. if (value == null) { throw new NullPointerException(); } - + medium_ = value.getNumber(); onChanged(); 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() { - + medium_ = 0; onChanged(); return this; @@ -10066,24 +12016,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 durationBuilder_ != null || 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. */ public com.google.protobuf.Duration getDuration() { @@ -10094,11 +12055,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) { @@ -10114,14 +12078,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(); onChanged(); @@ -10132,17 +12098,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 (duration_ != null) { duration_ = - com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(duration_).mergeFrom(value).buildPartial(); } else { duration_ = value; } @@ -10154,11 +12123,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() { if (durationBuilder_ == null) { @@ -10172,60 +12144,74 @@ 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() { - + onChanged(); 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 @@ -10233,30 +12219,36 @@ 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; 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() { - + turnCount_ = 0; onChanged(); return this; @@ -10264,39 +12256,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 latestAnalysisBuilder_ != null || 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. */ 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) { @@ -10312,11 +12323,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) { @@ -10330,17 +12345,23 @@ 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 (latestAnalysis_ != null) { latestAnalysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(latestAnalysis_) + .mergeFrom(value) + .buildPartial(); } else { latestAnalysis_ = value; } @@ -10352,11 +12373,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() { if (latestAnalysisBuilder_ == null) { @@ -10370,74 +12395,102 @@ 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() { - + onChanged(); 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_ & 0x00000002) != 0)) { - runtimeAnnotations_ = new java.util.ArrayList(runtimeAnnotations_); + runtimeAnnotations_ = + new java.util.ArrayList( + runtimeAnnotations_); bitField0_ |= 0x00000002; - } + } } 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 { @@ -10445,12 +12498,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) { @@ -10460,14 +12517,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 { @@ -10475,12 +12537,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) { @@ -10497,15 +12563,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()); @@ -10516,14 +12587,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(); @@ -10537,12 +12613,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) { @@ -10559,12 +12639,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) { @@ -10578,15 +12662,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()); @@ -10597,19 +12686,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); @@ -10617,12 +12710,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) { @@ -10635,12 +12732,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) { @@ -10653,42 +12754,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 { @@ -10696,48 +12811,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_ & 0x00000002) != 0), getParentForChildren(), @@ -10748,21 +12885,28 @@ 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 - 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_; } - private com.google.protobuf.MapField - internalGetMutableDialogflowIntents() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + internalGetMutableDialogflowIntents() { + onChanged(); + ; 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(); @@ -10774,78 +12918,97 @@ 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 com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowIntentsOrDefault( java.lang.String key, com.google.cloud.contactcenterinsights.v1.DialogflowIntent defaultValue) { - 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(); 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(); } @@ -10853,87 +13016,97 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDialogflowI } public Builder clearDialogflowIntents() { - 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 - getMutableDialogflowIntents() { + public java.util.Map< + java.lang.String, com.google.cloud.contactcenterinsights.v1.DialogflowIntent> + getMutableDialogflowIntents() { 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableDialogflowIntents().getMutableMap() - .put(key, value); + internalGetMutableDialogflowIntents().getMutableMap().put(key, value); 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); 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; @@ -10942,20 +13115,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 { @@ -10963,61 +13137,68 @@ 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) { + public Builder setObfuscatedUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedUserId_ = value; 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() { - + obfuscatedUserId_ = getDefaultInstance().getObfuscatedUserId(); onChanged(); 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) { + public Builder setObfuscatedUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedUserId_ = 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); } @@ -11027,12 +13208,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(); } @@ -11041,16 +13222,16 @@ 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 { - return new Conversation(input, extensionRegistry); - } - }; + 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 { + return new Conversation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11065,6 +13246,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Conversation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java index 87e56a68..09fe0fa8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSource.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ConversationDataSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,41 +68,51 @@ private ConversationDataSource( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); + case 10: + { + com.google.cloud.contactcenterinsights.v1.GcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.GcsSource) source_).toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } - source_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.GcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.GcsSource) source_); - source_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; + if (sourceCase_ == 3) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 3; + break; } - sourceCase_ = 1; - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.DialogflowSource.Builder subBuilder = null; - if (sourceCase_ == 3) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,35 +120,40 @@ private ConversationDataSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; } @@ -138,30 +169,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 @@ -169,21 +206,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.
    * 
@@ -193,18 +235,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 @@ -212,21 +257,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.
    * 
@@ -234,14 +284,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; @@ -253,8 +305,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_); } @@ -271,12 +322,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,22 +339,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: @@ -335,117 +387,127 @@ 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() @@ -453,16 +515,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -472,13 +533,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(); } @@ -493,7 +555,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationDataSource result = + new com.google.cloud.contactcenterinsights.v1.ConversationDataSource(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -517,58 +580,65 @@ public com.google.cloud.contactcenterinsights.v1.ConversationDataSource buildPar 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.unknownFields); onChanged(); @@ -589,7 +659,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ConversationDataSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,12 +670,12 @@ public Builder mergeFrom( } 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() { @@ -613,15 +685,20 @@ public Builder clearSource() { return this; } - 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 @@ -629,11 +706,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 @@ -651,6 +731,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource getGcsSource() { } } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -671,6 +753,8 @@ public Builder setGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSource return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -689,6 +773,8 @@ public Builder setGcsSource( return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -697,10 +783,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; } @@ -716,6 +806,8 @@ public Builder mergeGcsSource(com.google.cloud.contactcenterinsights.v1.GcsSourc return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -739,6 +831,8 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -749,6 +843,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource.Builder getGcsSourceB return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -767,6 +863,8 @@ public com.google.cloud.contactcenterinsights.v1.GcsSourceOrBuilder getGcsSource } } /** + * + * *
      * A Cloud Storage location specification for the audio and transcript.
      * 
@@ -774,32 +872,44 @@ 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()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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 @@ -807,11 +917,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 @@ -829,13 +942,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(); @@ -849,6 +965,8 @@ public Builder setDialogflowSource(com.google.cloud.contactcenterinsights.v1.Dia return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -867,18 +985,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; } @@ -894,6 +1020,8 @@ public Builder mergeDialogflowSource(com.google.cloud.contactcenterinsights.v1.D return this; } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -917,16 +1045,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.
      * 
@@ -934,7 +1067,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 { @@ -945,6 +1079,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSourceOrBuilder getDi } } /** + * + * *
      * The source when the conversation comes from Dialogflow.
      * 
@@ -952,26 +1088,32 @@ 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()); source_ = null; } sourceCase_ = 3; - onChanged();; + 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); } @@ -981,30 +1123,32 @@ 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 { - return new ConversationDataSource(input, extensionRegistry); - } - }; + 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 { + return new ConversationDataSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,9 +1160,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java index c20823f9..307b4423 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationDataSourceOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java index dffbed5a..bee231d7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentiment.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ConversationLevelSentiment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,35 @@ private ConversationLevelSentiment( case 0: done = true; break; - case 8: { - - channelTag_ = input.readInt32(); - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; - if (sentimentData_ != null) { - subBuilder = sentimentData_.toBuilder(); + case 8: + { + channelTag_ = input.readInt32(); + break; } - sentimentData_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sentimentData_); - sentimentData_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null; + if (sentimentData_ != null) { + subBuilder = sentimentData_.toBuilder(); + } + sentimentData_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sentimentData_); + sentimentData_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,34 +104,39 @@ private ConversationLevelSentiment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * The channel of the audio that the data applies to.
    * 
* * int32 channel_tag = 1; + * * @return The channelTag. */ @java.lang.Override @@ -122,11 +147,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 @@ -134,18 +162,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.
    * 
@@ -153,11 +188,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder + getSentimentDataOrBuilder() { return getSentimentData(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,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 { if (channelTag_ != 0) { output.writeInt32(1, channelTag_); } @@ -187,12 +223,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,19 +236,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -239,134 +272,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,14 +426,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 @@ -403,7 +449,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment result = + new com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment(this); result.channelTag_ = channelTag_; if (sentimentDataBuilder_ == null) { result.sentimentData_ = sentimentData_; @@ -418,46 +465,51 @@ public com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment 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.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()); } @@ -483,7 +535,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,13 +547,16 @@ public Builder mergeFrom( return this; } - 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 @@ -507,30 +564,36 @@ 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; 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() { - + channelTag_ = 0; onChanged(); return this; @@ -538,34 +601,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 sentimentDataBuilder_ != null || sentimentData_ != null; } /** + * + * *
      * 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.
      * 
@@ -586,6 +662,8 @@ public Builder setSentimentData(com.google.cloud.contactcenterinsights.v1.Sentim return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -604,17 +682,22 @@ 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 (sentimentData_ != null) { sentimentData_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentimentData_) + .mergeFrom(value) + .buildPartial(); } else { sentimentData_ = value; } @@ -626,6 +709,8 @@ public Builder mergeSentimentData(com.google.cloud.contactcenterinsights.v1.Sent return this; } /** + * + * *
      * Data specifying sentiment.
      * 
@@ -644,33 +729,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() { + 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.
      * 
@@ -678,21 +772,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); } @@ -702,30 +799,32 @@ 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 { - return new ConversationLevelSentiment(input, extensionRegistry); - } - }; + 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 { + return new ConversationLevelSentiment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -737,9 +836,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java index a845256e..dabb5dd1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationLevelSentimentOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java index 60426fae..b3326779 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationOrBuilder.java +++ b/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.
@@ -313,11 +414,13 @@ boolean containsLabels(
    */
 
   /* 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.
@@ -325,254 +428,346 @@ 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java index 7f9d7d99..37fa86ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java +++ b/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,16 +45,15 @@ 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; } + private ConversationParticipant( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,43 +72,48 @@ private ConversationParticipant( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowParticipant_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + dialogflowParticipant_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - role_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + role_ = rawValue; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - obfuscatedExternalUserId_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 5; - participant_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - participantCase_ = 6; - participant_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + obfuscatedExternalUserId_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 5; + participant_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + participantCase_ = 6; + participant_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,36 +121,41 @@ private ConversationParticipant( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -137,6 +164,8 @@ public enum Role */ ROLE_UNSPECIFIED(0), /** + * + * *
      * Participant is a human agent.
      * 
@@ -145,6 +174,8 @@ public enum Role */ HUMAN_AGENT(1), /** + * + * *
      * Participant is an automated agent.
      * 
@@ -153,6 +184,8 @@ public enum Role */ AUTOMATED_AGENT(2), /** + * + * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -161,6 +194,8 @@ public enum Role */ END_USER(3), /** + * + * *
      * Participant is either a human or automated agent.
      * 
@@ -172,6 +207,8 @@ public enum Role ; /** + * + * *
      * Participant's role is not set.
      * 
@@ -180,6 +217,8 @@ public enum Role */ public static final int ROLE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Participant is a human agent.
      * 
@@ -188,6 +227,8 @@ public enum Role */ public static final int HUMAN_AGENT_VALUE = 1; /** + * + * *
      * Participant is an automated agent.
      * 
@@ -196,6 +237,8 @@ public enum Role */ public static final int AUTOMATED_AGENT_VALUE = 2; /** + * + * *
      * Participant is an end user who conversed with the contact center.
      * 
@@ -204,6 +247,8 @@ public enum Role */ public static final int END_USER_VALUE = 3; /** + * + * *
      * Participant is either a human or automated agent.
      * 
@@ -212,7 +257,6 @@ public enum Role */ public static final int ANY_AGENT_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -237,51 +281,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; @@ -300,13 +348,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; } @@ -322,43 +373,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() { @@ -369,8 +429,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; @@ -379,24 +438,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; } @@ -408,22 +468,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() { @@ -434,8 +500,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; @@ -444,23 +509,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; } @@ -473,6 +539,8 @@ public java.lang.String getUserId() { public static final int DIALOGFLOW_PARTICIPANT_FIELD_NUMBER = 1; private volatile java.lang.Object dialogflowParticipant_; /** + * + * *
    * Deprecated. Use `dialogflow_participant_name` instead.
    * The name of the Dialogflow participant. Format:
@@ -480,24 +548,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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,18 +577,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -527,11 +600,14 @@ public java.lang.String getUserId() { public static final int OBFUSCATED_EXTERNAL_USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object obfuscatedExternalUserId_; /** + * + * *
    * Obfuscated user ID from Dialogflow.
    * 
* * string obfuscated_external_user_id = 3; + * * @return The obfuscatedExternalUserId. */ @java.lang.Override @@ -540,29 +616,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 { @@ -573,31 +649,43 @@ public java.lang.String getObfuscatedExternalUserId() { public static final int ROLE_FIELD_NUMBER = 2; private int role_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRole() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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; @@ -609,12 +697,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_)) { @@ -638,12 +727,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_); @@ -659,27 +750,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: @@ -719,134 +808,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ConversationParticipant.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -862,13 +962,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(); } @@ -883,7 +984,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ConversationParticipant result = + new com.google.cloud.contactcenterinsights.v1.ConversationParticipant(this); if (participantCase_ == 5) { result.participant_ = participant_; } @@ -902,46 +1004,50 @@ public com.google.cloud.contactcenterinsights.v1.ConversationParticipant buildPa 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_; onChanged(); @@ -954,21 +1060,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.unknownFields); onChanged(); @@ -989,7 +1098,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ConversationParticipant) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -998,12 +1109,12 @@ public Builder mergeFrom( } 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() { @@ -1013,14 +1124,17 @@ public Builder clearParticipant() { 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 Whether the dialogflowParticipantName field is set. */ @java.lang.Override @@ -1028,12 +1142,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 @@ -1043,8 +1161,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; @@ -1055,25 +1172,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; } @@ -1083,32 +1202,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) { + public Builder setDialogflowParticipantName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 5; + 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() { @@ -1120,21 +1246,24 @@ 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) { + public Builder setDialogflowParticipantNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 5; participant_ = value; onChanged(); @@ -1142,11 +1271,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 @@ -1154,11 +1286,14 @@ public boolean hasUserId() { return participantCase_ == 6; } /** + * + * *
      * A user-specified ID representing the participant.
      * 
* * string user_id = 6; + * * @return The userId. */ @java.lang.Override @@ -1168,8 +1303,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; @@ -1180,24 +1314,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; } @@ -1207,30 +1342,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) { + public Builder setUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - participantCase_ = 6; + 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() { @@ -1242,20 +1382,22 @@ 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) { + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); participantCase_ = 6; participant_ = value; onChanged(); @@ -1264,6 +1406,8 @@ public Builder setUserIdBytes( private java.lang.Object dialogflowParticipant_ = ""; /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1271,15 +1415,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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; @@ -1288,6 +1434,8 @@ public Builder setUserIdBytes( } } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1295,17 +1443,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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 { @@ -1313,6 +1462,8 @@ public Builder setUserIdBytes( } } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1320,22 +1471,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDialogflowParticipant( - java.lang.String value) { + @java.lang.Deprecated + public Builder setDialogflowParticipant(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowParticipant_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1343,17 +1498,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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearDialogflowParticipant() { - + @java.lang.Deprecated + public Builder clearDialogflowParticipant() { + dialogflowParticipant_ = getDefaultInstance().getDialogflowParticipant(); onChanged(); return this; } /** + * + * *
      * Deprecated. Use `dialogflow_participant_name` instead.
      * The name of the Dialogflow participant. Format:
@@ -1361,18 +1521,20 @@ 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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @param value The bytes for dialogflowParticipant to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDialogflowParticipantBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setDialogflowParticipantBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowParticipant_ = value; onChanged(); return this; @@ -1380,18 +1542,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; @@ -1400,20 +1564,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 { @@ -1421,54 +1586,61 @@ 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) { + public Builder setObfuscatedExternalUserId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + obfuscatedExternalUserId_ = value; onChanged(); return this; } /** + * + * *
      * Obfuscated user ID from Dialogflow.
      * 
* * string obfuscated_external_user_id = 3; + * * @return This builder for chaining. */ public Builder clearObfuscatedExternalUserId() { - + obfuscatedExternalUserId_ = getDefaultInstance().getObfuscatedExternalUserId(); onChanged(); 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) { + public Builder setObfuscatedExternalUserIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + obfuscatedExternalUserId_ = value; onChanged(); return this; @@ -1476,80 +1648,100 @@ 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. */ public Builder setRoleValue(int value) { - + role_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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(); } - + role_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The role of the participant.
      * 
* * .google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role = 2; + * * @return This builder for chaining. */ public Builder clearRole() { - + role_ = 0; 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); } @@ -1559,30 +1751,32 @@ 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 { - return new ConversationParticipant(input, extensionRegistry); - } - }; + 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 { + return new ConversationParticipant(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1594,9 +1788,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java index 8ad1af13..a62a540b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java +++ b/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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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=1083 + * + * @deprecated + * google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is + * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083 * @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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java index 8810cca3..e49a1b0d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationView.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java index 3db5e931..839045ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java @@ -1,40 +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; /** + * + * *
  * 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; } + private CreateAnalysisOperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,45 +71,50 @@ private CreateAnalysisOperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - conversation_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + conversation_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +122,41 @@ private CreateAnalysisOperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -134,11 +164,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 @@ -146,11 +180,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() { @@ -160,11 +197,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 @@ -172,11 +213,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 @@ -184,11 +229,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() { @@ -198,11 +246,16 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int CONVERSATION_FIELD_NUMBER = 3; 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 @@ -211,29 +264,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 { @@ -242,6 +297,7 @@ public java.lang.String getConversation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,8 +309,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()); } @@ -274,12 +329,10 @@ 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_); @@ -292,25 +345,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,134 +390,146 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -487,19 +551,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); } @@ -507,8 +574,10 @@ 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); + public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata + buildPartial() { + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata result = + new com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -528,46 +597,52 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata 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()); } @@ -593,11 +668,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,39 +687,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -657,14 +754,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(); onChanged(); @@ -675,17 +775,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -697,11 +801,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() { if (createTimeBuilder_ == null) { @@ -715,48 +823,64 @@ 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() { - + onChanged(); 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_; @@ -764,24 +888,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -792,11 +927,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) { @@ -812,14 +950,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(); onChanged(); @@ -830,17 +970,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -852,11 +995,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() { if (endTimeBuilder_ == null) { @@ -870,48 +1016,59 @@ 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() { - + onChanged(); 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_; @@ -919,18 +1076,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; @@ -939,20 +1100,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 { @@ -960,61 +1124,74 @@ 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) { + public Builder setConversation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversation_ = value; 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() { - + conversation_ = getDefaultInstance().getConversation(); 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) = { ... } + * + * * @param value The bytes for conversation to set. * @return This builder for chaining. */ - public Builder setConversationBytes( - com.google.protobuf.ByteString value) { + public Builder setConversationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversation_ = 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); } @@ -1024,30 +1201,33 @@ 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 { - return new CreateAnalysisOperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisOperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,9 +1239,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java index febfbb08..2d0102b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java @@ -1,83 +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 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java index 6058d1e6..684fa132 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequest.java @@ -1,40 +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 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; } + private CreateAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,37 @@ private CreateAnalysisRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; - if (analysis_ != null) { - subBuilder = analysis_.toBuilder(); + parent_ = s; + break; } - analysis_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysis_); - analysis_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.Analysis.Builder subBuilder = null; + if (analysis_ != null) { + subBuilder = analysis_.toBuilder(); + } + analysis_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysis_); + analysis_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +108,41 @@ private CreateAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -122,29 +151,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 { @@ -155,11 +186,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 @@ -167,23 +203,34 @@ 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() { @@ -191,6 +238,7 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysisOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +250,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_); } @@ -223,8 +270,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,117 +316,127 @@ 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() @@ -389,16 +444,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +468,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(); } @@ -435,7 +490,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest(this); result.parent_ = parent_; if (analysisBuilder_ == null) { result.analysis_ = analysis_; @@ -450,46 +506,50 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest buildPart 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_; onChanged(); @@ -516,7 +576,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateAnalysisRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +590,22 @@ public Builder mergeFrom( 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; @@ -548,20 +614,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 { @@ -569,54 +638,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -624,39 +706,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 analysisBuilder_ != null || 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. */ 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) { @@ -672,11 +773,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) { @@ -690,17 +795,23 @@ 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 (analysis_ != null) { analysis_ = - com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Analysis.newBuilder(analysis_) + .mergeFrom(value) + .buildPartial(); } else { analysis_ = value; } @@ -712,11 +823,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() { if (analysisBuilder_ == null) { @@ -730,55 +845,71 @@ 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() { - + onChanged(); 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); } @@ -788,30 +919,32 @@ 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 { - return new CreateAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +956,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..166e25b1 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java index cf84eecf..58b0e0c0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequest.java +++ b/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,16 +44,15 @@ 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; } + private CreateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateConversationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); + } + conversation_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - conversationId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + conversationId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -129,29 +159,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 { @@ -162,11 +194,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 @@ -174,32 +211,46 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { return getConversation(); } public static final int CONVERSATION_ID_FIELD_NUMBER = 3; 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
@@ -209,6 +260,7 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string conversation_id = 3; + * * @return The conversationId. */ @java.lang.Override @@ -217,14 +269,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
@@ -234,16 +287,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 { @@ -252,6 +304,7 @@ public java.lang.String getConversationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +316,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_); } @@ -287,8 +339,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_); @@ -301,22 +352,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -342,134 +391,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -487,14 +547,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 @@ -508,7 +570,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateConversationRequest(this); result.parent_ = parent_; if (conversationBuilder_ == null) { result.conversation_ = conversation_; @@ -524,46 +587,51 @@ public com.google.cloud.contactcenterinsights.v1.CreateConversationRequest build 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_; onChanged(); @@ -594,7 +662,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,18 +676,22 @@ public Builder mergeFrom( 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; @@ -626,20 +700,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 { @@ -647,54 +724,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -702,39 +792,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 conversationBuilder_ != null || 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. */ 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) { @@ -750,11 +859,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) { @@ -768,17 +881,23 @@ 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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) + .mergeFrom(value) + .buildPartial(); } else { conversation_ = value; } @@ -790,11 +909,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() { if (conversationBuilder_ == null) { @@ -808,48 +931,65 @@ 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() { - + onChanged(); 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_; @@ -857,6 +997,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
@@ -866,13 +1008,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; @@ -881,6 +1023,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
@@ -890,15 +1034,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 { @@ -906,6 +1049,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
@@ -915,20 +1060,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) { + public Builder setConversationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + conversationId_ = value; 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
@@ -938,15 +1085,18 @@ public Builder setConversationId(
      * 
* * string conversation_id = 3; + * * @return This builder for chaining. */ public Builder clearConversationId() { - + conversationId_ = getDefaultInstance().getConversationId(); 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
@@ -956,23 +1106,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) { + public Builder setConversationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + conversationId_ = 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); } @@ -982,30 +1132,32 @@ 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 { - return new CreateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1017,9 +1169,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java index 62a507c3..665ce99c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateConversationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java index 4d4da2ce..2f01c4e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private CreateIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private CreateIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.Builder subBuilder = + null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private CreateIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1147,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.CreateIssueM return this; } /** + * + * *
      * The original request for creation.
      * 
@@ -996,17 +1167,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder(request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1194,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.CreateIssu return this; } /** + * + * *
      * The original request for creation.
      * 
@@ -1036,33 +1214,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() { + 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.
      * 
@@ -1070,21 +1257,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); } @@ -1094,30 +1284,32 @@ 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 { - return new CreateIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1321,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java index 9497c693..58cbb698 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java index 241a5a09..183a83be 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequest.java @@ -1,40 +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 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; } + private CreateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,37 @@ private CreateIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); + parent_ = s; + break; } - issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); + } + issueModel_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +108,41 @@ private CreateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -122,29 +151,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 { @@ -155,11 +186,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 @@ -167,23 +203,34 @@ 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() { @@ -191,6 +238,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +250,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_); } @@ -223,8 +270,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,134 +316,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,13 +470,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(); } @@ -435,7 +492,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest(this); result.parent_ = parent_; if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; @@ -450,46 +508,50 @@ public com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest buildPa 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_; onChanged(); @@ -516,7 +578,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +592,22 @@ public Builder mergeFrom( 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; @@ -548,20 +616,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 { @@ -569,54 +640,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -624,39 +708,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 issueModelBuilder_ != null || 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. */ 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) { @@ -672,11 +775,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) { @@ -690,17 +797,23 @@ 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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) + .mergeFrom(value) + .buildPartial(); } else { issueModel_ = value; } @@ -712,11 +825,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() { if (issueModelBuilder_ == null) { @@ -730,55 +847,71 @@ 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() { - + onChanged(); 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); } @@ -788,30 +921,32 @@ 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 { - return new CreateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +958,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..6c61b4ce --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java index 4e1667ce..2af079c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private CreatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,37 @@ private CreatePhraseMatcherRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); + parent_ = s; + break; } - phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); + } + phraseMatcher_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +108,33 @@ private CreatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -116,7 +142,10 @@ private CreatePhraseMatcherRequest(
    * `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 @@ -125,14 +154,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.
@@ -140,17 +170,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 { @@ -161,11 +192,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 @@ -173,30 +209,43 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +257,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_); } @@ -229,8 +277,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +287,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,134 +323,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,14 +477,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 @@ -441,7 +500,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest(this); result.parent_ = parent_; if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; @@ -456,46 +516,51 @@ public com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest 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.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_; onChanged(); @@ -522,7 +587,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -534,6 +601,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -541,14 +610,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; @@ -557,6 +628,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -564,16 +637,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 { @@ -581,6 +655,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -588,21 +664,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -610,16 +690,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the phrase matcher. Required. The location to create
      * a phrase matcher for.
@@ -627,17 +712,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -645,39 +732,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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -693,11 +799,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) { @@ -711,17 +821,24 @@ 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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) + .mergeFrom(value) + .buildPartial(); } else { phraseMatcher_ = value; } @@ -733,11 +850,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() { if (phraseMatcherBuilder_ == null) { @@ -751,55 +872,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() { + 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); } @@ -809,30 +948,32 @@ 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 { - return new CreatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new CreatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,9 +985,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java index bfb2e263..49f143f2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreatePhraseMatcherRequestOrBuilder.java +++ b/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.
@@ -15,11 +33,16 @@ public interface CreatePhraseMatcherRequestOrBuilder 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 phrase matcher. Required. The location to create
    * a phrase matcher for.
@@ -27,36 +50,52 @@ public interface CreatePhraseMatcherRequestOrBuilder 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 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java index 3a2a32ab..d953631b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequest.java @@ -1,40 +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; } + private CreateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateViewRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); + parent_ = s; + break; } - view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); + } + view_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,29 +107,33 @@ private CreateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the view. Required. The location to create
    * a view for.
@@ -116,7 +141,10 @@ private CreateViewRequest(
    * `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 @@ -125,14 +153,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.
@@ -140,17 +169,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 { @@ -161,11 +191,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 @@ -173,23 +208,34 @@ 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() { @@ -197,6 +243,7 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +255,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_); } @@ -229,8 +275,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +285,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,117 +321,127 @@ 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() @@ -395,16 +449,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +473,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 @@ -441,7 +494,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); + com.google.cloud.contactcenterinsights.v1.CreateViewRequest result = + new com.google.cloud.contactcenterinsights.v1.CreateViewRequest(this); result.parent_ = parent_; if (viewBuilder_ == null) { result.view_ = view_; @@ -456,38 +510,39 @@ public com.google.cloud.contactcenterinsights.v1.CreateViewRequest 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.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; @@ -495,7 +550,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_; onChanged(); @@ -522,7 +578,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.CreateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -534,6 +591,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -541,14 +600,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; @@ -557,6 +618,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -564,16 +627,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 { @@ -581,6 +645,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -588,21 +654,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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -610,16 +680,21 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the view. Required. The location to create
      * a view for.
@@ -627,17 +702,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -645,39 +722,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 viewBuilder_ != null || 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. */ 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) { @@ -693,14 +789,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(); onChanged(); @@ -711,17 +810,23 @@ 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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) + .mergeFrom(value) + .buildPartial(); } else { view_ = value; } @@ -733,11 +838,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() { if (viewBuilder_ == null) { @@ -751,55 +860,71 @@ 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() { - + onChanged(); 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); } @@ -809,12 +934,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(); } @@ -823,16 +948,16 @@ 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 { - return new CreateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,6 +972,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.CreateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java index a28331f2..cfde3343 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateViewRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java index e8bff5e2..a9438df3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequest.java @@ -1,40 +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 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; } + private DeleteAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteAnalysisRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest buildPart 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_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( 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; @@ -467,20 +515,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 { @@ -488,61 +539,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +616,32 @@ 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 { - return new DeleteAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..8c33f3c2 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java index 382d2f6d..19741311 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequest.java @@ -1,40 +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 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; } + private DeleteConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteConversationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,41 @@ private DeleteConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -114,29 +139,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 { @@ -147,6 +174,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; 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
@@ -154,6 +183,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -162,6 +192,7 @@ public boolean getForce() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -194,8 +224,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,17 +234,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,142 +258,152 @@ 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) + unknownFields.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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +415,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 @@ -398,7 +438,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -409,46 +450,51 @@ public com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest build 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_; onChanged(); @@ -475,7 +521,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,18 +535,22 @@ public Builder mergeFrom( 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; @@ -507,20 +559,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 { @@ -528,61 +583,76 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -590,6 +660,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -597,6 +668,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
@@ -604,16 +677,19 @@ public boolean getForce() {
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; 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
@@ -621,17 +697,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; 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); } @@ -641,30 +718,32 @@ 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 { - return new DeleteConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -676,9 +755,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteConversationRequestOrBuilder.java new file mode 100644 index 00000000..d121cf71 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java index 68f8dac2..a2accb10 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private DeleteIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private DeleteIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.Builder subBuilder = + null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private DeleteIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1147,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssueM return this; } /** + * + * *
      * The original request for deletion.
      * 
@@ -996,17 +1167,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder(request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1194,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeleteIssu return this; } /** + * + * *
      * The original request for deletion.
      * 
@@ -1036,33 +1214,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() { + 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.
      * 
@@ -1070,21 +1257,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); } @@ -1094,30 +1284,32 @@ 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 { - return new DeleteIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1321,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java index 886dce7d..540ef300 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java index b7ecd689..da49a5b2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequest.java @@ -1,40 +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 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; } + private DeleteIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,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(); } @@ -362,7 +401,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest buildPa 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_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( 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; @@ -467,20 +517,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 { @@ -488,61 +541,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +618,32 @@ 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 { - return new DeleteIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..d4812a9a --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java index e06c9a3e..64f5926f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequest.java @@ -1,40 +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 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; } + private DeletePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePhraseMatcherRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeletePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,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 @@ -362,7 +402,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest 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.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_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( 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; @@ -467,20 +519,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 { @@ -488,61 +543,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +620,32 @@ 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 { - return new DeletePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new DeletePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeletePhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..35dd3830 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java index 19aad5f2..ca629fa6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequest.java @@ -1,40 +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 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; } + private DeleteViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteViewRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.DeleteViewRequest result = + new com.google.cloud.contactcenterinsights.v1.DeleteViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeleteViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new DeleteViewRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DeleteViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteViewRequestOrBuilder.java new file mode 100644 index 00000000..9ab179f3 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java index cf51267b..50a143f3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private DeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private DeployIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.Builder subBuilder = + null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private DeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1147,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.DeployIssueM return this; } /** + * + * *
      * The original request for deployment.
      * 
@@ -996,17 +1167,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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder(request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1194,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.DeployIssu return this; } /** + * + * *
      * The original request for deployment.
      * 
@@ -1036,33 +1214,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() { + 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.
      * 
@@ -1070,21 +1257,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); } @@ -1094,30 +1284,32 @@ 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 { - return new DeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1321,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java index aee42989..df5ca21f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java index dc5a301a..831b213f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequest.java @@ -1,40 +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 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; } + private DeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeployIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,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(); } @@ -362,7 +401,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest buildPa 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_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( 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; @@ -467,20 +517,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 { @@ -488,61 +541,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +618,32 @@ 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 { - return new DeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..6fab3448 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java index 6d70c9c8..df079120 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private DeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private DeployIssueModelResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private DeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,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 @@ -297,7 +329,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; } @@ -306,46 +339,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.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DeployIssueModelResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +426,32 @@ 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 { - return new DeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new DeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..d4bc280e --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java index 596a8cac..26e23472 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntent.java +++ b/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,31 +28,31 @@
  *
  * 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;
   }
+
   private DialogflowIntent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DialogflowIntent(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,34 +92,39 @@ private DialogflowIntent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object displayName_;
   /**
+   *
+   *
    * 
    * The human-readable name of the intent.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -110,29 +133,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 { @@ -141,6 +164,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +176,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_); } @@ -177,15 +200,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,96 +228,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.
@@ -302,21 +333,23 @@ 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()
@@ -324,16 +357,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -343,9 +375,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
@@ -364,7 +396,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);
+      com.google.cloud.contactcenterinsights.v1.DialogflowIntent result =
+          new com.google.cloud.contactcenterinsights.v1.DialogflowIntent(this);
       result.displayName_ = displayName_;
       onBuilt();
       return result;
@@ -374,38 +407,39 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowIntent 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.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;
@@ -413,7 +447,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_;
         onChanged();
@@ -437,7 +472,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.DialogflowIntent) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -449,18 +485,20 @@ public Builder mergeFrom(
 
     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; @@ -469,20 +507,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 { @@ -490,61 +529,68 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -554,12 +600,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(); } @@ -568,16 +614,16 @@ 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 { - return new DialogflowIntent(input, extensionRegistry); - } - }; + 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 { + return new DialogflowIntent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +638,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowIntent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowIntentOrBuilder.java new file mode 100644 index 00000000..4a9de6f7 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java index 9d9723e3..7f852e32 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionData.java @@ -1,40 +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; /** + * + * *
  * 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; } + private DialogflowInteractionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DialogflowInteractionData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - dialogflowIntentId_ = s; - break; - } - case 21: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidence_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + dialogflowIntentId_ = s; + break; + } + case 21: + { + confidence_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,35 +96,40 @@ private DialogflowInteractionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -115,30 +138,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 { @@ -149,12 +172,15 @@ public java.lang.String getDialogflowIntentId() { public static final int CONFIDENCE_FIELD_NUMBER = 2; 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 @@ -163,6 +189,7 @@ public float getConfidence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +201,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_); } @@ -195,8 +221,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -206,18 +231,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,142 +256,152 @@ 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) + unknownFields.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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +413,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 @@ -400,7 +436,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData result = + new com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData(this); result.dialogflowIntentId_ = dialogflowIntentId_; result.confidence_ = confidence_; onBuilt(); @@ -411,46 +448,51 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData build 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_; onChanged(); @@ -477,7 +519,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,19 +533,21 @@ public Builder mergeFrom( 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; @@ -510,21 +556,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 { @@ -532,70 +579,80 @@ 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) { + public Builder setDialogflowIntentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowIntentId_ = value; 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() { - + dialogflowIntentId_ = getDefaultInstance().getDialogflowIntentId(); onChanged(); 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) { + public Builder setDialogflowIntentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowIntentId_ = value; onChanged(); 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 @@ -603,39 +660,45 @@ 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; 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() { - + confidence_ = 0F; 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); } @@ -645,30 +708,32 @@ 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 { - return new DialogflowInteractionData(input, extensionRegistry); - } - }; + 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 { + return new DialogflowInteractionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -680,9 +745,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java index 7a5fc37e..d6217d5d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowInteractionDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java index 8a7c0ca7..156fe21a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSource.java +++ b/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,16 +44,15 @@ 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; } + private DialogflowSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DialogflowSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dialogflowConversation_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + dialogflowConversation_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + audioUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private DialogflowSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object dialogflowConversation_; /** + * + * *
    * Output only. The name of the Dialogflow conversation that this conversation
    * resource is derived from. Format:
@@ -110,6 +133,7 @@ private DialogflowSource(
    * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dialogflowConversation. */ @java.lang.Override @@ -118,14 +142,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:
@@ -133,16 +158,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 { @@ -153,12 +177,15 @@ public java.lang.String getDialogflowConversation() { public static final int AUDIO_URI_FIELD_NUMBER = 3; 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 @@ -167,30 +194,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 { @@ -199,6 +226,7 @@ public java.lang.String getAudioUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,8 +238,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_); } @@ -241,17 +268,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -273,117 +299,127 @@ 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() @@ -391,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +447,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 @@ -433,7 +468,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); + com.google.cloud.contactcenterinsights.v1.DialogflowSource result = + new com.google.cloud.contactcenterinsights.v1.DialogflowSource(this); result.dialogflowConversation_ = dialogflowConversation_; result.audioUri_ = audioUri_; onBuilt(); @@ -444,38 +480,39 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowSource 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.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; @@ -483,7 +520,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_; onChanged(); @@ -511,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.DialogflowSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -523,6 +562,8 @@ public Builder mergeFrom( private java.lang.Object dialogflowConversation_ = ""; /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -530,13 +571,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; @@ -545,6 +586,8 @@ public java.lang.String getDialogflowConversation() { } } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -552,15 +595,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 { @@ -568,6 +610,8 @@ public java.lang.String getDialogflowConversation() { } } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -575,20 +619,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) { + public Builder setDialogflowConversation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dialogflowConversation_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -596,15 +642,18 @@ public Builder setDialogflowConversation(
      * 
* * string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDialogflowConversation() { - + dialogflowConversation_ = getDefaultInstance().getDialogflowConversation(); onChanged(); return this; } /** + * + * *
      * Output only. The name of the Dialogflow conversation that this conversation
      * resource is derived from. Format:
@@ -612,16 +661,16 @@ 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) { + public Builder setDialogflowConversationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dialogflowConversation_ = value; onChanged(); return this; @@ -629,19 +678,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; @@ -650,21 +701,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 { @@ -672,64 +724,71 @@ 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) { + public Builder setAudioUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = 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); } @@ -739,12 +798,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(); } @@ -753,16 +812,16 @@ 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 { - return new DialogflowSource(input, extensionRegistry); - } - }; + 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 { + return new DialogflowSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.DialogflowSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java index c3429c3d..8e3dc711 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DialogflowSourceOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java index 8ee57d45..6bb2d94e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Entity.java +++ b/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,16 +46,15 @@ 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;
   }
+
   private Entity(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,56 +74,64 @@ private Entity(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
-
-            type_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              metadata_ = com.google.protobuf.MapField.newMapField(
-                  MetadataDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              displayName_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            metadata__ = input.readMessage(
-                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            metadata_.getMutableMap().put(
-                metadata__.getKey(), metadata__.getValue());
-            break;
-          }
-          case 37: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            salience_ = input.readFloat();
-            break;
-          }
-          case 42: {
-            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-            if (sentiment_ != null) {
-              subBuilder = sentiment_.toBuilder();
+              type_ = rawValue;
+              break;
             }
-            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sentiment_);
-              sentiment_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                metadata_ =
+                    com.google.protobuf.MapField.newMapField(
+                        MetadataDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry metadata__ =
+                  input.readMessage(
+                      MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 37:
+            {
+              salience_ = input.readFloat();
+              break;
+            }
+          case 42:
+            {
+              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+              if (sentiment_ != null) {
+                subBuilder = sentiment_.toBuilder();
+              }
+              sentiment_ =
+                  input.readMessage(
+                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sentiment_);
+                sentiment_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,39 +139,42 @@ private Entity(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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
@@ -156,9 +184,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.
      * 
@@ -167,6 +196,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Person.
      * 
@@ -175,6 +206,8 @@ public enum Type */ PERSON(1), /** + * + * *
      * Location.
      * 
@@ -183,6 +216,8 @@ public enum Type */ LOCATION(2), /** + * + * *
      * Organization.
      * 
@@ -191,6 +226,8 @@ public enum Type */ ORGANIZATION(3), /** + * + * *
      * Event.
      * 
@@ -199,6 +236,8 @@ public enum Type */ EVENT(4), /** + * + * *
      * Artwork.
      * 
@@ -207,6 +246,8 @@ public enum Type */ WORK_OF_ART(5), /** + * + * *
      * Consumer product.
      * 
@@ -215,6 +256,8 @@ public enum Type */ CONSUMER_GOOD(6), /** + * + * *
      * Other types of entities.
      * 
@@ -223,6 +266,8 @@ public enum Type */ OTHER(7), /** + * + * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -239,6 +284,8 @@ public enum Type
      */
     PHONE_NUMBER(9),
     /**
+     *
+     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -259,6 +306,8 @@ public enum Type
      */
     ADDRESS(10),
     /**
+     *
+     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -271,6 +320,8 @@ public enum Type
      */
     DATE(11),
     /**
+     *
+     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -280,6 +331,8 @@ public enum Type
      */
     NUMBER(12),
     /**
+     *
+     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -292,6 +345,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified.
      * 
@@ -300,6 +355,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Person.
      * 
@@ -308,6 +365,8 @@ public enum Type */ public static final int PERSON_VALUE = 1; /** + * + * *
      * Location.
      * 
@@ -316,6 +375,8 @@ public enum Type */ public static final int LOCATION_VALUE = 2; /** + * + * *
      * Organization.
      * 
@@ -324,6 +385,8 @@ public enum Type */ public static final int ORGANIZATION_VALUE = 3; /** + * + * *
      * Event.
      * 
@@ -332,6 +395,8 @@ public enum Type */ public static final int EVENT_VALUE = 4; /** + * + * *
      * Artwork.
      * 
@@ -340,6 +405,8 @@ public enum Type */ public static final int WORK_OF_ART_VALUE = 5; /** + * + * *
      * Consumer product.
      * 
@@ -348,6 +415,8 @@ public enum Type */ public static final int CONSUMER_GOOD_VALUE = 6; /** + * + * *
      * Other types of entities.
      * 
@@ -356,6 +425,8 @@ public enum Type */ public static final int OTHER_VALUE = 7; /** + * + * *
      * Phone number.
      * The metadata lists the phone number (formatted according to local
@@ -372,6 +443,8 @@ public enum Type
      */
     public static final int PHONE_NUMBER_VALUE = 9;
     /**
+     *
+     *
      * 
      * Address.
      * The metadata identifies the street number and locality plus whichever
@@ -392,6 +465,8 @@ public enum Type
      */
     public static final int ADDRESS_VALUE = 10;
     /**
+     *
+     *
      * 
      * Date.
      * The metadata identifies the components of the date:
@@ -404,6 +479,8 @@ public enum Type
      */
     public static final int DATE_VALUE = 11;
     /**
+     *
+     *
      * 
      * Number.
      * The metadata is the number itself.
@@ -413,6 +490,8 @@ public enum Type
      */
     public static final int NUMBER_VALUE = 12;
     /**
+     *
+     *
      * 
      * Price.
      * The metadata identifies the `value` and `currency`.
@@ -422,7 +501,6 @@ public enum Type
      */
     public static final int PRICE_VALUE = 13;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -447,59 +525,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;
@@ -519,11 +607,14 @@ private Type(int value) {
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object displayName_;
   /**
+   *
+   *
    * 
    * The representative name for the entity.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -532,29 +623,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 { @@ -565,49 +656,59 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.Entity.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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, + ""); } - 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_; } @@ -616,6 +717,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Metadata associated with the entity.
    * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -625,22 +728,22 @@ 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`)
@@ -651,11 +754,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   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`)
@@ -666,16 +770,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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`)
@@ -686,12 +791,11 @@ public 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();
     }
@@ -701,6 +805,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int SALIENCE_FIELD_NUMBER = 4;
   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
@@ -710,6 +816,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * float salience = 4; + * * @return The salience. */ @java.lang.Override @@ -720,11 +827,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 @@ -732,18 +842,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.
    * 
@@ -756,6 +873,7 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -767,20 +885,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_); } @@ -799,27 +913,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -829,25 +941,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -869,8 +978,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(); @@ -880,97 +988,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
@@ -979,43 +1094,43 @@ 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()
@@ -1023,16 +1138,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1053,9 +1167,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
@@ -1074,7 +1188,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);
+      com.google.cloud.contactcenterinsights.v1.Entity result =
+          new com.google.cloud.contactcenterinsights.v1.Entity(this);
       int from_bitField0_ = bitField0_;
       result.displayName_ = displayName_;
       result.type_ = type_;
@@ -1094,38 +1209,39 @@ public com.google.cloud.contactcenterinsights.v1.Entity 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.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;
@@ -1133,7 +1249,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_;
         onChanged();
@@ -1141,8 +1258,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());
       if (other.getSalience() != 0F) {
         setSalience(other.getSalience());
       }
@@ -1177,22 +1293,25 @@ public Builder mergeFrom(
       }
       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; @@ -1201,20 +1320,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 { @@ -1222,54 +1342,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The representative name for the entity.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1277,51 +1404,67 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Entity.Type result = com.google.cloud.contactcenterinsights.v1.Entity.Type.valueOf(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.valueOf(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. */ @@ -1329,42 +1472,45 @@ public Builder setType(com.google.cloud.contactcenterinsights.v1.Entity.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The entity type.
      * 
* * .google.cloud.contactcenterinsights.v1.Entity.Type type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -1376,6 +1522,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1385,22 +1533,22 @@ 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`)
@@ -1411,11 +1559,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     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`)
@@ -1426,16 +1575,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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`)
@@ -1446,12 +1596,11 @@ public 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();
       }
@@ -1459,11 +1608,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      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`)
@@ -1473,23 +1623,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1499,19 +1647,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Metadata associated with the entity.
      * For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`)
@@ -1521,16 +1670,15 @@ 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);
       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
@@ -1540,6 +1688,7 @@ public Builder putAllMetadata(
      * 
* * float salience = 4; + * * @return The salience. */ @java.lang.Override @@ -1547,6 +1696,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
@@ -1556,16 +1707,19 @@ public float getSalience() {
      * 
* * float salience = 4; + * * @param value The salience to set. * @return This builder for chaining. */ public Builder setSalience(float value) { - + salience_ = value; 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
@@ -1575,10 +1729,11 @@ public Builder setSalience(float value) {
      * 
* * float salience = 4; + * * @return This builder for chaining. */ public Builder clearSalience() { - + salience_ = 0F; onChanged(); return this; @@ -1586,34 +1741,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 sentimentBuilder_ != null || sentiment_ != null; } /** + * + * *
      * 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.
      * 
@@ -1634,6 +1802,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1652,6 +1822,8 @@ public Builder setSentiment( return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1662,7 +1834,9 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) + .mergeFrom(value) + .buildPartial(); } else { sentiment_ = value; } @@ -1674,6 +1848,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1692,6 +1868,8 @@ public Builder clearSentiment() { return this; } /** + * + * *
      * The aggregate sentiment expressed for this entity in the conversation.
      * 
@@ -1699,26 +1877,32 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 5; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1726,21 +1910,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); } @@ -1750,12 +1937,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(); } @@ -1764,16 +1951,16 @@ 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 { - return new Entity(input, extensionRegistry); - } - }; + 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 { + return new Entity(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1788,6 +1975,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Entity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java index 66b43556..50af599c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionData.java +++ b/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,16 +45,15 @@ 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;
   }
+
   private EntityMentionData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,38 +72,44 @@ private EntityMentionData(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            entityUniqueId_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+              entityUniqueId_ = s;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            type_ = rawValue;
-            break;
-          }
-          case 26: {
-            com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
-            if (sentiment_ != null) {
-              subBuilder = sentiment_.toBuilder();
+              type_ = rawValue;
+              break;
             }
-            sentiment_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.SentimentData.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(sentiment_);
-              sentiment_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.contactcenterinsights.v1.SentimentData.Builder subBuilder = null;
+              if (sentiment_ != null) {
+                subBuilder = sentiment_.toBuilder();
+              }
+              sentiment_ =
+                  input.readMessage(
+                      com.google.cloud.contactcenterinsights.v1.SentimentData.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(sentiment_);
+                sentiment_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,36 +117,41 @@ private EntityMentionData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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.
      * 
@@ -132,6 +160,8 @@ public enum MentionType */ MENTION_TYPE_UNSPECIFIED(0), /** + * + * *
      * Proper noun.
      * 
@@ -140,6 +170,8 @@ public enum MentionType */ PROPER(1), /** + * + * *
      * Common noun (or noun compound).
      * 
@@ -151,6 +183,8 @@ public enum MentionType ; /** + * + * *
      * Unspecified.
      * 
@@ -159,6 +193,8 @@ public enum MentionType */ public static final int MENTION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Proper noun.
      * 
@@ -167,6 +203,8 @@ public enum MentionType */ public static final int PROPER_VALUE = 1; /** + * + * *
      * Common noun (or noun compound).
      * 
@@ -175,7 +213,6 @@ public enum MentionType */ public static final int COMMON_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +237,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; @@ -262,12 +301,15 @@ private MentionType(int value) { public static final int ENTITY_UNIQUE_ID_FIELD_NUMBER = 1; 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 @@ -276,30 +318,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 { @@ -310,38 +352,52 @@ public java.lang.String getEntityUniqueId() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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 @@ -349,18 +405,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.
    * 
@@ -373,6 +436,7 @@ public com.google.cloud.contactcenterinsights.v1.SentimentDataOrBuilder getSenti } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,12 +448,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) { @@ -407,13 +473,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -423,20 +490,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -463,96 +529,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.
@@ -560,21 +634,23 @@ 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()
@@ -582,16 +658,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -609,9 +684,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
@@ -630,7 +705,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);
+      com.google.cloud.contactcenterinsights.v1.EntityMentionData result =
+          new com.google.cloud.contactcenterinsights.v1.EntityMentionData(this);
       result.entityUniqueId_ = entityUniqueId_;
       result.type_ = type_;
       if (sentimentBuilder_ == null) {
@@ -646,38 +722,39 @@ public com.google.cloud.contactcenterinsights.v1.EntityMentionData 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.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;
@@ -685,7 +762,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_;
         onChanged();
@@ -715,7 +793,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.EntityMentionData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -727,19 +806,21 @@ public Builder mergeFrom(
 
     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; @@ -748,21 +829,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 { @@ -770,57 +852,64 @@ 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) { + public Builder setEntityUniqueId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entityUniqueId_ = value; 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() { - + entityUniqueId_ = getDefaultInstance().getEntityUniqueId(); 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; + * * @param value The bytes for entityUniqueId to set. * @return This builder for chaining. */ - public Builder setEntityUniqueIdBytes( - com.google.protobuf.ByteString value) { + public Builder setEntityUniqueIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entityUniqueId_ = value; onChanged(); return this; @@ -828,73 +917,93 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType result = com.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of the entity mention.
      * 
* * .google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -902,34 +1011,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 sentimentBuilder_ != null || sentiment_ != null; } /** + * + * *
      * 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.
      * 
@@ -950,6 +1072,8 @@ public Builder setSentiment(com.google.cloud.contactcenterinsights.v1.SentimentD return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -968,6 +1092,8 @@ public Builder setSentiment( return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -978,7 +1104,9 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen if (sentimentBuilder_ == null) { if (sentiment_ != null) { sentiment_ = - com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.SentimentData.newBuilder(sentiment_) + .mergeFrom(value) + .buildPartial(); } else { sentiment_ = value; } @@ -990,6 +1118,8 @@ public Builder mergeSentiment(com.google.cloud.contactcenterinsights.v1.Sentimen return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1008,6 +1138,8 @@ public Builder clearSentiment() { return this; } /** + * + * *
      * Sentiment expressed for this mention of the entity.
      * 
@@ -1015,26 +1147,32 @@ public Builder clearSentiment() { * .google.cloud.contactcenterinsights.v1.SentimentData sentiment = 3; */ public com.google.cloud.contactcenterinsights.v1.SentimentData.Builder getSentimentBuilder() { - + onChanged(); 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.
      * 
@@ -1042,21 +1180,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); } @@ -1066,12 +1207,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(); } @@ -1080,16 +1221,16 @@ 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 { - return new EntityMentionData(input, extensionRegistry); - } - }; + 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 { + return new EntityMentionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1104,6 +1245,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.EntityMentionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java index c9d5746e..998caaca 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityMentionDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java index 65ea6820..ab05234b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/EntityOrBuilder.java +++ b/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`)
@@ -99,11 +129,13 @@ boolean containsMetadata(
    */
 
   /* 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`)
@@ -113,11 +145,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
@@ -127,29 +159,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java index 20a3c560..9734ef17 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfig.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ExactMatchConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,18 +68,18 @@ private ExactMatchConfig( case 0: done = true; break; - case 8: { - - caseSensitive_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + caseSensitive_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -71,34 +87,39 @@ private ExactMatchConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * Whether to consider case sensitivity when performing an exact match.
    * 
* * bool case_sensitive = 1; + * * @return The caseSensitive. */ @java.lang.Override @@ -107,6 +128,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +140,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_); } @@ -133,8 +154,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -144,15 +164,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -165,125 +185,134 @@ 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) + unknownFields.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() @@ -291,16 +320,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +338,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 @@ -331,7 +359,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); + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig result = + new com.google.cloud.contactcenterinsights.v1.ExactMatchConfig(this); result.caseSensitive_ = caseSensitive_; onBuilt(); return result; @@ -341,38 +370,39 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig 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.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; @@ -380,7 +410,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()); } @@ -403,7 +434,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -413,13 +445,16 @@ public Builder mergeFrom( return this; } - 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 @@ -427,37 +462,43 @@ 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; 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() { - + caseSensitive_ = false; 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); } @@ -467,12 +508,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(); } @@ -481,16 +522,16 @@ 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 { - return new ExactMatchConfig(input, extensionRegistry); - } - }; + 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 { + return new ExactMatchConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -505,6 +546,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ExactMatchConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExactMatchConfigOrBuilder.java new file mode 100644 index 00000000..5afadfff --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java index 8d22f573..074ff17b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadata.java @@ -1,40 +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; /** + * + * *
  * 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; } + private ExportInsightsDataMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,61 +71,71 @@ private ExportInsightsDataMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder + subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - partialErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - partialErrors_.add( - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + partialErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + partialErrors_.add( + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,8 +143,7 @@ private ExportInsightsDataMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { partialErrors_ = java.util.Collections.unmodifiableList(partialErrors_); @@ -126,27 +152,34 @@ private ExportInsightsDataMetadata( makeExtensionsImmutable(); } } - 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 @@ -154,11 +187,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 @@ -166,11 +203,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() { @@ -180,11 +220,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 @@ -192,11 +236,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 @@ -204,11 +252,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() { @@ -218,11 +269,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 @@ -230,18 +284,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.
    * 
@@ -249,13 +310,16 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4; private java.util.List partialErrors_; /** + * + * *
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -268,6 +332,8 @@ public java.util.List getPartialErrorsList() {
     return partialErrors_;
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -276,11 +342,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.
@@ -293,6 +360,8 @@ public int getPartialErrorsCount() {
     return partialErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Partial errors during export operation that might cause the operation
    * output to be incomplete.
@@ -305,6 +374,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.
@@ -313,12 +384,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;
@@ -330,8 +401,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());
     }
@@ -354,20 +424,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -377,30 +443,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -434,135 +497,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPartialErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -594,14 +669,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 @@ -615,7 +692,8 @@ 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); int from_bitField0_ = bitField0_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -649,46 +727,51 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata 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.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()); } @@ -716,9 +799,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.ExportInsight partialErrorsBuilder_ = null; partialErrors_ = other.partialErrors_; bitField0_ = (bitField0_ & ~0x00000001); - partialErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPartialErrorsFieldBuilder() : null; + partialErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPartialErrorsFieldBuilder() + : null; } else { partialErrorsBuilder_.addAllMessages(other.partialErrors_); } @@ -743,7 +827,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,43 +838,63 @@ public Builder mergeFrom( } 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 createTimeBuilder_ != null || 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. */ 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) { @@ -804,14 +910,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(); onChanged(); @@ -822,17 +931,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -844,11 +957,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() { if (createTimeBuilder_ == null) { @@ -862,48 +979,64 @@ 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() { - + onChanged(); 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_; @@ -911,24 +1044,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -939,11 +1083,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) { @@ -959,14 +1106,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(); onChanged(); @@ -977,17 +1126,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -999,11 +1151,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() { if (endTimeBuilder_ == null) { @@ -1017,48 +1172,59 @@ 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() { - + onChanged(); 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_; @@ -1066,41 +1232,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -1114,6 +1295,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.ExportInsigh return this; } /** + * + * *
      * The original request for export.
      * 
@@ -1121,7 +1304,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(); onChanged(); @@ -1132,17 +1316,23 @@ 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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder( + request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1154,6 +1344,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.ExportInsi return this; } /** + * + * *
      * The original request for export.
      * 
@@ -1172,33 +1364,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() { + 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.
      * 
@@ -1206,32 +1408,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_ & 0x00000001) != 0)) { partialErrors_ = new java.util.ArrayList(partialErrors_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -1247,6 +1456,8 @@ public java.util.List getPartialErrorsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1262,6 +1473,8 @@ public int getPartialErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1277,6 +1490,8 @@ public com.google.rpc.Status getPartialErrors(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1284,8 +1499,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();
@@ -1299,6 +1513,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1306,8 +1522,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());
@@ -1318,6 +1533,8 @@ public Builder setPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1339,6 +1556,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.
@@ -1346,8 +1565,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();
@@ -1361,6 +1579,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1368,8 +1588,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());
@@ -1380,6 +1599,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1387,8 +1608,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());
@@ -1399,6 +1619,8 @@ public Builder addPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1406,12 +1628,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);
@@ -1419,6 +1639,8 @@ public Builder addAllPartialErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1437,6 +1659,8 @@ public Builder clearPartialErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1455,6 +1679,8 @@ public Builder removePartialErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1462,11 +1688,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.
@@ -1474,14 +1701,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.
@@ -1489,8 +1718,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 {
@@ -1498,6 +1727,8 @@ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Partial errors during export operation that might cause the operation
      * output to be incomplete.
@@ -1506,10 +1737,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.
@@ -1517,12 +1749,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.
@@ -1530,16 +1763,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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1548,9 +1784,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);
     }
 
@@ -1560,30 +1796,32 @@ 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 {
-      return new ExportInsightsDataMetadata(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new ExportInsightsDataMetadata(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1595,9 +1833,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
index 64ecfb1a..f7975a42 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataMetadataOrBuilder.java
+++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
index ec3d1308..fea7d248 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequest.java
+++ b/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,16 +46,15 @@ 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; } + private ExportInsightsDataRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,51 +73,68 @@ private ExportInsightsDataRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder subBuilder = null; - if (destinationCase_ == 2) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_).toBuilder(); + parent_ = s; + break; } - destination_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) destination_); - destination_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.Builder + subBuilder = null; + if (destinationCase_ == 2) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_) + .toBuilder(); + } + destination_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + destination_); + destination_ = subBuilder.buildPartial(); + } + destinationCase_ = 2; + break; } - destinationCase_ = 2; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKey_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + kmsKey_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - writeDisposition_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + writeDisposition_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,36 +142,42 @@ private ExportInsightsDataRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -146,6 +186,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.
@@ -155,6 +197,8 @@ public enum WriteDisposition
      */
     WRITE_TRUNCATE(1),
     /**
+     *
+     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -166,6 +210,8 @@ public enum WriteDisposition ; /** + * + * *
      * Write disposition is not specified. Defaults to WRITE_TRUNCATE.
      * 
@@ -174,6 +220,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.
@@ -183,6 +231,8 @@ public enum WriteDisposition
      */
     public static final int WRITE_TRUNCATE_VALUE = 1;
     /**
+     *
+     *
      * 
      * If the table already exists, BigQuery will append data to the table.
      * 
@@ -191,7 +241,6 @@ public enum WriteDisposition */ public static final int WRITE_APPEND_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,40 +265,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(); @@ -257,8 +311,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; @@ -275,11 +328,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,
@@ -287,10 +343,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,
@@ -298,12 +357,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 returns an
@@ -311,10 +372,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 returns an
@@ -322,12 +386,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
@@ -335,10 +401,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
@@ -346,27 +415,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_ = ""; @@ -375,16 +448,15 @@ 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; } + private BigQueryDestination( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -403,31 +475,34 @@ private BigQueryDestination( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dataset_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + dataset_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + table_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + projectId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -435,29 +510,35 @@ private BigQueryDestination( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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,
@@ -465,6 +546,7 @@ private BigQueryDestination(
      * 
* * string project_id = 3; + * * @return The projectId. */ @java.lang.Override @@ -473,14 +555,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,
@@ -488,16 +571,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 { @@ -508,6 +590,8 @@ public java.lang.String getProjectId() { public static final int DATASET_FIELD_NUMBER = 1; 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
@@ -515,6 +599,7 @@ public java.lang.String getProjectId() {
      * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dataset. */ @java.lang.Override @@ -523,14 +608,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 returns an
@@ -538,16 +624,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 { @@ -558,6 +643,8 @@ public java.lang.String getDataset() { public static final int TABLE_FIELD_NUMBER = 2; 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
@@ -565,6 +652,7 @@ public java.lang.String getDataset() {
      * 
* * string table = 2; + * * @return The table. */ @java.lang.Override @@ -573,14 +661,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
@@ -588,16 +677,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 { @@ -606,6 +694,7 @@ public java.lang.String getTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,8 +706,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_); } @@ -654,19 +742,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -689,88 +781,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 @@ -780,44 +898,53 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -831,19 +958,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); } @@ -851,8 +982,12 @@ 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); + 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); result.projectId_ = projectId_; result.dataset_ = dataset_; result.table_ = table_; @@ -864,46 +999,59 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQu 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_; onChanged(); @@ -931,11 +1079,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest + .BigQueryDestination) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -947,6 +1099,8 @@ public Builder mergeFrom( 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,
@@ -954,13 +1108,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; @@ -969,6 +1123,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,
@@ -976,15 +1132,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 { @@ -992,6 +1147,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,
@@ -999,20 +1156,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) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; 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,
@@ -1020,15 +1179,18 @@ public Builder setProjectId(
        * 
* * string project_id = 3; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); 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,
@@ -1036,16 +1198,16 @@ 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) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1053,6 +1215,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 returns an
@@ -1060,13 +1224,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; @@ -1075,6 +1239,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 returns an
@@ -1082,15 +1248,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 { @@ -1098,6 +1263,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 returns an
@@ -1105,20 +1272,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) { + public Builder setDataset(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataset_ = value; 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
@@ -1126,15 +1295,18 @@ public Builder setDataset(
        * 
* * string dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDataset() { - + dataset_ = getDefaultInstance().getDataset(); 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
@@ -1142,16 +1314,16 @@ 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) { + public Builder setDatasetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataset_ = value; onChanged(); return this; @@ -1159,6 +1331,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
@@ -1166,13 +1340,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; @@ -1181,6 +1355,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
@@ -1188,15 +1364,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 { @@ -1204,6 +1379,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
@@ -1211,20 +1388,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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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
@@ -1232,15 +1411,18 @@ public Builder setTable(
        * 
* * string table = 2; + * * @return This builder for chaining. */ public Builder clearTable() { - + table_ = getDefaultInstance().getTable(); 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
@@ -1248,20 +1430,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) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1274,30 +1457,36 @@ 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 { - return new BigQueryDestination(input, extensionRegistry); - } - }; + 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 { + return new BigQueryDestination(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1309,20 +1498,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; } @@ -1338,29 +1530,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 @@ -1368,43 +1567,66 @@ 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; 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 @@ -1413,29 +1635,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 { @@ -1446,12 +1670,15 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -1460,30 +1687,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 { @@ -1494,6 +1721,8 @@ public java.lang.String getFilter() { public static final int KMS_KEY_FIELD_NUMBER = 4; private volatile java.lang.Object kmsKey_; /** + * + * *
    * A fully qualified KMS key name for BigQuery tables protected by CMEK.
    * Format:
@@ -1501,6 +1730,7 @@ public java.lang.String getFilter() {
    * 
* * string kms_key = 4; + * * @return The kmsKey. */ @java.lang.Override @@ -1509,14 +1739,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:
@@ -1524,16 +1755,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 { @@ -1544,31 +1774,50 @@ public java.lang.String getKmsKey() { public static final int WRITE_DISPOSITION_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(writeDisposition_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .valueOf(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; @@ -1580,13 +1829,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_); @@ -1594,7 +1845,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_); } unknownFields.writeTo(output); @@ -1610,8 +1864,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_); @@ -1619,9 +1877,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1631,25 +1891,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: @@ -1687,134 +1944,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1832,14 +2100,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 @@ -1853,7 +2123,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest result = + new com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest(this); if (destinationCase_ == 2) { if (bigQueryDestinationBuilder_ == null) { result.destination_ = destination_; @@ -1874,46 +2145,51 @@ public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest build 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_; onChanged(); @@ -1930,13 +2206,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.unknownFields); onChanged(); @@ -1957,7 +2235,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1966,12 +2246,12 @@ public Builder mergeFrom( } 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() { @@ -1981,15 +2261,24 @@ public Builder clearDestination() { return this; } - 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 @@ -1997,35 +2286,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(); @@ -2039,14 +2344,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(); @@ -2057,18 +2368,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; } @@ -2084,11 +2409,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) { @@ -2107,73 +2436,111 @@ 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; } destinationCase_ = 2; - onChanged();; + onChanged(); + ; return bigQueryDestinationBuilder_; } 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; @@ -2182,20 +2549,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 { @@ -2203,54 +2573,67 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -2258,19 +2641,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; @@ -2279,21 +2664,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 { @@ -2301,57 +2687,64 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -2359,6 +2752,8 @@ public Builder setFilterBytes( private java.lang.Object kmsKey_ = ""; /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2366,13 +2761,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; @@ -2381,6 +2776,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2388,15 +2785,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 { @@ -2404,6 +2800,8 @@ public java.lang.String getKmsKey() { } } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2411,20 +2809,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) { + public Builder setKmsKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKey_ = value; onChanged(); return this; } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2432,15 +2832,18 @@ public Builder setKmsKey(
      * 
* * string kms_key = 4; + * * @return This builder for chaining. */ public Builder clearKmsKey() { - + kmsKey_ = getDefaultInstance().getKmsKey(); onChanged(); return this; } /** + * + * *
      * A fully qualified KMS key name for BigQuery tables protected by CMEK.
      * Format:
@@ -2448,16 +2851,16 @@ 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) { + public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKey_ = value; onChanged(); return this; @@ -2465,80 +2868,114 @@ 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. */ public Builder setWriteDispositionValue(int value) { - + writeDisposition_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + getWriteDisposition() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.valueOf(writeDisposition_); - return result == null ? com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition result = + com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition + .valueOf(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(); } - + writeDisposition_ = value.getNumber(); onChanged(); 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() { - + writeDisposition_ = 0; 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); } @@ -2548,30 +2985,32 @@ 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 { - return new ExportInsightsDataRequest(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2583,9 +3022,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java index 52741507..d49fc829 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java index 8a0cfd2b..9bb2ce79 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private ExportInsightsDataResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ExportInsightsDataResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ExportInsightsDataResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,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 @@ -297,7 +329,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; } @@ -306,46 +339,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.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +426,32 @@ 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 { - return new ExportInsightsDataResponse(input, extensionRegistry); - } - }; + 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 { + return new ExportInsightsDataResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ExportInsightsDataResponseOrBuilder.java new file mode 100644 index 00000000..b69f2c25 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java index 3d909e54..39fabb52 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerData.java +++ b/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,16 +46,15 @@ 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; } + private FaqAnswerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,55 +74,61 @@ private FaqAnswerData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - answer_ = s; - break; - } - case 21: { - - confidenceScore_ = input.readFloat(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + answer_ = s; + break; + } + case 21: + { + confidenceScore_ = input.readFloat(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - question_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + question_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + queryRecord_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - source_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + source_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,46 +136,50 @@ private FaqAnswerData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -161,29 +188,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 { @@ -194,6 +221,8 @@ public java.lang.String getAnswer() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -201,6 +230,7 @@ public java.lang.String getAnswer() {
    * 
* * float confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -211,11 +241,14 @@ public float getConfidenceScore() { public static final int QUESTION_FIELD_NUMBER = 3; private volatile java.lang.Object question_; /** + * + * *
    * The corresponding FAQ question.
    * 
* * string question = 3; + * * @return The question. */ @java.lang.Override @@ -224,29 +257,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 { @@ -255,24 +288,23 @@ 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, + ""); } - 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_; } @@ -281,6 +313,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -288,22 +322,22 @@ 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.
@@ -312,11 +346,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the FAQ answer and the document that
    * it originates from.
@@ -325,16 +360,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -343,12 +379,11 @@ public 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();
     }
@@ -358,6 +393,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 5;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -365,6 +402,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ @java.lang.Override @@ -373,14 +411,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:
@@ -388,16 +427,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 { @@ -408,6 +446,8 @@ public java.lang.String getQueryRecord() { public static final int SOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object source_; /** + * + * *
    * The knowledge document that this answer was extracted from.
    * Format:
@@ -415,6 +455,7 @@ public java.lang.String getQueryRecord() {
    * 
* * string source = 6; + * * @return The source. */ @java.lang.Override @@ -423,14 +464,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:
@@ -438,16 +480,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 { @@ -456,6 +497,7 @@ public java.lang.String getSource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -467,8 +509,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_); } @@ -478,12 +519,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_); } @@ -503,21 +540,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_); @@ -533,26 +569,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -567,8 +598,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()) { @@ -585,139 +615,147 @@ 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() @@ -725,16 +763,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -753,9 +790,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 @@ -774,7 +811,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); + com.google.cloud.contactcenterinsights.v1.FaqAnswerData result = + new com.google.cloud.contactcenterinsights.v1.FaqAnswerData(this); int from_bitField0_ = bitField0_; result.answer_ = answer_; result.confidenceScore_ = confidenceScore_; @@ -791,38 +829,39 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData 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.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; @@ -830,7 +869,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_; onChanged(); @@ -842,8 +882,7 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.FaqAnswerData question_ = other.question_; onChanged(); } - internalGetMutableMetadata().mergeFrom( - other.internalGetMetadata()); + internalGetMutableMetadata().mergeFrom(other.internalGetMetadata()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -871,7 +910,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -880,22 +920,25 @@ public Builder mergeFrom( } 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; @@ -904,20 +947,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 { @@ -925,61 +969,70 @@ 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) { + public Builder setAnswer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + answer_ = value; onChanged(); return this; } /** + * + * *
      * The piece of text from the `source` knowledge base document.
      * 
* * string answer = 1; + * * @return This builder for chaining. */ public Builder clearAnswer() { - + answer_ = getDefaultInstance().getAnswer(); onChanged(); 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) { + public Builder setAnswerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + answer_ = value; onChanged(); 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
@@ -987,6 +1040,7 @@ public Builder setAnswerBytes(
      * 
* * float confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -994,6 +1048,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
@@ -1001,16 +1057,19 @@ 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; 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
@@ -1018,10 +1077,11 @@ public Builder setConfidenceScore(float value) {
      * 
* * float confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0F; onChanged(); return this; @@ -1029,18 +1089,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; @@ -1049,20 +1111,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 { @@ -1070,75 +1133,82 @@ 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) { + public Builder setQuestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + question_ = value; onChanged(); return this; } /** + * + * *
      * The corresponding FAQ question.
      * 
* * string question = 3; + * * @return This builder for chaining. */ public Builder clearQuestion() { - + question_ = getDefaultInstance().getQuestion(); onChanged(); 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) { + public Builder setQuestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + question_ = value; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -1150,6 +1220,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1157,22 +1229,22 @@ 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.
@@ -1181,11 +1253,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1194,16 +1267,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -1212,12 +1286,11 @@ public 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();
       }
@@ -1225,11 +1298,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1237,23 +1311,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1261,19 +1333,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the FAQ answer and the document that
      * it originates from.
@@ -1281,16 +1354,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1298,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; @@ -1313,6 +1385,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1320,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 { @@ -1336,6 +1409,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1343,20 +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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1364,15 +1441,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 5; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1380,16 +1460,16 @@ 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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = value; onChanged(); return this; @@ -1397,6 +1477,8 @@ public Builder setQueryRecordBytes( private java.lang.Object source_ = ""; /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1404,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; @@ -1419,6 +1501,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1426,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 { @@ -1442,6 +1525,8 @@ public java.lang.String getSource() { } } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1449,20 +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) { + public Builder setSource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + source_ = value; onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1470,15 +1557,18 @@ public Builder setSource(
      * 
* * string source = 6; + * * @return This builder for chaining. */ public Builder clearSource() { - + source_ = getDefaultInstance().getSource(); onChanged(); return this; } /** + * + * *
      * The knowledge document that this answer was extracted from.
      * Format:
@@ -1486,23 +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) { + public Builder setSourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + source_ = 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); } @@ -1512,12 +1602,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(); } @@ -1526,16 +1616,16 @@ 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 { - return new FaqAnswerData(input, extensionRegistry); - } - }; + 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 { + return new FaqAnswerData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1550,6 +1640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java index 0ab35191..c1516b0c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/FaqAnswerDataOrBuilder.java +++ b/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.
@@ -104,11 +136,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -116,11 +150,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:
@@ -128,10 +162,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 5; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -139,12 +176,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:
@@ -152,10 +191,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:
@@ -163,8 +205,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java index 264abf83..2e3fd646 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSource.java +++ b/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,16 +44,15 @@ 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; } + private GcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - audioUri_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + audioUri_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - transcriptUri_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + transcriptUri_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,40 @@ private GcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -117,30 +141,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 { @@ -151,12 +175,15 @@ public java.lang.String getAudioUri() { public static final int TRANSCRIPT_URI_FIELD_NUMBER = 2; 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 @@ -165,30 +192,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 { @@ -197,6 +224,7 @@ public java.lang.String getTranscriptUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +236,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_); } @@ -239,17 +266,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +297,126 @@ 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() @@ -389,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +444,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 @@ -431,7 +465,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); + com.google.cloud.contactcenterinsights.v1.GcsSource result = + new com.google.cloud.contactcenterinsights.v1.GcsSource(this); result.audioUri_ = audioUri_; result.transcriptUri_ = transcriptUri_; onBuilt(); @@ -442,38 +477,39 @@ public com.google.cloud.contactcenterinsights.v1.GcsSource 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.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; @@ -481,7 +517,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_; onChanged(); @@ -509,7 +546,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,19 +559,21 @@ public Builder mergeFrom( 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; @@ -542,21 +582,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 { @@ -564,57 +605,64 @@ 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) { + public Builder setAudioUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audioUri_ = value; 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() { - + audioUri_ = getDefaultInstance().getAudioUri(); onChanged(); 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) { + public Builder setAudioUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audioUri_ = value; onChanged(); return this; @@ -622,19 +670,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; @@ -643,21 +693,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 { @@ -665,64 +716,71 @@ 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) { + public Builder setTranscriptUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + transcriptUri_ = value; 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() { - + transcriptUri_ = getDefaultInstance().getTranscriptUri(); 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]; + * * @param value The bytes for transcriptUri to set. * @return This builder for chaining. */ - public Builder setTranscriptUriBytes( - com.google.protobuf.ByteString value) { + public Builder setTranscriptUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + transcriptUri_ = 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); } @@ -732,12 +790,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(); } @@ -746,16 +804,16 @@ 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 { - return new GcsSource(input, extensionRegistry); - } - }; + 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 { + return new GcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +828,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java index d83b0bd8..509047f4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GcsSourceOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java index 90501294..cb6faeb7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequest.java @@ -1,40 +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 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; } + private GetAnalysisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAnalysisRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetAnalysisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest result = + new com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest 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.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; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( 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; @@ -467,20 +513,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 { @@ -488,61 +537,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +614,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(); } @@ -566,16 +629,16 @@ 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 { - return new GetAnalysisRequest(input, extensionRegistry); - } - }; + 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 { + return new GetAnalysisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetAnalysisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetAnalysisRequestOrBuilder.java new file mode 100644 index 00000000..42725fd8 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java index 924b421e..efd0e027 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequest.java +++ b/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,16 +44,15 @@ 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; } + private GetConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetConversationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private GetConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -116,29 +142,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 { @@ -149,31 +177,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -185,12 +225,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_); } unknownFields.writeTo(output); @@ -205,9 +246,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +259,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +290,127 @@ 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() @@ -366,16 +418,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,13 +438,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(); } @@ -408,7 +460,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.GetConversationRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,46 +472,50 @@ public com.google.cloud.contactcenterinsights.v1.GetConversationRequest buildPar 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_; onChanged(); @@ -485,7 +542,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +556,22 @@ public Builder mergeFrom( 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; @@ -517,20 +580,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 { @@ -538,54 +604,67 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +672,67 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -645,28 +740,31 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -676,30 +774,32 @@ 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 { - return new GetConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new GetConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,9 +811,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java index 94a3e47a..754361b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetConversationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java index f36394b9..12ecac1f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequest.java @@ -1,40 +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 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; } + private GetIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest buildParti 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; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( 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; @@ -467,20 +514,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 { @@ -488,61 +538,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +615,32 @@ 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 { - return new GetIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +652,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..9043ad09 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java index 2f3f8e8d..5c8fd73d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequest.java @@ -1,40 +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 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; } + private GetIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetIssueRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.GetIssueRequest result = + new com.google.cloud.contactcenterinsights.v1.GetIssueRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.GetIssueRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new GetIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new GetIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetIssueRequestOrBuilder.java new file mode 100644 index 00000000..5b064a2b --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java index 04a63567..3bd768cd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequest.java @@ -1,40 +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 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; } + private GetPhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPhraseMatcherRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetPhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,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(); } @@ -362,7 +401,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest buildPa 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_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( 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; @@ -467,20 +517,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 { @@ -488,61 +541,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +618,32 @@ 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 { - return new GetPhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new GetPhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetPhraseMatcherRequestOrBuilder.java new file mode 100644 index 00000000..b5952af1 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java index fc8c5b9c..e18b706a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequest.java @@ -1,40 +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 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; } + private GetSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.GetSettingsRequest result = + new com.google.cloud.contactcenterinsights.v1.GetSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest 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.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; @@ -411,7 +450,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_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( 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; @@ -467,20 +513,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 { @@ -488,61 +537,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +614,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(); } @@ -566,16 +629,16 @@ 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 { - return new GetSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new GetSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetSettingsRequestOrBuilder.java new file mode 100644 index 00000000..64f2b37d --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java index 2bd8d172..e876b639 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequest.java @@ -1,40 +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 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; } + private GetViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetViewRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.GetViewRequest result = + new com.google.cloud.contactcenterinsights.v1.GetViewRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.GetViewRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.GetViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new GetViewRequest(input, extensionRegistry); - } - }; + 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 { + return new GetViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.GetViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/GetViewRequestOrBuilder.java new file mode 100644 index 00000000..77fe8abe --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java index 81136db5..13a7defa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private HoldData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private HoldData( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private HoldData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ 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() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,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 @@ -297,7 +324,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; } @@ -306,38 +334,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; @@ -345,7 +374,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.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.HoldData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +417,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(); } @@ -400,16 +431,16 @@ 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 { - return new HoldData(input, extensionRegistry); - } - }; + 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 { + return new HoldData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.HoldData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/HoldDataOrBuilder.java new file mode 100644 index 00000000..e993a049 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java index 85245c92..bdc9356e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Intent.java +++ b/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,16 +45,15 @@ 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;
   }
+
   private Intent(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Intent(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            id_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              id_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,34 +100,39 @@ private Intent(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   private volatile java.lang.Object id_;
   /**
+   *
+   *
    * 
    * The unique identifier of the intent.
    * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -117,29 +141,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 { @@ -150,11 +174,14 @@ public java.lang.String getId() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable name of the intent.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -163,29 +190,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 { @@ -194,6 +221,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +233,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_); } @@ -236,17 +263,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,97 +293,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.
@@ -365,21 +398,23 @@ 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()
@@ -387,16 +422,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -408,9 +442,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
@@ -429,7 +463,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);
+      com.google.cloud.contactcenterinsights.v1.Intent result =
+          new com.google.cloud.contactcenterinsights.v1.Intent(this);
       result.id_ = id_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -440,38 +475,39 @@ public com.google.cloud.contactcenterinsights.v1.Intent 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.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;
@@ -479,7 +515,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_;
         onChanged();
@@ -519,18 +556,20 @@ public Builder mergeFrom(
 
     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; @@ -539,20 +578,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 { @@ -560,54 +600,61 @@ 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) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the intent.
      * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -615,18 +662,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; @@ -635,20 +684,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 { @@ -656,61 +706,68 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the intent.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -720,12 +777,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(); } @@ -734,16 +791,16 @@ 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 { - return new Intent(input, extensionRegistry); - } - }; + 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 { + return new Intent(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,6 +815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Intent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java index 772221f4..1f012cd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchData.java +++ b/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,31 +30,31 @@
  *
  * 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;
   }
+
   private IntentMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,19 +73,20 @@ private IntentMatchData(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            intentUniqueId_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              intentUniqueId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -76,35 +94,40 @@ private IntentMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -113,30 +136,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 { @@ -145,6 +168,7 @@ public java.lang.String getIntentUniqueId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(intentUniqueId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, intentUniqueId_); } @@ -181,15 +204,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -209,96 +232,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
@@ -308,21 +339,23 @@ 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()
@@ -330,16 +363,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,9 +381,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
@@ -370,7 +402,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);
+      com.google.cloud.contactcenterinsights.v1.IntentMatchData result =
+          new com.google.cloud.contactcenterinsights.v1.IntentMatchData(this);
       result.intentUniqueId_ = intentUniqueId_;
       onBuilt();
       return result;
@@ -380,38 +413,39 @@ public com.google.cloud.contactcenterinsights.v1.IntentMatchData 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.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;
@@ -419,7 +453,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_;
         onChanged();
@@ -443,7 +478,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.IntentMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,19 +491,21 @@ public Builder mergeFrom(
 
     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; @@ -476,21 +514,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 { @@ -498,64 +537,71 @@ 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) { + public Builder setIntentUniqueId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + intentUniqueId_ = value; 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() { - + intentUniqueId_ = getDefaultInstance().getIntentUniqueId(); onChanged(); 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) { + public Builder setIntentUniqueIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intentUniqueId_ = 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); } @@ -565,12 +611,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(); } @@ -579,16 +625,16 @@ 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 { - return new IntentMatchData(input, extensionRegistry); - } - }; + 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 { + return new IntentMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -603,6 +649,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IntentMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java index 8775dedd..e62221e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentMatchDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java index 803f52de..398131ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IntentOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java index 2becdf9b..b69d67df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private InterruptionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private InterruptionData( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private InterruptionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ 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() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,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 @@ -297,7 +325,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; } @@ -306,38 +335,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; @@ -345,7 +375,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.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.InterruptionData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,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(); } @@ -400,16 +432,16 @@ 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 { - return new InterruptionData(input, extensionRegistry); - } - }; + 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 { + return new InterruptionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.InterruptionData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/InterruptionDataOrBuilder.java new file mode 100644 index 00000000..094a4e12 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java index a056e25a..439f7250 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Issue.java +++ b/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_ = ""; @@ -26,16 +44,15 @@ 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; } + private Issue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Issue( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,29 +129,33 @@ private Issue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the issue.
    * Format:
@@ -136,6 +163,7 @@ private Issue(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -144,14 +172,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:
@@ -159,16 +188,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 { @@ -179,11 +207,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The representative name for the issue.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -192,29 +223,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 { @@ -225,11 +256,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 @@ -237,11 +272,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 @@ -249,11 +288,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() { @@ -263,11 +305,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 @@ -275,11 +321,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 @@ -287,11 +337,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() { @@ -299,6 +352,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,8 +364,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_); } @@ -340,12 +393,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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -355,26 +406,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -404,118 +452,127 @@ 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() @@ -523,16 +580,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +612,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 @@ -577,7 +633,8 @@ 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); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -598,38 +655,39 @@ public com.google.cloud.contactcenterinsights.v1.Issue 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.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; @@ -637,7 +695,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_; onChanged(); @@ -683,6 +742,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -690,13 +751,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; @@ -705,6 +766,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -712,15 +775,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 { @@ -728,6 +790,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -735,20 +799,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -756,15 +822,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue.
      * Format:
@@ -772,16 +841,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -789,18 +858,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; @@ -809,20 +880,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 { @@ -830,54 +902,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The representative name for the issue.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -885,39 +964,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 createTimeBuilder_ != null || 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. */ 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) { @@ -933,14 +1031,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(); onChanged(); @@ -951,17 +1052,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -973,11 +1078,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() { if (createTimeBuilder_ == null) { @@ -991,48 +1100,64 @@ 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() { - + onChanged(); 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_; @@ -1040,39 +1165,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1088,14 +1232,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(); onChanged(); @@ -1106,17 +1253,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1128,11 +1279,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() { if (updateTimeBuilder_ == null) { @@ -1146,55 +1301,71 @@ 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() { - + onChanged(); 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_; } + @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); } @@ -1204,12 +1375,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(); } @@ -1218,16 +1389,16 @@ 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 { - return new Issue(input, extensionRegistry); - } - }; + 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 { + return new Issue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,6 +1413,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Issue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java index d329e884..d52531ac 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignment.java +++ b/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,16 +44,15 @@ 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; } + private IssueAssignment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private IssueAssignment( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - issue_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - score_ = input.readDouble(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 17: + { + score_ = input.readDouble(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private IssueAssignment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object issue_; /** + * + * *
    * Resource name of the assigned issue.
    * 
* * string issue = 1; + * * @return The issue. */ @java.lang.Override @@ -121,29 +145,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 { @@ -154,12 +178,15 @@ public java.lang.String getIssue() { public static final int SCORE_FIELD_NUMBER = 2; 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 @@ -170,12 +197,15 @@ public double getScore() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; 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 @@ -184,30 +214,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 { @@ -216,6 +246,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +258,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_); } @@ -251,8 +281,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_); @@ -265,20 +294,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,8 +320,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) + unknownFields.hashCode(); @@ -303,117 +331,127 @@ 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() @@ -421,16 +459,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +481,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 @@ -465,7 +502,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); + com.google.cloud.contactcenterinsights.v1.IssueAssignment result = + new com.google.cloud.contactcenterinsights.v1.IssueAssignment(this); result.issue_ = issue_; result.score_ = score_; result.displayName_ = displayName_; @@ -477,38 +515,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment 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.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; @@ -516,7 +555,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_; onChanged(); @@ -547,7 +587,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueAssignment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -559,18 +600,20 @@ public Builder mergeFrom( 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; @@ -579,20 +622,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 { @@ -600,67 +644,77 @@ 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) { + public Builder setIssue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** + * + * *
      * Resource name of the assigned issue.
      * 
* * string issue = 1; + * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); 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) { + public Builder setIssueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -668,32 +722,38 @@ 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; 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() { - + score_ = 0D; onChanged(); return this; @@ -701,19 +761,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; @@ -722,21 +784,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 { @@ -744,64 +807,71 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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() { - + displayName_ = getDefaultInstance().getDisplayName(); 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]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -811,12 +881,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(); } @@ -825,16 +895,16 @@ 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 { - return new IssueAssignment(input, extensionRegistry); - } - }; + 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 { + return new IssueAssignment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,6 +919,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueAssignment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java index 68b7209d..5d71fae4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueAssignmentOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java index b5f50eb4..632c72c6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModel.java +++ b/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,16 +45,15 @@ 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; } + private IssueModel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,83 +72,100 @@ private IssueModel( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + displayName_ = s; + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 50: { - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder subBuilder = null; - if (inputDataConfig_ != null) { - subBuilder = inputDataConfig_.toBuilder(); + break; } - inputDataConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(inputDataConfig_); - inputDataConfig_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 40: + { + int rawValue = input.readEnum(); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = null; - if (trainingStats_ != null) { - subBuilder = trainingStats_.toBuilder(); + state_ = rawValue; + break; } - trainingStats_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trainingStats_); - trainingStats_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.Builder + subBuilder = null; + if (inputDataConfig_ != null) { + subBuilder = inputDataConfig_.toBuilder(); + } + inputDataConfig_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inputDataConfig_); + inputDataConfig_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.Builder subBuilder = + null; + if (trainingStats_ != null) { + subBuilder = trainingStats_.toBuilder(); + } + trainingStats_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trainingStats_); + trainingStats_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -139,36 +173,41 @@ private IssueModel( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -177,6 +216,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -185,6 +226,8 @@ public enum State */ UNDEPLOYED(1), /** + * + * *
      * Model is being deployed.
      * 
@@ -193,6 +236,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.
@@ -202,6 +247,8 @@ public enum State
      */
     DEPLOYED(3),
     /**
+     *
+     *
      * 
      * Model is being undeployed.
      * 
@@ -210,6 +257,8 @@ public enum State */ UNDEPLOYING(4), /** + * + * *
      * Model is being deleted.
      * 
@@ -221,6 +270,8 @@ public enum State ; /** + * + * *
      * Unspecified.
      * 
@@ -229,6 +280,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Model is not deployed but is ready to deploy.
      * 
@@ -237,6 +290,8 @@ public enum State */ public static final int UNDEPLOYED_VALUE = 1; /** + * + * *
      * Model is being deployed.
      * 
@@ -245,6 +300,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.
@@ -254,6 +311,8 @@ public enum State
      */
     public static final int DEPLOYED_VALUE = 3;
     /**
+     *
+     *
      * 
      * Model is being undeployed.
      * 
@@ -262,6 +321,8 @@ public enum State */ public static final int UNDEPLOYING_VALUE = 4; /** + * + * *
      * Model is being deleted.
      * 
@@ -270,7 +331,6 @@ public enum State */ public static final int DELETING_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -295,52 +355,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; @@ -357,85 +422,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=593 + * + * .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=593 * @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=593 + * + * .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=593 * @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_ = ""; @@ -443,16 +533,15 @@ 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; } + private InputDataConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -471,30 +560,32 @@ private InputDataConfig( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - - medium_ = rawValue; - break; - } - case 16: { + case 8: + { + int rawValue = input.readEnum(); - trainingConversationsCount_ = input.readInt64(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + medium_ = rawValue; + break; + } + case 16: + { + trainingConversationsCount_ = input.readInt64(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,69 +593,92 @@ private InputDataConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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=593 + * + * .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=593 * @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=593 + * + * .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=593 * @return The medium. */ - @java.lang.Override @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Override + @java.lang.Deprecated + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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_; /** + * + * *
      * 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 @@ -575,12 +689,15 @@ public long getTrainingConversationsCount() { public static final int FILTER_FIELD_NUMBER = 3; 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 @@ -589,30 +706,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 { @@ -621,6 +738,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -632,9 +750,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) { @@ -652,13 +771,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_); @@ -671,18 +791,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -697,8 +816,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) + unknownFields.hashCode(); @@ -707,87 +825,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 @@ -797,44 +923,49 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -848,19 +979,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); } @@ -869,7 +1003,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig result = + new com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig(this); result.medium_ = medium_; result.trainingConversationsCount_ = trainingConversationsCount_; result.filter_ = filter_; @@ -881,46 +1016,53 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig 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) { + 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()); } @@ -950,7 +1092,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -962,105 +1106,144 @@ public Builder mergeFrom( 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=593 + * + * .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=593 * @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=593 + * + * .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=593 * @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; 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=593 + * + * .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=593 * @return The medium. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { + @java.lang.Deprecated + public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.Conversation.Medium result = com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(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.valueOf(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=593 + * + * .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=593 * @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(); } - + medium_ = value.getNumber(); 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=593 + * + * .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=593 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMedium() { - + @java.lang.Deprecated + public Builder clearMedium() { + 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 @@ -1068,30 +1251,38 @@ 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; 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() { - + trainingConversationsCount_ = 0L; onChanged(); return this; @@ -1099,19 +1290,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; @@ -1120,21 +1313,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 { @@ -1142,61 +1336,69 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1209,30 +1411,32 @@ 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 { - return new InputDataConfig(input, extensionRegistry); - } - }; + 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 { + return new InputDataConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,15 +1448,17 @@ 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the issue model.
    * Format:
@@ -1260,6 +1466,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig getD
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -1268,14 +1475,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:
@@ -1283,16 +1491,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 { @@ -1303,11 +1510,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The representative name for the issue model.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1316,29 +1526,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 { @@ -1349,11 +1559,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 @@ -1361,11 +1575,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 @@ -1373,11 +1591,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() { @@ -1387,11 +1608,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 @@ -1399,11 +1624,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 @@ -1411,11 +1640,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() { @@ -1425,38 +1657,57 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.IssueModel.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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 @@ -1464,37 +1715,52 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfigOrBuilder + getInputDataConfigOrBuilder() { return getInputDataConfig(); } 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 @@ -1502,30 +1768,43 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsOrBuilder + getTrainingStatsOrBuilder() { return getTrainingStats(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1537,8 +1816,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_); } @@ -1551,7 +1829,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) { @@ -1576,24 +1856,21 @@ 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()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1603,37 +1880,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1674,117 +1946,126 @@ 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() @@ -1792,16 +2073,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1839,9 +2119,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 @@ -1860,7 +2140,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); + com.google.cloud.contactcenterinsights.v1.IssueModel result = + new com.google.cloud.contactcenterinsights.v1.IssueModel(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -1892,38 +2173,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel 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.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; @@ -1931,7 +2213,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_; onChanged(); @@ -1974,7 +2257,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModel) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1986,6 +2270,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -1993,13 +2279,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; @@ -2008,6 +2294,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2015,15 +2303,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 { @@ -2031,6 +2318,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2038,20 +2327,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2059,15 +2350,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the issue model.
      * Format:
@@ -2075,16 +2369,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2092,18 +2386,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; @@ -2112,20 +2408,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 { @@ -2133,54 +2430,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The representative name for the issue model.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -2188,39 +2492,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 createTimeBuilder_ != null || 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. */ 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) { @@ -2236,14 +2559,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(); onChanged(); @@ -2254,17 +2580,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2276,11 +2606,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() { if (createTimeBuilder_ == null) { @@ -2294,48 +2628,64 @@ 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() { - + onChanged(); 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_; @@ -2343,39 +2693,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2391,14 +2760,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(); onChanged(); @@ -2409,17 +2781,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2431,11 +2807,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() { if (updateTimeBuilder_ == null) { @@ -2449,48 +2829,64 @@ 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() { - + onChanged(); 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_; @@ -2498,51 +2894,75 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.IssueModel.State result = com.google.cloud.contactcenterinsights.v1.IssueModel.State.valueOf(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.valueOf(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. */ @@ -2550,21 +2970,26 @@ public Builder setState(com.google.cloud.contactcenterinsights.v1.IssueModel.Sta if (value == null) { throw new NullPointerException(); } - + 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() { - + state_ = 0; onChanged(); return this; @@ -2572,41 +2997,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 inputDataConfigBuilder_ != null || 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. */ - 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(); @@ -2620,14 +3067,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(); onChanged(); @@ -2638,17 +3090,25 @@ 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 (inputDataConfig_ != null) { inputDataConfig_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder(inputDataConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig.newBuilder( + inputDataConfig_) + .mergeFrom(value) + .buildPartial(); } else { inputDataConfig_ = value; } @@ -2660,11 +3120,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() { if (inputDataConfigBuilder_ == null) { @@ -2678,48 +3142,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() { + 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_; @@ -2727,41 +3210,61 @@ 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 trainingStatsBuilder_ != null || 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. */ 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(); @@ -2775,11 +3278,15 @@ 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) { @@ -2793,17 +3300,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 (trainingStats_ != null) { trainingStats_ = - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder(trainingStats_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.newBuilder( + trainingStats_) + .mergeFrom(value) + .buildPartial(); } else { trainingStats_ = value; } @@ -2815,11 +3330,15 @@ 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() { if (trainingStatsBuilder_ == null) { @@ -2833,55 +3352,73 @@ 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() { + 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); } @@ -2891,12 +3428,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(); } @@ -2905,16 +3442,16 @@ 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 { - return new IssueModel(input, extensionRegistry); - } - }; + 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 { + return new IssueModel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2929,6 +3466,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java index 1ee08b3a..8811a892 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStats.java @@ -1,39 +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; /** + * + * *
  * 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; } + private IssueModelLabelStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,36 +69,41 @@ private IssueModelLabelStats( case 0: done = true; break; - case 8: { - - analyzedConversationsCount_ = input.readInt64(); - break; - } - case 16: { - - unclassifiedConversationsCount_ = input.readInt64(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueStats_ = com.google.protobuf.MapField.newMapField( - IssueStatsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 8: + { + analyzedConversationsCount_ = input.readInt64(); + break; } - com.google.protobuf.MapEntry - issueStats__ = input.readMessage( - IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - issueStats_.getMutableMap().put( - issueStats__.getKey(), issueStats__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + unclassifiedConversationsCount_ = input.readInt64(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueStats_ = + com.google.protobuf.MapField.newMapField( + IssueStatsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + issueStats__ = + input.readMessage( + IssueStatsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + issueStats_.getMutableMap().put(issueStats__.getKey(), issueStats__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -90,43 +111,47 @@ private IssueModelLabelStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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:
@@ -134,10 +159,13 @@ public interface IssueStatsOrBuilder extends
      * 
* * string issue = 1; + * * @return The issue. */ java.lang.String getIssue(); /** + * + * *
      * Issue resource.
      * Format:
@@ -145,57 +173,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_ = ""; @@ -203,16 +242,15 @@ 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; } + private IssueStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -231,30 +269,32 @@ private IssueStats( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - issue_ = s; - break; - } - case 16: { - - labeledConversationsCount_ = input.readInt64(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + issue_ = s; + break; + } + case 16: + { + labeledConversationsCount_ = input.readInt64(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + displayName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -262,29 +302,34 @@ private IssueStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object issue_; /** + * + * *
      * Issue resource.
      * Format:
@@ -292,6 +337,7 @@ private IssueStats(
      * 
* * string issue = 1; + * * @return The issue. */ @java.lang.Override @@ -300,14 +346,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:
@@ -315,16 +362,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 { @@ -335,11 +381,14 @@ public java.lang.String getIssue() { public static final int LABELED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -350,11 +399,14 @@ public long getLabeledConversationsCount() { public static final int DISPLAY_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object displayName_; /** + * + * *
      * Display name of the issue.
      * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -363,29 +415,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 { @@ -394,6 +446,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,8 +458,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_); } @@ -429,8 +481,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_); @@ -443,19 +495,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,8 +521,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) + unknownFields.hashCode(); @@ -479,88 +529,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 @@ -570,44 +633,50 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,19 +690,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); } @@ -641,8 +713,10 @@ 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); + 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); result.issue_ = issue_; result.labeledConversationsCount_ = labeledConversationsCount_; result.displayName_ = displayName_; @@ -654,46 +728,54 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats 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_; onChanged(); @@ -720,11 +802,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = null; + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,6 +821,8 @@ public Builder mergeFrom( private java.lang.Object issue_ = ""; /** + * + * *
        * Issue resource.
        * Format:
@@ -743,13 +830,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; @@ -758,6 +845,8 @@ public java.lang.String getIssue() { } } /** + * + * *
        * Issue resource.
        * Format:
@@ -765,15 +854,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 { @@ -781,6 +869,8 @@ public java.lang.String getIssue() { } } /** + * + * *
        * Issue resource.
        * Format:
@@ -788,20 +878,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) { + public Builder setIssue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issue_ = value; onChanged(); return this; } /** + * + * *
        * Issue resource.
        * Format:
@@ -809,15 +901,18 @@ public Builder setIssue(
        * 
* * string issue = 1; + * * @return This builder for chaining. */ public Builder clearIssue() { - + issue_ = getDefaultInstance().getIssue(); onChanged(); return this; } /** + * + * *
        * Issue resource.
        * Format:
@@ -825,28 +920,31 @@ 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) { + public Builder setIssueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issue_ = value; onChanged(); 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 @@ -854,30 +952,36 @@ 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; 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() { - + labeledConversationsCount_ = 0L; onChanged(); return this; @@ -885,18 +989,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; @@ -905,20 +1011,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 { @@ -926,58 +1033,66 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * Display name of the issue.
        * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -990,30 +1105,33 @@ 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 { - return new IssueStats(input, extensionRegistry); - } - }; + 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 { + return new IssueStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1025,20 +1143,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_; /** + * + * *
    * Number of conversations the issue model has analyzed at this point in time.
    * 
* * int64 analyzed_conversations_count = 1; + * * @return The analyzedConversationsCount. */ @java.lang.Override @@ -1049,12 +1170,15 @@ public long getAnalyzedConversationsCount() { public static final int UNCLASSIFIED_CONVERSATIONS_COUNT_FIELD_NUMBER = 2; 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 @@ -1063,24 +1187,36 @@ 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()); } + + 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 - internalGetIssueStats() { + 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_; } @@ -1089,70 +1225,96 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1160,6 +1322,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1171,20 +1334,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); unknownFields.writeTo(output); } @@ -1195,22 +1353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1220,19 +1384,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1245,11 +1408,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(); @@ -1260,139 +1421,147 @@ 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() @@ -1400,16 +1569,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1422,13 +1590,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(); } @@ -1443,7 +1612,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats result = + new com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats(this); int from_bitField0_ = bitField0_; result.analyzedConversationsCount_ = analyzedConversationsCount_; result.unclassifiedConversationsCount_ = unclassifiedConversationsCount_; @@ -1457,38 +1627,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats buildParti 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; @@ -1496,15 +1667,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()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1524,7 +1696,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1533,15 +1707,19 @@ public Builder mergeFrom( } 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 @@ -1549,43 +1727,52 @@ 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; 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() { - + analyzedConversationsCount_ = 0L; onChanged(); 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 @@ -1593,53 +1780,68 @@ 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; 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() { - + unclassifiedConversationsCount_ = 0L; onChanged(); return this; } 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 issueStats_; } - private com.google.protobuf.MapField - internalGetMutableIssueStats() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + internalGetMutableIssueStats() { + onChanged(); + ; 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(); @@ -1651,70 +1853,97 @@ 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 com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats getIssueStatsOrDefault( - java.lang.String key, - com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIssueStats().getMap(); + public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats + getIssueStatsOrDefault( + java.lang.String key, + 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(); } @@ -1722,69 +1951,81 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats } public Builder clearIssueStats() { - 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 - getMutableIssueStats() { + public java.util.Map< + java.lang.String, + com.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats> + getMutableIssueStats() { 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 (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableIssueStats().getMutableMap() - .put(key, value); + internalGetMutableIssueStats().getMutableMap().put(key, value); 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); 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); } @@ -1794,30 +2035,32 @@ 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 { - return new IssueModelLabelStats(input, extensionRegistry); - } - }; + 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 { + return new IssueModelLabelStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1829,9 +2072,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java new file mode 100644 index 00000000..72971003 --- /dev/null +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelLabelStatsOrBuilder.java @@ -0,0 +1,128 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java index 8055bc6d..89d4e48f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelOrBuilder.java +++ b/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,155 +47,219 @@ 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. 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java index 676eafbe..c03e981e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResult.java +++ b/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,16 +44,15 @@ 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; } + private IssueModelResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private IssueModelResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - issueModel_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + issueModel_ = s; + break; } - issues_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.IssueAssignment>(); + mutable_bitField0_ |= 0x00000001; + } + issues_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueAssignment.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private IssueModelResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -94,28 +116,34 @@ private IssueModelResult( makeExtensionsImmutable(); } } - 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; 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 @@ -124,30 +152,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 { @@ -158,6 +186,8 @@ public java.lang.String getIssueModel() { public static final int ISSUES_FIELD_NUMBER = 2; private java.util.List issues_; /** + * + * *
    * All the matched issues.
    * 
@@ -169,6 +199,8 @@ public java.util.List return issues_; } /** + * + * *
    * All the matched issues.
    * 
@@ -176,11 +208,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.
    * 
@@ -192,6 +227,8 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * All the matched issues.
    * 
@@ -203,6 +240,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i return issues_.get(index); } /** + * + * *
    * All the matched issues.
    * 
@@ -216,6 +255,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,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_); } @@ -248,8 +287,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -259,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +330,127 @@ 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() @@ -411,17 +458,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +484,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 @@ -458,7 +505,8 @@ 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); int from_bitField0_ = bitField0_; result.issueModel_ = issueModel_; if (issuesBuilder_ == null) { @@ -478,38 +526,39 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelResult 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.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; @@ -517,7 +566,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_; onChanged(); @@ -540,9 +590,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.IssueModelRes 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_); } @@ -567,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.IssueModelResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,23 +628,26 @@ public Builder mergeFrom( } 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; @@ -601,21 +656,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 { @@ -623,82 +679,98 @@ 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) { + public Builder setIssueModel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issueModel_ = value; 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() { - + issueModel_ = getDefaultInstance().getIssueModel(); 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) = { ... } + * * @param value The bytes for issueModel to set. * @return This builder for chaining. */ - public Builder setIssueModelBytes( - com.google.protobuf.ByteString value) { + public Builder setIssueModelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issueModel_ = value; onChanged(); return this; } 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_); + issues_ = + new java.util.ArrayList( + issues_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -706,6 +778,8 @@ public java.util.List } } /** + * + * *
      * All the matched issues.
      * 
@@ -720,6 +794,8 @@ public int getIssuesCount() { } } /** + * + * *
      * All the matched issues.
      * 
@@ -734,6 +810,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment getIssues(int i } } /** + * + * *
      * All the matched issues.
      * 
@@ -755,6 +833,8 @@ public Builder setIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -762,7 +842,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()); @@ -773,6 +854,8 @@ public Builder setIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -793,6 +876,8 @@ public Builder addIssues(com.google.cloud.contactcenterinsights.v1.IssueAssignme return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -814,6 +899,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -832,6 +919,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -839,7 +928,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()); @@ -850,6 +940,8 @@ public Builder addIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -857,11 +949,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); @@ -869,6 +961,8 @@ public Builder addAllIssues( return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -886,6 +980,8 @@ public Builder clearIssues() { return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -903,6 +999,8 @@ public Builder removeIssues(int index) { return this; } /** + * + * *
      * All the matched issues.
      * 
@@ -914,6 +1012,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignment.Builder getIssu return getIssuesFieldBuilder().getBuilder(index); } /** + * + * *
      * All the matched issues.
      * 
@@ -923,19 +1023,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 { @@ -943,6 +1047,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueAssignmentOrBuilder getIss } } /** + * + * *
      * All the matched issues.
      * 
@@ -950,10 +1056,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.
      * 
@@ -962,37 +1071,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_ & 0x00000001) != 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_ & 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); } @@ -1002,12 +1118,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(); } @@ -1016,16 +1132,16 @@ 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 { - return new IssueModelResult(input, extensionRegistry); - } - }; + 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 { + return new IssueModelResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.IssueModelResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java index 42f59e84..ae71726a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueModelResultOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java index 821dd050..86d884d5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IssueOrBuilder.java +++ b/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,82 +47,109 @@ 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(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java index e79fc153..8d6457bc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequest.java +++ b/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,16 +45,15 @@ 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; } + private ListAnalysesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListAnalysesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,41 @@ private ListAnalysesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -128,29 +155,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 { @@ -161,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -169,6 +200,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -179,6 +211,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -186,6 +220,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -194,14 +229,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
@@ -209,16 +245,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 { @@ -229,12 +264,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -243,30 +281,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 { @@ -275,6 +313,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +325,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_); } @@ -313,8 +351,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_); @@ -330,21 +367,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,117 +404,127 @@ 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() @@ -488,16 +532,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -513,13 +556,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(); } @@ -534,7 +578,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest result = + new com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -547,38 +592,39 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest buildPartia 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; @@ -586,7 +632,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_; onChanged(); @@ -621,7 +669,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListAnalysesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,18 +683,22 @@ public Builder mergeFrom( 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; @@ -653,20 +707,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 { @@ -674,61 +731,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -737,6 +809,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -744,6 +817,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
@@ -752,16 +827,19 @@ 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; 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
@@ -770,10 +848,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -781,6 +860,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
@@ -788,13 +869,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; @@ -803,6 +884,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
@@ -810,15 +893,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 { @@ -826,6 +908,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
@@ -833,20 +917,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -854,15 +940,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListAnalysesResponse`; indicates
      * that this is a continuation of a prior `ListAnalyses` call and
@@ -870,16 +959,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -887,19 +976,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; @@ -908,21 +999,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 { @@ -930,64 +1022,71 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -997,12 +1096,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(); } @@ -1011,16 +1111,16 @@ 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 { - return new ListAnalysesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java index 6b6a7056..09eec901 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java index 57bd6f38..da59f266 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListAnalysesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListAnalysesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - analyses_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + analyses_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + analyses_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Analysis.parser(), + extensionRegistry)); + break; } - analyses_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Analysis.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListAnalysesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { analyses_ = java.util.Collections.unmodifiableList(analyses_); @@ -94,22 +115,27 @@ private ListAnalysesResponse( makeExtensionsImmutable(); } } - 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; private java.util.List analyses_; /** + * + * *
    * The analyses that match the request.
    * 
@@ -121,6 +147,8 @@ public java.util.List getAna return analyses_; } /** + * + * *
    * The analyses that match the request.
    * 
@@ -128,11 +156,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.
    * 
@@ -144,6 +174,8 @@ public int getAnalysesCount() { return analyses_.size(); } /** + * + * *
    * The analyses that match the request.
    * 
@@ -155,6 +187,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) return analyses_.get(index); } /** + * + * *
    * The analyses that match the request.
    * 
@@ -170,12 +204,15 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -184,30 +221,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 { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 { for (int i = 0; i < analyses_.size(); i++) { output.writeMessage(1, analyses_.get(i)); } @@ -245,8 +282,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_); @@ -259,17 +295,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ 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() @@ -411,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAnalysesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,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(); } @@ -458,7 +504,8 @@ 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); int from_bitField0_ = bitField0_; if (analysesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +525,39 @@ public com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse buildParti 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; @@ -517,7 +565,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()) { @@ -536,9 +586,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_); } @@ -567,7 +618,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListAnalysesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +629,29 @@ public Builder mergeFrom( } 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.
      * 
@@ -605,6 +666,8 @@ public java.util.List getAna } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -619,6 +682,8 @@ public int getAnalysesCount() { } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -633,6 +698,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis getAnalyses(int index) } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -654,6 +721,8 @@ public Builder setAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -672,6 +741,8 @@ public Builder setAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -692,6 +763,8 @@ public Builder addAnalyses(com.google.cloud.contactcenterinsights.v1.Analysis va return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -713,6 +786,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -731,6 +806,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -749,6 +826,8 @@ public Builder addAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -759,8 +838,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); @@ -768,6 +846,8 @@ public Builder addAllAnalyses( return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -785,6 +865,8 @@ public Builder clearAnalyses() { return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -802,6 +884,8 @@ public Builder removeAnalyses(int index) { return this; } /** + * + * *
      * The analyses that match the request.
      * 
@@ -813,6 +897,8 @@ public com.google.cloud.contactcenterinsights.v1.Analysis.Builder getAnalysesBui return getAnalysesFieldBuilder().getBuilder(index); } /** + * + * *
      * The analyses that match the request.
      * 
@@ -822,19 +908,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 { @@ -842,6 +931,8 @@ public com.google.cloud.contactcenterinsights.v1.AnalysisOrBuilder getAnalysesOr } } /** + * + * *
      * The analyses that match the request.
      * 
@@ -849,10 +940,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.
      * 
@@ -861,30 +954,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_; @@ -892,19 +991,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; @@ -913,21 +1014,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 { @@ -935,64 +1037,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,30 +1111,32 @@ 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 { - return new ListAnalysesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListAnalysesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1148,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java index 69b4f19d..6a12df1b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListAnalysesResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java index a4b07a7f..8de30a9b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequest.java +++ b/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,16 +46,15 @@ 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; } + private ListConversationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListConversationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 40: { - int rawValue = input.readEnum(); + filter_ = s; + break; + } + case 40: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,41 @@ private ListConversationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -135,29 +163,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 { @@ -168,6 +198,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -176,6 +208,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -186,6 +219,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -193,6 +228,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -201,14 +237,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
@@ -216,16 +253,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 { @@ -236,12 +272,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -250,30 +289,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 { @@ -284,31 +323,43 @@ public java.lang.String getFilter() { public static final int VIEW_FIELD_NUMBER = 5; private int view_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationView getView() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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; @@ -320,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -334,7 +384,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_); } unknownFields.writeTo(output); @@ -350,8 +402,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_); @@ -359,9 +410,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,21 +423,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; + 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 (!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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -414,134 +463,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListConversationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -559,14 +619,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 @@ -580,7 +642,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListConversationsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListConversationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -594,46 +657,51 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsRequest 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.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_; onChanged(); @@ -671,7 +739,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListConversationsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,18 +753,22 @@ public Builder mergeFrom( 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; @@ -703,20 +777,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 { @@ -724,61 +801,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -787,6 +879,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -794,6 +887,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
@@ -802,16 +897,19 @@ 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; 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
@@ -820,10 +918,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -831,6 +930,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
@@ -838,13 +939,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; @@ -853,6 +954,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
@@ -860,15 +963,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 { @@ -876,6 +978,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
@@ -883,20 +987,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -904,15 +1010,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListConversationsResponse`. This value
      * indicates that this is a continuation of a prior `ListConversations` call
@@ -920,16 +1029,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -937,19 +1046,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; @@ -958,21 +1069,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 { @@ -980,57 +1092,64 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1038,51 +1157,67 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationView result = com.google.cloud.contactcenterinsights.v1.ConversationView.valueOf(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.valueOf(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. */ @@ -1090,28 +1225,31 @@ public Builder setView(com.google.cloud.contactcenterinsights.v1.ConversationVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -1121,30 +1259,32 @@ 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 { - return new ListConversationsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,9 +1296,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java index 7b83921e..0d4608e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java index 07d3c19d..a2661aa9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListConversationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListConversationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conversations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conversations_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.Conversation>(); + mutable_bitField0_ |= 0x00000001; + } + conversations_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry)); + break; } - conversations_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListConversationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conversations_ = java.util.Collections.unmodifiableList(conversations_); @@ -94,22 +116,27 @@ private ListConversationsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List conversations_; /** + * + * *
    * The conversations that match the request.
    * 
@@ -117,10 +144,13 @@ private ListConversationsResponse( * 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.
    * 
@@ -128,11 +158,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.
    * 
@@ -144,6 +176,8 @@ public int getConversationsCount() { return conversations_.size(); } /** + * + * *
    * The conversations that match the request.
    * 
@@ -155,6 +189,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i return conversations_.get(index); } /** + * + * *
    * The conversations that match the request.
    * 
@@ -170,6 +206,8 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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
@@ -177,6 +215,7 @@ public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder getConver
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -185,14 +224,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
@@ -200,16 +240,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 { @@ -218,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +269,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)); } @@ -247,8 +286,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_); @@ -261,17 +299,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,135 +332,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListConversationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConversationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +488,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 @@ -460,7 +511,8 @@ 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); int from_bitField0_ = bitField0_; if (conversationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -480,46 +532,51 @@ public com.google.cloud.contactcenterinsights.v1.ListConversationsResponse build 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()) { @@ -538,9 +595,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_); } @@ -569,7 +627,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListConversationsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,28 +638,38 @@ public Builder mergeFrom( } 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 { @@ -607,6 +677,8 @@ public java.util.List ge } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -621,6 +693,8 @@ public int getConversationsCount() { } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -635,6 +709,8 @@ public com.google.cloud.contactcenterinsights.v1.Conversation getConversations(i } } /** + * + * *
      * The conversations that match the request.
      * 
@@ -656,6 +732,8 @@ public Builder setConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -674,6 +752,8 @@ public Builder setConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -694,6 +774,8 @@ public Builder addConversations(com.google.cloud.contactcenterinsights.v1.Conver return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -715,6 +797,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -733,6 +817,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -751,6 +837,8 @@ public Builder addConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -758,11 +846,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); @@ -770,6 +858,8 @@ public Builder addAllConversations( return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -787,6 +877,8 @@ public Builder clearConversations() { return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -804,6 +896,8 @@ public Builder removeConversations(int index) { return this; } /** + * + * *
      * The conversations that match the request.
      * 
@@ -815,28 +909,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 { @@ -844,17 +943,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.
      * 
@@ -863,26 +967,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(), @@ -894,6 +1007,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
@@ -901,13 +1016,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; @@ -916,6 +1031,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
@@ -923,15 +1040,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 { @@ -939,6 +1055,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
@@ -946,20 +1064,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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -967,15 +1087,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -983,23 +1106,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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1009,30 +1132,32 @@ 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 { - return new ListConversationsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListConversationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1044,9 +1169,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java index 6dd89e46..c0748e01 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListConversationsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java index 87fe8620..79f7f147 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private ListIssueModelsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ListIssueModelsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private ListIssueModelsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest buildPar 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_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssueModelsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( 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; @@ -467,20 +515,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 { @@ -488,61 +539,74 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -552,30 +616,32 @@ 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 { - return new ListIssueModelsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsRequestOrBuilder.java new file mode 100644 index 00000000..30697135 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java index 225f0b04..aeda2c71 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponse.java @@ -1,40 +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; } + private ListIssueModelsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,26 @@ private ListIssueModelsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issueModels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issueModels_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + issueModels_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry)); + break; } - issueModels_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +98,7 @@ private ListIssueModelsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issueModels_ = java.util.Collections.unmodifiableList(issueModels_); @@ -87,22 +107,27 @@ private ListIssueModelsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List issueModels_; /** + * + * *
    * The issue models that match the request.
    * 
@@ -114,6 +139,8 @@ public java.util.List getI return issueModels_; } /** + * + * *
    * The issue models that match the request.
    * 
@@ -121,11 +148,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.
    * 
@@ -137,6 +166,8 @@ public int getIssueModelsCount() { return issueModels_.size(); } /** + * + * *
    * The issue models that match the request.
    * 
@@ -148,6 +179,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i return issueModels_.get(index); } /** + * + * *
    * The issue models that match the request.
    * 
@@ -161,6 +194,7 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,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 < issueModels_.size(); i++) { output.writeMessage(1, issueModels_.get(i)); } @@ -187,8 +220,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +230,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,135 +260,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIssueModelsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,13 +414,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(); } @@ -391,7 +436,8 @@ 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); int from_bitField0_ = bitField0_; if (issueModelsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,46 +456,50 @@ public com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse buildPa 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()) { @@ -468,9 +518,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_); } @@ -495,7 +546,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,28 +557,38 @@ public Builder mergeFrom( } 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 { @@ -533,6 +596,8 @@ public java.util.List getI } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -547,6 +612,8 @@ public int getIssueModelsCount() { } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -561,6 +628,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel getIssueModels(int i } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -582,6 +651,8 @@ public Builder setIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -600,6 +671,8 @@ public Builder setIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -620,6 +693,8 @@ public Builder addIssueModels(com.google.cloud.contactcenterinsights.v1.IssueMod return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -641,6 +716,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -659,6 +736,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -677,6 +756,8 @@ public Builder addIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -687,8 +768,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); @@ -696,6 +776,8 @@ public Builder addAllIssueModels( return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -713,6 +795,8 @@ public Builder clearIssueModels() { return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -730,6 +814,8 @@ public Builder removeIssueModels(int index) { return this; } /** + * + * *
      * The issue models that match the request.
      * 
@@ -741,6 +827,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModel.Builder getIssueMode return getIssueModelsFieldBuilder().getBuilder(index); } /** + * + * *
      * The issue models that match the request.
      * 
@@ -750,19 +838,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 { @@ -770,6 +861,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod } } /** + * + * *
      * The issue models that match the request.
      * 
@@ -777,10 +870,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.
      * 
@@ -789,37 +884,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); } @@ -829,30 +930,32 @@ 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 { - return new ListIssueModelsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssueModelsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,9 +967,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java index 103f31aa..283c8863 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssueModelsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java index fb307519..61af9e35 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequest.java @@ -1,40 +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; /** + * + * *
  * 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; } + private ListIssuesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ListIssuesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + parent_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private ListIssuesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,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 @@ -362,7 +398,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); + com.google.cloud.contactcenterinsights.v1.ListIssuesRequest result = + new com.google.cloud.contactcenterinsights.v1.ListIssuesRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest 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.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; @@ -411,7 +449,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_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssuesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( 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; @@ -467,20 +511,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 { @@ -488,61 +535,74 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = 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); } @@ -552,12 +612,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(); } @@ -566,16 +626,16 @@ 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 { - return new ListIssuesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesRequestOrBuilder.java new file mode 100644 index 00000000..3585c15e --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java index 4f6ac7ee..b00211e9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponse.java @@ -1,40 +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; } + private ListIssuesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,25 @@ private ListIssuesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - issues_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + issues_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + issues_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); + break; } - issues_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +97,7 @@ private ListIssuesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { issues_ = java.util.Collections.unmodifiableList(issues_); @@ -87,22 +106,27 @@ private ListIssuesResponse( makeExtensionsImmutable(); } } - 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; private java.util.List issues_; /** + * + * *
    * The issues that match the request.
    * 
@@ -114,6 +138,8 @@ public java.util.List getIssues return issues_; } /** + * + * *
    * The issues that match the request.
    * 
@@ -121,11 +147,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.
    * 
@@ -137,6 +165,8 @@ public int getIssuesCount() { return issues_.size(); } /** + * + * *
    * The issues that match the request.
    * 
@@ -148,6 +178,8 @@ public com.google.cloud.contactcenterinsights.v1.Issue getIssues(int index) { return issues_.get(index); } /** + * + * *
    * The issues that match the request.
    * 
@@ -155,12 +187,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; @@ -172,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 { for (int i = 0; i < issues_.size(); i++) { output.writeMessage(1, issues_.get(i)); } @@ -187,8 +218,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,15 +228,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,117 +258,127 @@ 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() @@ -346,17 +386,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIssuesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,13 +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_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(); } @@ -391,7 +432,8 @@ 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); int from_bitField0_ = bitField0_; if (issuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -410,38 +452,39 @@ public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse 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.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; @@ -449,7 +492,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()) { @@ -468,9 +513,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_); } @@ -495,7 +541,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListIssuesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -504,21 +551,28 @@ public Builder mergeFrom( } 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.
      * 
@@ -533,6 +587,8 @@ public java.util.List getIssues } } /** + * + * *
      * The issues that match the request.
      * 
@@ -547,6 +603,8 @@ public int getIssuesCount() { } } /** + * + * *
      * The issues that match the request.
      * 
@@ -561,14 +619,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(); @@ -582,6 +641,8 @@ public Builder setIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -600,6 +661,8 @@ public Builder setIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -620,14 +683,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(); @@ -641,6 +705,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -659,6 +725,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -677,6 +745,8 @@ public Builder addIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -687,8 +757,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); @@ -696,6 +765,8 @@ public Builder addAllIssues( return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -713,6 +784,8 @@ public Builder clearIssues() { return this; } /** + * + * *
      * The issues that match the request.
      * 
@@ -730,39 +803,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 { @@ -770,6 +848,8 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssuesOrBuild } } /** + * + * *
      * The issues that match the request.
      * 
@@ -777,49 +857,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); } @@ -829,12 +915,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(); } @@ -843,16 +930,16 @@ 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 { - return new ListIssuesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListIssuesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,6 +954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListIssuesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java index 47d11797..11fb517f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListIssuesResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java index 0ec6358f..1be89107 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequest.java +++ b/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,16 +45,15 @@ 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; } + private ListPhraseMatchersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListPhraseMatchersRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,41 @@ private ListPhraseMatchersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -128,29 +155,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 { @@ -161,6 +190,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -169,6 +200,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -179,6 +211,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -186,6 +220,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -194,14 +229,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
@@ -209,16 +245,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 { @@ -229,12 +264,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; 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 @@ -243,30 +281,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 { @@ -275,6 +313,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +325,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_); } @@ -313,8 +351,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_); @@ -330,21 +367,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; - - 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -370,134 +404,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -513,14 +558,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 @@ -534,7 +581,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest result = + new com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -547,46 +595,51 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest build 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_; onChanged(); @@ -621,7 +674,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -633,18 +688,22 @@ public Builder mergeFrom( 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; @@ -653,20 +712,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 { @@ -674,61 +736,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -737,6 +814,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -744,6 +822,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
@@ -752,16 +832,19 @@ 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; 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
@@ -770,10 +853,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -781,6 +865,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
@@ -788,13 +874,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; @@ -803,6 +889,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
@@ -810,15 +898,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 { @@ -826,6 +913,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
@@ -833,20 +922,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -854,15 +945,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListPhraseMatchersResponse`. This value
      * indicates that this is a continuation of a prior `ListPhraseMatchers` call
@@ -870,16 +964,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -887,19 +981,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; @@ -908,21 +1004,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 { @@ -930,64 +1027,71 @@ 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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; 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() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = 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); } @@ -997,30 +1101,32 @@ 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 { - return new ListPhraseMatchersRequest(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1032,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java index e3553062..fc6c4aec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java index 25650c58..c8f7a57e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListPhraseMatchersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListPhraseMatchersResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchers_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.PhraseMatcher>(); + mutable_bitField0_ |= 0x00000001; + } + phraseMatchers_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry)); + break; } - phraseMatchers_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListPhraseMatchersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchers_ = java.util.Collections.unmodifiableList(phraseMatchers_); @@ -94,22 +116,27 @@ private ListPhraseMatchersResponse( makeExtensionsImmutable(); } } - 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; private java.util.List phraseMatchers_; /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -117,10 +144,13 @@ private ListPhraseMatchersResponse( * 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.
    * 
@@ -128,11 +158,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.
    * 
@@ -144,6 +176,8 @@ public int getPhraseMatchersCount() { return phraseMatchers_.size(); } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -155,6 +189,8 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getPhraseMatchers return phraseMatchers_.get(index); } /** + * + * *
    * The phrase matchers that match the request.
    * 
@@ -162,20 +198,23 @@ 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; 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 @@ -184,30 +223,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 { @@ -216,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,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)); } @@ -245,8 +284,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_); @@ -259,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +330,147 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPhraseMatchersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +486,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 @@ -458,7 +509,8 @@ 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); int from_bitField0_ = bitField0_; if (phraseMatchersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +530,51 @@ public com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse 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.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()) { @@ -536,9 +593,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_); } @@ -567,7 +625,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListPhraseMatchersResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +636,39 @@ public Builder mergeFrom( } 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 { @@ -605,11 +676,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) { @@ -619,11 +693,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) { @@ -633,11 +710,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) { @@ -654,14 +734,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()); @@ -672,13 +756,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(); @@ -692,11 +780,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) { @@ -713,11 +804,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) { @@ -731,14 +825,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()); @@ -749,18 +847,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); @@ -768,11 +869,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) { @@ -785,11 +889,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) { @@ -802,39 +909,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 { @@ -842,45 +960,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(), @@ -892,19 +1027,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; @@ -913,21 +1050,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 { @@ -935,64 +1073,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,30 +1147,32 @@ 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 { - return new ListPhraseMatchersResponse(input, extensionRegistry); - } - }; + 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 { + return new ListPhraseMatchersResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1184,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java index 0a61b739..3cc8ae94 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListPhraseMatchersResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java index 4cf01d08..078b23a9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequest.java +++ b/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,16 +44,15 @@ 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; } + private ListViewsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListViewsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListViewsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -121,29 +147,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 { @@ -154,6 +182,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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
@@ -162,6 +192,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -172,6 +203,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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
@@ -179,6 +212,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -187,14 +221,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
@@ -202,16 +237,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 { @@ -220,6 +254,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,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_); } @@ -255,8 +289,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_); @@ -269,19 +302,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,117 +336,127 @@ 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() @@ -423,16 +464,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +486,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 @@ -467,7 +507,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); + com.google.cloud.contactcenterinsights.v1.ListViewsRequest result = + new com.google.cloud.contactcenterinsights.v1.ListViewsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -479,38 +520,39 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsRequest 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.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; @@ -518,7 +560,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_; onChanged(); @@ -549,7 +592,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListViewsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -561,18 +605,22 @@ public Builder mergeFrom( 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; @@ -581,20 +629,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 { @@ -602,61 +653,76 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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
@@ -665,6 +731,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -672,6 +739,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
@@ -680,16 +749,19 @@ 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; 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
@@ -698,10 +770,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +782,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
@@ -716,13 +791,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; @@ -731,6 +806,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
@@ -738,15 +815,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 { @@ -754,6 +830,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
@@ -761,20 +839,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -782,15 +862,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListViewsResponse`; indicates
      * that this is a continuation of a prior `ListViews` call and
@@ -798,23 +881,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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -824,12 +907,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(); } @@ -838,16 +921,16 @@ 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 { - return new ListViewsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListViewsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -862,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java index 30af1d72..ea56b54c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java index 503e9a51..25f9979c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponse.java +++ b/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,16 +44,15 @@ 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; } + private ListViewsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListViewsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - views_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + views_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + views_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); + break; } - views_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListViewsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { views_ = java.util.Collections.unmodifiableList(views_); @@ -94,22 +113,27 @@ private ListViewsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List views_; /** + * + * *
    * The views that match the request.
    * 
@@ -121,6 +145,8 @@ public java.util.List getViewsLi return views_; } /** + * + * *
    * The views that match the request.
    * 
@@ -128,11 +154,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.
    * 
@@ -144,6 +172,8 @@ public int getViewsCount() { return views_.size(); } /** + * + * *
    * The views that match the request.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.contactcenterinsights.v1.View getViews(int index) { return views_.get(index); } /** + * + * *
    * The views that match the request.
    * 
@@ -162,20 +194,22 @@ 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; 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 @@ -184,30 +218,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 { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 { for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } @@ -245,8 +279,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_); @@ -259,17 +292,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ 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() @@ -411,17 +453,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getViewsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,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 @@ -458,7 +500,8 @@ 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); int from_bitField0_ = bitField0_; if (viewsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.cloud.contactcenterinsights.v1.ListViewsResponse 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.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; @@ -517,7 +561,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()) { @@ -536,9 +581,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_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.ListViewsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } 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.
      * 
@@ -605,6 +659,8 @@ public java.util.List getViewsLi } } /** + * + * *
      * The views that match the request.
      * 
@@ -619,6 +675,8 @@ public int getViewsCount() { } } /** + * + * *
      * The views that match the request.
      * 
@@ -633,14 +691,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(); @@ -654,6 +713,8 @@ public Builder setViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -672,6 +733,8 @@ public Builder setViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -692,14 +755,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(); @@ -713,6 +777,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -731,6 +797,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -749,6 +817,8 @@ public Builder addViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -759,8 +829,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); @@ -768,6 +837,8 @@ public Builder addAllViews( return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -785,6 +856,8 @@ public Builder clearViews() { return this; } /** + * + * *
      * The views that match the request.
      * 
@@ -802,39 +875,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 { @@ -842,6 +920,8 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewsOrBuilder } } /** + * + * *
      * The views that match the request.
      * 
@@ -849,42 +929,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_; @@ -892,19 +978,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; @@ -913,21 +1001,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 { @@ -935,64 +1024,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1002,12 +1098,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(); } @@ -1016,16 +1112,16 @@ 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 { - return new ListViewsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListViewsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1136,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.ListViewsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java index 864c9352..7bdecae0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ListViewsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java index 6afcbcfd..eccc901e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchData.java +++ b/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,16 +45,15 @@ 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;
   }
+
   private PhraseMatchData(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private PhraseMatchData(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            phraseMatcher_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              phraseMatcher_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            displayName_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              displayName_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,34 +100,39 @@ private PhraseMatchData(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -117,29 +141,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 { @@ -150,11 +174,14 @@ public java.lang.String getPhraseMatcher() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -163,29 +190,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 { @@ -194,6 +221,7 @@ public java.lang.String getDisplayName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +233,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_); } @@ -236,17 +263,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,96 +294,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.
@@ -365,21 +399,23 @@ 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()
@@ -387,16 +423,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -408,9 +443,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
@@ -429,7 +464,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);
+      com.google.cloud.contactcenterinsights.v1.PhraseMatchData result =
+          new com.google.cloud.contactcenterinsights.v1.PhraseMatchData(this);
       result.phraseMatcher_ = phraseMatcher_;
       result.displayName_ = displayName_;
       onBuilt();
@@ -440,38 +476,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData 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.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;
@@ -479,7 +516,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_;
         onChanged();
@@ -507,7 +545,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -519,18 +558,20 @@ public Builder mergeFrom(
 
     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; @@ -539,20 +580,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 { @@ -560,54 +602,61 @@ 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) { + public Builder setPhraseMatcher(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + phraseMatcher_ = value; 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() { - + phraseMatcher_ = getDefaultInstance().getPhraseMatcher(); onChanged(); 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) { + public Builder setPhraseMatcherBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + phraseMatcher_ = value; onChanged(); return this; @@ -615,18 +664,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; @@ -635,20 +686,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 { @@ -656,61 +708,68 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = 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); } @@ -720,12 +779,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(); } @@ -734,16 +793,16 @@ 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 { - return new PhraseMatchData(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,6 +817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java index b751257f..0367f2ef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java index a09eba4a..e9574d5c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRule.java @@ -1,40 +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 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; } + private PhraseMatchRule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,37 +70,43 @@ private PhraseMatchRule( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - query_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - negated_ = input.readBool(); - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = null; - if (config_ != null) { - subBuilder = config_.toBuilder(); + query_ = s; + break; } - config_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(config_); - config_ = subBuilder.buildPartial(); + case 16: + { + negated_ = input.readBool(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.Builder subBuilder = + null; + if (config_ != null) { + subBuilder = config_.toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(config_); + config_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,34 +114,39 @@ private PhraseMatchRule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -127,29 +155,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 { @@ -160,12 +188,15 @@ public java.lang.String getQuery() { public static final int NEGATED_FIELD_NUMBER = 2; 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 @@ -176,12 +207,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 @@ -189,19 +223,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.
@@ -210,11 +251,13 @@ 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() {
+  public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfigOrBuilder
+      getConfigOrBuilder() {
     return getConfig();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -226,8 +269,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_);
     }
@@ -250,12 +292,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -265,21 +305,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -295,8 +333,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();
@@ -307,117 +344,127 @@ 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() @@ -425,16 +472,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +498,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 @@ -473,7 +519,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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatchRule(this); result.query_ = query_; result.negated_ = negated_; if (configBuilder_ == null) { @@ -489,38 +536,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule 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.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; @@ -528,7 +576,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_; onChanged(); @@ -558,7 +607,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -570,18 +620,20 @@ public Builder mergeFrom( 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; @@ -590,20 +642,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 { @@ -611,67 +664,77 @@ 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) { + public Builder setQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + query_ = value; 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() { - + query_ = getDefaultInstance().getQuery(); onChanged(); 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) { + public Builder setQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + query_ = value; onChanged(); 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 @@ -679,32 +742,38 @@ 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; 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() { - + negated_ = false; onChanged(); return this; @@ -712,36 +781,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 configBuilder_ != null || 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. */ 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.
@@ -749,7 +831,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();
@@ -763,6 +846,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.
@@ -782,6 +867,8 @@ public Builder setConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -789,11 +876,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 (config_ != null) {
           config_ =
-            com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_).mergeFrom(value).buildPartial();
+              com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig.newBuilder(config_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           config_ = value;
         }
@@ -805,6 +895,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.
@@ -824,6 +916,8 @@ public Builder clearConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -831,12 +925,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() {
+
       onChanged();
       return getConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Provides additional information about the rule that specifies how to apply
      * the rule.
@@ -844,15 +941,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.
@@ -861,21 +962,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);
     }
 
@@ -885,12 +989,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();
   }
@@ -899,16 +1003,16 @@ 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 {
-      return new PhraseMatchRule(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new PhraseMatchRule(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -923,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.contactcenterinsights.v1.PhraseMatchRule getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
index 32569ebb..fa362dbc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
+++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfig.java
@@ -1,39 +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;
 
 /**
+ *
+ *
  * 
  * 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; } + private PhraseMatchRuleConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +68,33 @@ private PhraseMatchRuleConfig( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; - if (configCase_ == 1) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_).toBuilder(); + case 10: + { + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.Builder subBuilder = null; + if (configCase_ == 1) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_) + .toBuilder(); + } + config_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); + config_ = subBuilder.buildPartial(); + } + configCase_ = 1; + break; } - config_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.ExactMatchConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ExactMatchConfig) config_); - config_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - configCase_ = 1; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +102,39 @@ private PhraseMatchRuleConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; } @@ -123,29 +150,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 @@ -153,21 +185,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.
    * 
@@ -175,14 +212,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; @@ -194,8 +233,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_); } @@ -209,8 +247,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,18 +259,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: @@ -261,117 +300,127 @@ 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() @@ -379,16 +428,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,13 +446,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(); } @@ -419,7 +468,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig result = + new com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig(this); if (configCase_ == 1) { if (exactMatchConfigBuilder_ == null) { result.config_ = config_; @@ -436,54 +486,60 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig buildPart 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.unknownFields); onChanged(); @@ -504,7 +560,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -513,12 +571,12 @@ public Builder mergeFrom( } 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() { @@ -528,15 +586,20 @@ public Builder clearConfig() { return this; } - 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 @@ -544,11 +607,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 @@ -566,13 +632,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(); @@ -586,6 +655,8 @@ public Builder setExactMatchConfig(com.google.cloud.contactcenterinsights.v1.Exa return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -604,18 +675,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; } @@ -631,6 +710,8 @@ public Builder mergeExactMatchConfig(com.google.cloud.contactcenterinsights.v1.E return this; } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -654,16 +735,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.
      * 
@@ -671,7 +757,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 { @@ -682,6 +769,8 @@ public com.google.cloud.contactcenterinsights.v1.ExactMatchConfigOrBuilder getEx } } /** + * + * *
      * The configuration for the exact match rule.
      * 
@@ -689,26 +778,32 @@ 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()); config_ = null; } configCase_ = 1; - onChanged();; + 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); } @@ -718,30 +813,32 @@ 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 { - return new PhraseMatchRuleConfig(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,9 +850,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java index d3c30df2..d14c4657 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleConfigOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java index 0c7e340f..9a9382ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroup.java +++ b/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,16 +44,15 @@ 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; } + private PhraseMatchRuleGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private PhraseMatchRuleGroup( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRules_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + type_ = rawValue; + break; } - phraseMatchRules_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRules_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule>(); + mutable_bitField0_ |= 0x00000001; + } + phraseMatchRules_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRule.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private PhraseMatchRuleGroup( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRules_ = java.util.Collections.unmodifiableList(phraseMatchRules_); @@ -94,30 +116,37 @@ private PhraseMatchRuleGroup( makeExtensionsImmutable(); } } - 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.
      * 
@@ -126,6 +155,8 @@ public enum PhraseMatchRuleGroupType */ PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED(0), /** + * + * *
      * Must meet all phrase match rules or there is no match.
      * 
@@ -134,6 +165,8 @@ public enum PhraseMatchRuleGroupType */ ALL_OF(1), /** + * + * *
      * If any of the phrase match rules are met, there is a match.
      * 
@@ -145,6 +178,8 @@ public enum PhraseMatchRuleGroupType ; /** + * + * *
      * Unspecified.
      * 
@@ -153,6 +188,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.
      * 
@@ -161,6 +198,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.
      * 
@@ -169,7 +208,6 @@ public enum PhraseMatchRuleGroupType */ public static final int ANY_OF_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -194,10 +232,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; } } @@ -205,29 +247,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(); @@ -235,8 +279,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; @@ -256,91 +299,128 @@ private PhraseMatchRuleGroupType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .valueOf(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + .UNRECOGNIZED + : result; } public static final int PHRASE_MATCH_RULES_FIELD_NUMBER = 2; - 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; @@ -352,9 +432,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++) { @@ -369,13 +451,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -385,16 +468,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,117 +501,127 @@ 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() @@ -536,17 +629,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPhraseMatchRulesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -562,13 +655,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(); } @@ -583,7 +677,8 @@ 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); int from_bitField0_ = bitField0_; result.type_ = type_; if (phraseMatchRulesBuilder_ == null) { @@ -603,38 +698,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup buildParti 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; @@ -642,7 +738,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()); } @@ -664,9 +762,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatchRu phraseMatchRulesBuilder_ = null; phraseMatchRules_ = other.phraseMatchRules_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPhraseMatchRulesFieldBuilder() : null; + phraseMatchRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPhraseMatchRulesFieldBuilder() + : null; } else { phraseMatchRulesBuilder_.addAllMessages(other.phraseMatchRules_); } @@ -691,7 +790,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -700,102 +801,148 @@ public Builder mergeFrom( } 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType result = com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.valueOf(type_); - return result == null ? com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType.UNRECOGNIZED : result; + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType + result = + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup + .PhraseMatchRuleGroupType.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRules_ = new java.util.ArrayList(phraseMatchRules_); + phraseMatchRules_ = + new java.util.ArrayList( + phraseMatchRules_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -803,11 +950,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) { @@ -817,13 +967,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 { @@ -831,11 +985,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) { @@ -852,14 +1009,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()); @@ -870,13 +1031,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(); @@ -890,11 +1055,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) { @@ -911,11 +1079,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) { @@ -929,14 +1100,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()); @@ -947,18 +1122,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); @@ -966,11 +1144,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) { @@ -983,11 +1164,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) { @@ -1000,39 +1184,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 { @@ -1040,45 +1235,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1087,9 +1301,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); } @@ -1099,30 +1313,32 @@ 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 { - return new PhraseMatchRuleGroup(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatchRuleGroup(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,9 +1350,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java index 12f8accf..ae910d8e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleGroupOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java index bb429f12..f53d29c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatchRuleOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
index eebebcb4..5c7509cf 100644
--- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcher.java
+++ b/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,16 +49,15 @@ 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; } + private PhraseMatcher( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,102 +77,119 @@ private PhraseMatcher( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - revisionId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + revisionId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - versionTag_ = s; - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (revisionCreateTime_ != null) { - subBuilder = revisionCreateTime_.toBuilder(); + versionTag_ = s; + break; } - revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(revisionCreateTime_); - revisionCreateTime_ = subBuilder.buildPartial(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (revisionCreateTime_ != null) { + subBuilder = revisionCreateTime_.toBuilder(); + } + revisionCreateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(revisionCreateTime_); + revisionCreateTime_ = subBuilder.buildPartial(); + } + + break; } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - displayName_ = s; - break; - } - case 48: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 56: { + displayName_ = s; + break; + } + case 48: + { + int rawValue = input.readEnum(); - active_ = input.readBool(); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + type_ = rawValue; + break; } - phraseMatchRuleGroups_.add( - input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), extensionRegistry)); - break; - } - case 74: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (activationUpdateTime_ != null) { - subBuilder = activationUpdateTime_.toBuilder(); + case 56: + { + active_ = input.readBool(); + break; } - activationUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(activationUpdateTime_); - activationUpdateTime_ = subBuilder.buildPartial(); + case 66: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + phraseMatchRuleGroups_ = + new java.util.ArrayList< + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup>(); + mutable_bitField0_ |= 0x00000001; + } + phraseMatchRuleGroups_.add( + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.parser(), + extensionRegistry)); + break; } + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (activationUpdateTime_ != null) { + subBuilder = activationUpdateTime_.toBuilder(); + } + activationUpdateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(activationUpdateTime_); + activationUpdateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 80: + { + int rawValue = input.readEnum(); - break; - } - case 80: { - int rawValue = input.readEnum(); - - roleMatch_ = rawValue; - break; - } - case 90: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + roleMatch_ = rawValue; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 90: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -163,8 +197,7 @@ private PhraseMatcher( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseMatchRuleGroups_ = java.util.Collections.unmodifiableList(phraseMatchRuleGroups_); @@ -173,20 +206,25 @@ private PhraseMatcher( makeExtensionsImmutable(); } } - 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.
@@ -194,9 +232,10 @@ private PhraseMatcher(
    *
    * 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.
      * 
@@ -205,6 +244,8 @@ public enum PhraseMatcherType */ PHRASE_MATCHER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Must meet all phrase match rule groups or there is no match.
      * 
@@ -213,6 +254,8 @@ public enum PhraseMatcherType */ ALL_OF(1), /** + * + * *
      * If any of the phrase match rule groups are met, there is a match.
      * 
@@ -224,6 +267,8 @@ public enum PhraseMatcherType ; /** + * + * *
      * Unspecified.
      * 
@@ -232,6 +277,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.
      * 
@@ -240,6 +287,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.
      * 
@@ -248,7 +297,6 @@ public enum PhraseMatcherType */ public static final int ANY_OF_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -273,10 +321,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; } } @@ -284,29 +336,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(); @@ -314,8 +368,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; @@ -335,6 +388,8 @@ private PhraseMatcherType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The resource name of the phrase matcher.
    * Format:
@@ -342,6 +397,7 @@ private PhraseMatcherType(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -350,14 +406,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:
@@ -365,16 +422,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 { @@ -385,6 +441,8 @@ public java.lang.String getName() { public static final int REVISION_ID_FIELD_NUMBER = 2; 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
@@ -392,7 +450,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 @@ -401,14 +462,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
@@ -416,17 +478,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 { @@ -437,12 +500,15 @@ public java.lang.String getRevisionId() { public static final int VERSION_TAG_FIELD_NUMBER = 3; 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 @@ -451,30 +517,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 { @@ -485,12 +551,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 @@ -498,25 +569,36 @@ 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() { @@ -526,11 +608,14 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int DISPLAY_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable name of the phrase matcher.
    * 
* * string display_name = 5; + * * @return The displayName. */ @java.lang.Override @@ -539,29 +624,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 { @@ -572,38 +657,56 @@ public java.lang.String getDisplayName() { public static final int TYPE_FIELD_NUMBER = 6; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType getType() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(type_); + return result == null + ? com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.UNRECOGNIZED + : result; } public static final int ACTIVE_FIELD_NUMBER = 7; private boolean active_; /** + * + * *
    * Applies the phrase matcher only when it is active.
    * 
* * bool active = 7; + * * @return The active. */ @java.lang.Override @@ -612,73 +715,102 @@ public boolean getActive() { } public static final int PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER = 8; - 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 @@ -686,23 +818,34 @@ 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() { @@ -712,42 +855,59 @@ public com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder() public static final int ROLE_MATCH_FIELD_NUMBER = 10; private int 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 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() { + @java.lang.Override + public com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role getRoleMatch() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf(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 @@ -755,11 +915,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 @@ -767,11 +931,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() { @@ -779,6 +946,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -790,8 +958,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_); } @@ -807,7 +974,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) { @@ -819,7 +989,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) { @@ -844,35 +1016,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -882,41 +1055,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -944,8 +1109,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(); @@ -966,117 +1130,127 @@ 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() @@ -1084,17 +1258,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPhraseMatchRuleGroupsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1140,9 +1314,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 @@ -1161,7 +1335,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.revisionId_ = revisionId_; @@ -1202,38 +1377,39 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatcher 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.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; @@ -1241,7 +1417,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_; onChanged(); @@ -1285,9 +1462,10 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.PhraseMatcher phraseMatchRuleGroupsBuilder_ = null; phraseMatchRuleGroups_ = other.phraseMatchRuleGroups_; bitField0_ = (bitField0_ & ~0x00000001); - phraseMatchRuleGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPhraseMatchRuleGroupsFieldBuilder() : null; + phraseMatchRuleGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPhraseMatchRuleGroupsFieldBuilder() + : null; } else { phraseMatchRuleGroupsBuilder_.addAllMessages(other.phraseMatchRuleGroups_); } @@ -1321,7 +1499,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.PhraseMatcher) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1330,10 +1509,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1341,13 +1523,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; @@ -1356,6 +1538,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1363,15 +1547,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 { @@ -1379,6 +1562,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1386,20 +1571,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1407,15 +1594,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The resource name of the phrase matcher.
      * Format:
@@ -1423,16 +1613,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1440,6 +1630,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
@@ -1447,14 +1639,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; @@ -1463,6 +1657,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
@@ -1470,16 +1666,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 { @@ -1487,6 +1684,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
@@ -1494,21 +1693,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) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; 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
@@ -1516,16 +1719,21 @@ 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() { - + revisionId_ = getDefaultInstance().getRevisionId(); 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
@@ -1533,17 +1741,19 @@ 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) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -1551,19 +1761,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; @@ -1572,21 +1784,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 { @@ -1594,57 +1807,64 @@ 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) { + public Builder setVersionTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + versionTag_ = value; 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() { - + versionTag_ = getDefaultInstance().getVersionTag(); 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; + * * @param value The bytes for versionTag to set. * @return This builder for chaining. */ - public Builder setVersionTagBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + versionTag_ = value; onChanged(); return this; @@ -1652,42 +1872,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 revisionCreateTimeBuilder_ != null || 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. */ 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) { @@ -1703,15 +1942,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(); onChanged(); @@ -1722,18 +1964,24 @@ 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 (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionCreateTime_ = value; } @@ -1745,12 +1993,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() { if (revisionCreateTimeBuilder_ == null) { @@ -1764,51 +2016,67 @@ 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() { - + onChanged(); 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_; @@ -1816,18 +2084,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; @@ -1836,20 +2106,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 { @@ -1857,54 +2128,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable name of the phrase matcher.
      * 
* * string display_name = 5; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1912,85 +2190,118 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType result = com.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType.valueOf(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.valueOf(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(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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 @@ -1998,55 +2309,72 @@ 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; onChanged(); return this; } /** + * + * *
      * Applies the phrase matcher only when it is active.
      * 
* * bool active = 7; + * * @return This builder for chaining. */ public Builder clearActive() { - + active_ = false; onChanged(); 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_ & 0x00000001) != 0)) { - phraseMatchRuleGroups_ = new java.util.ArrayList(phraseMatchRuleGroups_); + phraseMatchRuleGroups_ = + new java.util.ArrayList( + phraseMatchRuleGroups_); bitField0_ |= 0x00000001; - } + } } 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 { @@ -2054,11 +2382,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) { @@ -2068,13 +2400,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 { @@ -2082,11 +2419,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) { @@ -2103,14 +2444,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()); @@ -2121,13 +2467,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(); @@ -2141,11 +2492,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) { @@ -2162,11 +2517,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) { @@ -2180,14 +2539,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()); @@ -2198,18 +2562,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); @@ -2217,11 +2585,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) { @@ -2234,11 +2606,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) { @@ -2251,39 +2627,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 { @@ -2291,45 +2681,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_ & 0x00000001) != 0), getParentForChildren(), @@ -2341,39 +2753,58 @@ 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 activationUpdateTimeBuilder_ != null || 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. */ 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) { @@ -2389,14 +2820,17 @@ 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(); onChanged(); @@ -2407,17 +2841,23 @@ 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 (activationUpdateTime_ != null) { activationUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(activationUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { activationUpdateTime_ = value; } @@ -2429,11 +2869,15 @@ 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() { if (activationUpdateTimeBuilder_ == null) { @@ -2447,48 +2891,64 @@ 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() { - + onChanged(); 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_; @@ -2496,83 +2956,109 @@ 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. */ public Builder setRoleMatchValue(int value) { - + roleMatch_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role result = com.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role.valueOf(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.valueOf( + 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(); } - + roleMatch_ = value.getNumber(); onChanged(); 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() { - + roleMatch_ = 0; onChanged(); return this; @@ -2580,39 +3066,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -2628,14 +3133,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(); onChanged(); @@ -2646,17 +3154,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2668,11 +3180,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() { if (updateTimeBuilder_ == null) { @@ -2686,55 +3202,71 @@ 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() { - + onChanged(); 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); } @@ -2744,12 +3276,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(); } @@ -2758,16 +3290,16 @@ 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 { - return new PhraseMatcher(input, extensionRegistry); - } - }; + 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 { + return new PhraseMatcher(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2782,6 +3314,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.PhraseMatcher getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java index 03a7c88e..d116f89d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/PhraseMatcherOrBuilder.java +++ b/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,231 +79,324 @@ 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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java new file mode 100644 index 00000000..62e92f3f --- /dev/null +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ResourcesProto.java @@ -0,0 +1,1244 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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; + + 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\"\357\002\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:\215\001\352A\211\001\n-contactcenterinsights." + + "googleapis.com/Analysis\022Xprojects/{proje" + + "ct}/locations/{location}/conversations/{" + + "conversation}/analyses/{analysis}\"\300\001\n\026Co" + + "nversationDataSource\022F\n\ngcs_source\030\001 \001(\013" + + "20.google.cloud.contactcenterinsights.v1" + + ".GcsSourceH\000\022T\n\021dialogflow_source\030\003 \001(\0132" + + "7.google.cloud.contactcenterinsights.v1." + + "DialogflowSourceH\000B\010\n\006source\";\n\tGcsSourc" + + "e\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\027dialogf" + + "low_conversation\030\001 \001(\tB\003\340A\003\022\021\n\taudio_uri" + + "\030\003 \001(\t\"\306\010\n\016AnalysisResult\022l\n\026call_analys" + + "is_metadata\030\002 \001(\0132J.google.cloud.contact" + + "centerinsights.v1.AnalysisResult.CallAna" + + "lysisMetadataH\000\022,\n\010end_time\030\001 \001(\0132\032.goog" + + "le.protobuf.Timestamp\032\213\007\n\024CallAnalysisMe" + + "tadata\022J\n\013annotations\030\002 \003(\01325.google.clo" + + "ud.contactcenterinsights.v1.CallAnnotati" + + "on\022j\n\010entities\030\003 \003(\0132X.google.cloud.cont" + + "actcenterinsights.v1.AnalysisResult.Call" + + "AnalysisMetadata.EntitiesEntry\022U\n\nsentim" + + "ents\030\004 \003(\0132A.google.cloud.contactcenteri" + + "nsights.v1.ConversationLevelSentiment\022h\n" + + "\007intents\030\006 \003(\0132W.google.cloud.contactcen" + + "terinsights.v1.AnalysisResult.CallAnalys" + + "isMetadata.IntentsEntry\022w\n\017phrase_matche" + + "rs\030\007 \003(\0132^.google.cloud.contactcenterins" + + "ights.v1.AnalysisResult.CallAnalysisMeta" + + "data.PhraseMatchersEntry\022S\n\022issue_model_" + + "result\030\010 \001(\01327.google.cloud.contactcente" + + "rinsights.v1.IssueModelResult\032^\n\rEntitie" + + "sEntry\022\013\n\003key\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.goo" + + "gle.cloud.contactcenterinsights.v1.Entit" + + "y:\0028\001\032]\n\014IntentsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005va" + + "lue\030\002 \001(\0132-.google.cloud.contactcenterin" + + "sights.v1.Intent:\0028\001\032m\n\023PhraseMatchersEn" + + "try\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchData:\0028\001B\n\n\010metadata\"\245\001\n\020IssueModelRe" + + "sult\022I\n\013issue_model\030\001 \001(\tB4\372A1\n/contactc" + + "enterinsights.googleapis.com/IssueModel\022" + + "F\n\006issues\030\002 \003(\01326.google.cloud.contactce" + + "nterinsights.v1.IssueAssignment\"\177\n\032Conve" + + "rsationLevelSentiment\022\023\n\013channel_tag\030\001 \001" + + "(\005\022L\n\016sentiment_data\030\002 \001(\01324.google.clou" + + "d.contactcenterinsights.v1.SentimentData" + + "\"J\n\017IssueAssignment\022\r\n\005issue\030\001 \001(\t\022\r\n\005sc" + + "ore\030\002 \001(\001\022\031\n\014display_name\030\003 \001(\tB\003\340A\005\"\242\006\n" + + "\016CallAnnotation\022T\n\021interruption_data\030\n \001" + + "(\01327.google.cloud.contactcenterinsights." + + "v1.InterruptionDataH\000\022N\n\016sentiment_data\030" + + "\013 \001(\01324.google.cloud.contactcenterinsigh" + + "ts.v1.SentimentDataH\000\022J\n\014silence_data\030\014 " + + "\001(\01322.google.cloud.contactcenterinsights" + + ".v1.SilenceDataH\000\022D\n\thold_data\030\r \001(\0132/.g" + + "oogle.cloud.contactcenterinsights.v1.Hol" + + "dDataH\000\022W\n\023entity_mention_data\030\017 \001(\01328.g" + + "oogle.cloud.contactcenterinsights.v1.Ent" + + "ityMentionDataH\000\022S\n\021intent_match_data\030\020 " + + "\001(\01326.google.cloud.contactcenterinsights" + + ".v1.IntentMatchDataH\000\022S\n\021phrase_match_da" + + "ta\030\021 \001(\01326.google.cloud.contactcenterins" + + "ights.v1.PhraseMatchDataH\000\022\023\n\013channel_ta" + + "g\030\001 \001(\005\022\\\n\031annotation_start_boundary\030\004 \001" + + "(\01329.google.cloud.contactcenterinsights." + + "v1.AnnotationBoundary\022Z\n\027annotation_end_" + + "boundary\030\005 \001(\01329.google.cloud.contactcen" + + "terinsights.v1.AnnotationBoundaryB\006\n\004dat" + + "a\"Y\n\022AnnotationBoundary\022\024\n\nword_index\030\003 " + + "\001(\005H\000\022\030\n\020transcript_index\030\001 \001(\005B\023\n\021detai" + + "led_boundary\"\200\004\n\006Entity\022\024\n\014display_name\030" + + "\001 \001(\t\022@\n\004type\030\002 \001(\01622.google.cloud.conta" + + "ctcenterinsights.v1.Entity.Type\022M\n\010metad" + + "ata\030\003 \003(\0132;.google.cloud.contactcenterin" + + "sights.v1.Entity.MetadataEntry\022\020\n\010salien" + + "ce\030\004 \001(\002\022G\n\tsentiment\030\005 \001(\01324.google.clo" + + "ud.contactcenterinsights.v1.SentimentDat" + + "a\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_UNSPECIFIED\020" + + "\000\022\n\n\006PERSON\020\001\022\014\n\010LOCATION\020\002\022\020\n\014ORGANIZAT" + + "ION\020\003\022\t\n\005EVENT\020\004\022\017\n\013WORK_OF_ART\020\005\022\021\n\rCON" + + "SUMER_GOOD\020\006\022\t\n\005OTHER\020\007\022\020\n\014PHONE_NUMBER\020" + + "\t\022\013\n\007ADDRESS\020\n\022\010\n\004DATE\020\013\022\n\n\006NUMBER\020\014\022\t\n\005" + + "PRICE\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\020" + + "DialogflowIntent\022\024\n\014display_name\030\001 \001(\t\"\022" + + "\n\020InterruptionData\"\r\n\013SilenceData\"\n\n\010Hol" + + "dData\"\217\002\n\021EntityMentionData\022\030\n\020entity_un" + + "ique_id\030\001 \001(\t\022R\n\004type\030\002 \001(\0162D.google.clo" + + "ud.contactcenterinsights.v1.EntityMentio" + + "nData.MentionType\022G\n\tsentiment\030\003 \001(\01324.g" + + "oogle.cloud.contactcenterinsights.v1.Sen" + + "timentData\"C\n\013MentionType\022\034\n\030MENTION_TYP" + + "E_UNSPECIFIED\020\000\022\n\n\006PROPER\020\001\022\n\n\006COMMON\020\002\"" + + "+\n\017IntentMatchData\022\030\n\020intent_unique_id\030\001" + + " \001(\t\"1\n\rSentimentData\022\021\n\tmagnitude\030\001 \001(\002" + + "\022\r\n\005score\030\002 \001(\002\"\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\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\022K\n\005state\030\005 \001(\01627.goo" + + "gle.cloud.contactcenterinsights.v1.Issue" + + "Model.StateB\003\340A\003\022\\\n\021input_data_config\030\006 " + + "\001(\0132A.google.cloud.contactcenterinsights" + + ".v1.IssueModel.InputDataConfig\022[\n\016traini" + + "ng_stats\030\007 \001(\0132;.google.cloud.contactcen" + + "terinsights.v1.IssueModelLabelStatsB\006\340A\003" + + "\340A\005\032\234\001\n\017InputDataConfig\022N\n\006medium\030\001 \001(\0162" + + ":.google.cloud.contactcenterinsights.v1." + + "Conversation.MediumB\002\030\001\022)\n\034training_conv" + + "ersations_count\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\nUN" + + "DEPLOYED\020\001\022\r\n\tDEPLOYING\020\002\022\014\n\010DEPLOYED\020\003\022" + + "\017\n\013UNDEPLOYING\020\004\022\014\n\010DELETING\020\005:w\352At\n/con" + + "tactcenterinsights.googleapis.com/IssueM" + + "odel\022Aprojects/{project}/locations/{loca" + + "tion}/issueModels/{issue_model}\"\240\002\n\005Issu" + + "e\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.protobu" + + "f.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003:\201\001\352A~\n*co" + + "ntactcenterinsights.googleapis.com/Issue" + + "\022Pprojects/{project}/locations/{location" + + "}/issueModels/{issue_model}/issues/{issu" + + "e}\"\233\003\n\024IssueModelLabelStats\022$\n\034analyzed_" + + "conversations_count\030\001 \001(\003\022(\n unclassifie" + + "d_conversations_count\030\002 \001(\003\022`\n\013issue_sta" + + "ts\030\003 \003(\0132K.google.cloud.contactcenterins" + + "ights.v1.IssueModelLabelStats.IssueStats" + + "Entry\032V\n\nIssueStats\022\r\n\005issue\030\001 \001(\t\022#\n\033la" + + "beled_conversations_count\030\002 \001(\003\022\024\n\014displ" + + "ay_name\030\003 \001(\t\032y\n\017IssueStatsEntry\022\013\n\003key\030" + + "\001 \001(\t\022U\n\005value\030\002 \001(\0132F.google.cloud.cont" + + "actcenterinsights.v1.IssueModelLabelStat" + + "s.IssueStats:\0028\001\"\223\006\n\rPhraseMatcher\022\014\n\004na" + + "me\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_create_ti" + + "me\030\004 \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\022\024\n\014display_name\030\005 \001(\t\022Y\n\004type\030\006 \001(\0162F." + + "google.cloud.contactcenterinsights.v1.Ph" + + "raseMatcher.PhraseMatcherTypeB\003\340A\002\022\016\n\006ac" + + "tive\030\007 \001(\010\022]\n\030phrase_match_rule_groups\030\010" + + " \003(\0132;.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRuleGroup\022?\n\026activation_" + + "update_time\030\t \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022W\n\nrole_match\030\n \001(\0162C.google." + + "cloud.contactcenterinsights.v1.Conversat" + + "ionParticipant.Role\0224\n\013update_time\030\013 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\"P\n\021Phr" + + "aseMatcherType\022#\n\037PHRASE_MATCHER_TYPE_UN" + + "SPECIFIED\020\000\022\n\n\006ALL_OF\020\001\022\n\n\006ANY_OF\020\002:\200\001\352A" + + "}\n2contactcenterinsights.googleapis.com/" + + "PhraseMatcher\022Gprojects/{project}/locati" + + "ons/{location}/phraseMatchers/{phrase_ma" + + "tcher}\"\265\002\n\024PhraseMatchRuleGroup\022g\n\004type\030" + + "\001 \001(\0162T.google.cloud.contactcenterinsigh" + + "ts.v1.PhraseMatchRuleGroup.PhraseMatchRu" + + "leGroupTypeB\003\340A\002\022R\n\022phrase_match_rules\030\002" + + " \003(\01326.google.cloud.contactcenterinsight" + + "s.v1.PhraseMatchRule\"`\n\030PhraseMatchRuleG" + + "roupType\022,\n(PHRASE_MATCH_RULE_GROUP_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(\tB\003\340A\002\022\017" + + "\n\007negated\030\002 \001(\010\022L\n\006config\030\003 \001(\0132<.google" + + ".cloud.contactcenterinsights.v1.PhraseMa" + + "tchRuleConfig\"x\n\025PhraseMatchRuleConfig\022U" + + "\n\022exact_match_config\030\001 \001(\01327.google.clou" + + "d.contactcenterinsights.v1.ExactMatchCon" + + "figH\000B\010\n\006config\"*\n\020ExactMatchConfig\022\026\n\016c" + + "ase_sensitive\030\001 \001(\010\"\221\005\n\010Settings\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\005\0224\n\013create_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0224\n\013update_time" + + "\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\025\n\rlanguage_code\030\004 \001(\t\0223\n\020conversation_t" + + "tl\030\005 \001(\0132\031.google.protobuf.Duration\022u\n\034p" + + "ubsub_notification_settings\030\006 \003(\0132O.goog" + + "le.cloud.contactcenterinsights.v1.Settin" + + "gs.PubsubNotificationSettingsEntry\022W\n\017an" + + "alysis_config\030\007 \001(\0132>.google.cloud.conta" + + "ctcenterinsights.v1.Settings.AnalysisCon" + + "fig\032A\n\016AnalysisConfig\022/\n\'runtime_integra" + + "tion_analysis_percentage\030\001 \001(\001\032A\n\037Pubsub" + + "NotificationSettingsEntry\022\013\n\003key\030\001 \001(\t\022\r" + + "\n\005value\030\002 \001(\t:\0028\001:d\352Aa\n-contactcenterins" + + "ights.googleapis.com/Settings\0220projects/" + + "{project}/locations/{location}/settings\"" + + "\230\006\n\021RuntimeAnnotation\022Z\n\022article_suggest" + + "ion\030\006 \001(\0132<.google.cloud.contactcenterin" + + "sights.v1.ArticleSuggestionDataH\000\022J\n\nfaq" + + "_answer\030\007 \001(\01324.google.cloud.contactcent" + + "erinsights.v1.FaqAnswerDataH\000\022L\n\013smart_r" + + "eply\030\010 \001(\01325.google.cloud.contactcenteri" + + "nsights.v1.SmartReplyDataH\000\022e\n\030smart_com" + + "pose_suggestion\030\t \001(\0132A.google.cloud.con" + + "tactcenterinsights.v1.SmartComposeSugges" + + "tionDataH\000\022b\n\026dialogflow_interaction\030\n \001" + + "(\0132@.google.cloud.contactcenterinsights." + + "v1.DialogflowInteractionDataH\000\022\025\n\rannota" + + "tion_id\030\001 \001(\t\022/\n\013create_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022Q\n\016start_boundary" + + "\030\003 \001(\01329.google.cloud.contactcenterinsig" + + "hts.v1.AnnotationBoundary\022O\n\014end_boundar" + + "y\030\004 \001(\01329.google.cloud.contactcenterinsi" + + "ghts.v1.AnnotationBoundary\022N\n\017answer_fee" + + "dback\030\005 \001(\01325.google.cloud.contactcenter" + + "insights.v1.AnswerFeedbackB\006\n\004data\"\211\002\n\016A" + + "nswerFeedback\022a\n\021correctness_level\030\001 \001(\016" + + "2F.google.cloud.contactcenterinsights.v1" + + ".AnswerFeedback.CorrectnessLevel\022\017\n\007clic" + + "ked\030\002 \001(\010\022\021\n\tdisplayed\030\003 \001(\010\"p\n\020Correctn" + + "essLevel\022!\n\035CORRECTNESS_LEVEL_UNSPECIFIE" + + "D\020\000\022\017\n\013NOT_CORRECT\020\001\022\025\n\021PARTIALLY_CORREC" + + "T\020\002\022\021\n\rFULLY_CORRECT\020\003\"\202\002\n\025ArticleSugges" + + "tionData\022\r\n\005title\030\001 \001(\t\022\013\n\003uri\030\002 \001(\t\022\030\n\020" + + "confidence_score\030\003 \001(\002\022\\\n\010metadata\030\004 \003(\013" + + "2J.google.cloud.contactcenterinsights.v1" + + ".ArticleSuggestionData.MetadataEntry\022\024\n\014" + + "query_record\030\005 \001(\t\022\016\n\006source\030\006 \001(\t\032/\n\rMe" + + "tadataEntry\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\006answer\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.google.cloud.conta" + + "ctcenterinsights.v1.FaqAnswerData.Metada" + + "taEntry\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\005v" + + "alue\030\002 \001(\t:\0028\001\"\327\001\n\016SmartReplyData\022\r\n\005rep" + + "ly\030\001 \001(\t\022\030\n\020confidence_score\030\002 \001(\001\022U\n\010me" + + "tadata\030\003 \003(\0132C.google.cloud.contactcente" + + "rinsights.v1.SmartReplyData.MetadataEntr" + + "y\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\032Sma" + + "rtComposeSuggestionData\022\022\n\nsuggestion\030\001 " + + "\001(\t\022\030\n\020confidence_score\030\002 \001(\001\022a\n\010metadat" + + "a\030\003 \003(\0132O.google.cloud.contactcenterinsi" + + "ghts.v1.SmartComposeSuggestionData.Metad" + + "ataEntry\022\024\n\014query_record\030\004 \001(\t\032/\n\rMetada" + + "taEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "M\n\031DialogflowInteractionData\022\034\n\024dialogfl" + + "ow_intent_id\030\001 \001(\t\022\022\n\nconfidence\030\002 \001(\002\"\213" + + "\003\n\027ConversationParticipant\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\026dialogflow_participant\030\001 \001(\t" + + "B\002\030\001\022#\n\033obfuscated_external_user_id\030\003 \001(" + + "\t\022Q\n\004role\030\002 \001(\0162C.google.cloud.contactce" + + "nterinsights.v1.ConversationParticipant." + + "Role\"_\n\004Role\022\024\n\020ROLE_UNSPECIFIED\020\000\022\017\n\013HU" + + "MAN_AGENT\020\001\022\023\n\017AUTOMATED_AGENT\020\002\022\014\n\010END_" + + "USER\020\003\022\r\n\tANY_AGENT\020\004B\r\n\013participant\"\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.pro" + + "tobuf.TimestampB\003\340A\003\0224\n\013update_time\030\004 \001(" + + "\0132\032.google.protobuf.TimestampB\003\340A\003\022\r\n\005va" + + "lue\030\005 \001(\t:d\352Aa\n)contactcenterinsights.go" + + "ogleapis.com/View\0224projects/{project}/lo" + + "cations/{location}/views/{view}B\354\003\n)com." + + "google.cloud.contactcenterinsights.v1B\016R" + + "esourcesProtoP\001ZZgoogle.golang.org/genpr" + + "oto/googleapis/cloud/contactcenterinsigh" + + "ts/v1;contactcenterinsights\252\002%Google.Clo" + + "ud.ContactCenterInsights.V1\312\002%Google\\Clo" + + "ud\\ContactCenterInsights\\V1\352\002(Google::Cl" + + "oud::ContactCenterInsights::V1\352A\324\001\n%dial" + + "ogflow.googleapis.com/Participant\022Jproje" + + "cts/{project}/conversations/{conversatio" + + "n}/participants/{participant}\022_projects/" + + "{project}/locations/{location}/conversat" + + "ions/{conversation}/participants/{partic" + + "ipant}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", + }); + 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", + "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_IssueModel_descriptor = + getDescriptor().getMessageTypes().get(21); + 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(22); + 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", + }); + internal_static_google_cloud_contactcenterinsights_v1_IssueModelLabelStats_descriptor = + getDescriptor().getMessageTypes().get(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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", + }); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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(36); + 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(37); + 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(38); + 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", + }); + 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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java index f44ba4ae..a4c07193 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotation.java @@ -1,40 +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; } + private RuntimeAnnotation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,141 +70,189 @@ private RuntimeAnnotation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - annotationId_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + annotationId_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (startBoundary_ != null) { - subBuilder = startBoundary_.toBuilder(); + case 26: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (startBoundary_ != null) { + subBuilder = startBoundary_.toBuilder(); + } + startBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startBoundary_); + startBoundary_ = subBuilder.buildPartial(); + } + + break; } - startBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startBoundary_); - startBoundary_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = + null; + if (endBoundary_ != null) { + subBuilder = endBoundary_.toBuilder(); + } + endBoundary_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endBoundary_); + endBoundary_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 34: { - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.Builder subBuilder = null; - if (endBoundary_ != null) { - subBuilder = endBoundary_.toBuilder(); + case 42: + { + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; + if (answerFeedback_ != null) { + subBuilder = answerFeedback_.toBuilder(); + } + answerFeedback_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(answerFeedback_); + answerFeedback_ = subBuilder.buildPartial(); + } + + break; } - endBoundary_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endBoundary_); - endBoundary_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = + null; + if (dataCase_ == 6) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 6; + break; } - - break; - } - case 42: { - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.Builder subBuilder = null; - if (answerFeedback_ != null) { - subBuilder = answerFeedback_.toBuilder(); + case 58: + { + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; + if (dataCase_ == 7) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 7; + break; } - answerFeedback_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.AnswerFeedback.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(answerFeedback_); - answerFeedback_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; + if (dataCase_ == 8) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 8; + break; } - - break; - } - case 50: { - com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.Builder subBuilder = null; - if (dataCase_ == 6) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_); - data_ = subBuilder.buildPartial(); + case 74: + { + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder + subBuilder = null; + if (dataCase_ == 9) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 9; + break; } - dataCase_ = 6; - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder subBuilder = null; - if (dataCase_ == 7) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_).toBuilder(); + case 82: + { + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder + subBuilder = null; + if (dataCase_ == 10) { + subBuilder = + ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_) + .toBuilder(); + } + data_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); + data_ = subBuilder.buildPartial(); + } + dataCase_ = 10; + break; } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.FaqAnswerData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.FaqAnswerData) data_); - data_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - dataCase_ = 7; - break; - } - case 66: { - com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder subBuilder = null; - if (dataCase_ == 8) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartReplyData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartReplyData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 8; - break; - } - case 74: { - com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.Builder subBuilder = null; - if (dataCase_ == 9) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 9; - break; - } - case 82: { - com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.Builder subBuilder = null; - if (dataCase_ == 10) { - subBuilder = ((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_).toBuilder(); - } - data_ = - input.readMessage(com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_); - data_ = subBuilder.buildPartial(); - } - dataCase_ = 10; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -195,30 +260,34 @@ private RuntimeAnnotation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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), @@ -227,6 +296,7 @@ public enum DataCase DIALOGFLOW_INTERACTION(10), DATA_NOT_SET(0); private final int value; + private DataCase(int value) { this.value = value; } @@ -242,33 +312,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 @@ -276,42 +356,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 @@ -319,21 +410,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.
    * 
@@ -343,18 +439,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 @@ -362,21 +461,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.
    * 
@@ -384,20 +488,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 @@ -405,42 +515,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 @@ -448,31 +576,42 @@ 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(); } @@ -480,6 +619,8 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuil public static final int ANNOTATION_ID_FIELD_NUMBER = 1; private volatile java.lang.Object annotationId_; /** + * + * *
    * The unique identifier of the annotation.
    * Format:
@@ -487,6 +628,7 @@ public com.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataOrBuil
    * 
* * string annotation_id = 1; + * * @return The annotationId. */ @java.lang.Override @@ -495,14 +637,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:
@@ -510,16 +653,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 { @@ -530,11 +672,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 @@ -542,11 +687,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 @@ -554,6 +702,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time at which this annotation was created.
    * 
@@ -568,11 +718,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 @@ -580,18 +733,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.
    * 
@@ -599,18 +759,22 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getStartBoundaryOrBuilder() { return getStartBoundary(); } 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 @@ -618,18 +782,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.
    * 
@@ -637,18 +808,22 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnnotationBoundaryOrBuilder + getEndBoundaryOrBuilder() { return getEndBoundary(); } 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 @@ -656,18 +831,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`.
    * 
@@ -675,11 +857,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.AnswerFeedbackOrBuilder + getAnswerFeedbackOrBuilder() { return getAnswerFeedback(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -691,8 +875,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_); } @@ -709,7 +892,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_); @@ -718,10 +902,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_); } unknownFields.writeTo(output); } @@ -736,40 +922,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -779,56 +966,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: @@ -892,117 +1070,127 @@ 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() @@ -1010,16 +1198,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1055,9 +1242,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 @@ -1076,7 +1263,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); + com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation result = + new com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation(this); if (dataCase_ == 6) { if (articleSuggestionBuilder_ == null) { result.data_ = data_; @@ -1142,38 +1330,39 @@ public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation 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.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; @@ -1181,7 +1370,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_; onChanged(); @@ -1199,29 +1389,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.unknownFields); onChanged(); @@ -1242,7 +1438,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1251,12 +1448,12 @@ public Builder mergeFrom( } 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() { @@ -1266,15 +1463,21 @@ public Builder clearData() { return this; } - 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 @@ -1282,11 +1485,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 @@ -1304,13 +1511,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(); @@ -1324,11 +1535,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) { @@ -1342,18 +1556,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; } @@ -1369,11 +1592,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) { @@ -1392,24 +1618,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 { @@ -1420,39 +1654,55 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.ArticleSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 6; - onChanged();; + onChanged(); + ; return articleSuggestionBuilder_; } 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 @@ -1460,11 +1710,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 @@ -1482,6 +1735,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData getFaqAnswer() { } } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1502,6 +1757,8 @@ public Builder setFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswerD return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1520,6 +1777,8 @@ public Builder setFaqAnswer( return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1528,10 +1787,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; } @@ -1547,6 +1810,8 @@ public Builder mergeFaqAnswer(com.google.cloud.contactcenterinsights.v1.FaqAnswe return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1570,6 +1835,8 @@ public Builder clearFaqAnswer() { return this; } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1580,6 +1847,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerData.Builder getFaqAns return getFaqAnswerFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1587,7 +1856,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 { @@ -1598,6 +1868,8 @@ public com.google.cloud.contactcenterinsights.v1.FaqAnswerDataOrBuilder getFaqAn } } /** + * + * *
      * Agent Assist FAQ answer data.
      * 
@@ -1605,32 +1877,44 @@ 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()); data_ = null; } dataCase_ = 7; - onChanged();; + onChanged(); + ; return faqAnswerBuilder_; } 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 @@ -1638,11 +1922,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 @@ -1660,6 +1947,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData getSmartReply() } } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1680,6 +1969,8 @@ public Builder setSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRepl return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1698,6 +1989,8 @@ public Builder setSmartReply( return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1706,10 +1999,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; } @@ -1725,6 +2022,8 @@ public Builder mergeSmartReply(com.google.cloud.contactcenterinsights.v1.SmartRe return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1748,6 +2047,8 @@ public Builder clearSmartReply() { return this; } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1758,6 +2059,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData.Builder getSmart return getSmartReplyFieldBuilder().getBuilder(); } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1765,7 +2068,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 { @@ -1776,6 +2080,8 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyDataOrBuilder getSmar } } /** + * + * *
      * Agent Assist Smart Reply data.
      * 
@@ -1783,32 +2089,46 @@ 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()); data_ = null; } dataCase_ = 8; - onChanged();; + onChanged(); + ; return smartReplyBuilder_; } 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 @@ -1816,35 +2136,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(); @@ -1858,14 +2191,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(); @@ -1876,18 +2214,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; } @@ -1903,11 +2251,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) { @@ -1926,67 +2278,98 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 9; - onChanged();; + onChanged(); + ; return smartComposeSuggestionBuilder_; } 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 @@ -1994,35 +2377,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(); @@ -2036,14 +2432,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(); @@ -2054,18 +2455,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; } @@ -2081,11 +2492,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) { @@ -2104,61 +2519,86 @@ 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(); - } - 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>( + 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>( (com.google.cloud.contactcenterinsights.v1.DialogflowInteractionData) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 10; - onChanged();; + onChanged(); + ; return dialogflowInteractionBuilder_; } private java.lang.Object annotationId_ = ""; /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2166,13 +2606,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; @@ -2181,6 +2621,8 @@ public java.lang.String getAnnotationId() { } } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2188,15 +2630,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 { @@ -2204,6 +2645,8 @@ public java.lang.String getAnnotationId() { } } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2211,20 +2654,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) { + public Builder setAnnotationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + annotationId_ = value; onChanged(); return this; } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2232,15 +2677,18 @@ public Builder setAnnotationId(
      * 
* * string annotation_id = 1; + * * @return This builder for chaining. */ public Builder clearAnnotationId() { - + annotationId_ = getDefaultInstance().getAnnotationId(); onChanged(); return this; } /** + * + * *
      * The unique identifier of the annotation.
      * Format:
@@ -2248,16 +2696,16 @@ 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) { + public Builder setAnnotationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + annotationId_ = value; onChanged(); return this; @@ -2265,34 +2713,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 createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -2313,14 +2774,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(); onChanged(); @@ -2331,6 +2793,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2341,7 +2805,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2353,6 +2817,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2371,6 +2837,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2378,11 +2846,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this annotation was created.
      * 
@@ -2393,11 +2863,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.
      * 
@@ -2405,14 +2878,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_; @@ -2420,41 +2896,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 startBoundaryBuilder_ != null || startBoundary_ != null; } /** + * + * *
      * 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(); @@ -2468,6 +2958,8 @@ public Builder setStartBoundary(com.google.cloud.contactcenterinsights.v1.Annota return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2486,17 +2978,23 @@ 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 (startBoundary_ != null) { startBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(startBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder( + startBoundary_) + .mergeFrom(value) + .buildPartial(); } else { startBoundary_ = value; } @@ -2508,6 +3006,8 @@ public Builder mergeStartBoundary(com.google.cloud.contactcenterinsights.v1.Anno return this; } /** + * + * *
      * The boundary in the conversation where the annotation starts, inclusive.
      * 
@@ -2526,33 +3026,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() { + 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.
      * 
@@ -2560,14 +3069,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_; @@ -2575,41 +3087,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 endBoundaryBuilder_ != null || endBoundary_ != null; } /** + * + * *
      * 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(); @@ -2623,6 +3149,8 @@ public Builder setEndBoundary(com.google.cloud.contactcenterinsights.v1.Annotati return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -2641,17 +3169,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 (endBoundary_ != null) { endBoundary_ = - com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnnotationBoundary.newBuilder(endBoundary_) + .mergeFrom(value) + .buildPartial(); } else { endBoundary_ = value; } @@ -2663,6 +3196,8 @@ public Builder mergeEndBoundary(com.google.cloud.contactcenterinsights.v1.Annota return this; } /** + * + * *
      * The boundary in the conversation where the annotation ends, inclusive.
      * 
@@ -2681,33 +3216,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() { + 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.
      * 
@@ -2715,14 +3259,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_; @@ -2730,41 +3277,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 answerFeedbackBuilder_ != null || answerFeedback_ != null; } /** + * + * *
      * 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(); @@ -2778,6 +3339,8 @@ public Builder setAnswerFeedback(com.google.cloud.contactcenterinsights.v1.Answe return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -2796,17 +3359,22 @@ 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 (answerFeedback_ != null) { answerFeedback_ = - com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.AnswerFeedback.newBuilder(answerFeedback_) + .mergeFrom(value) + .buildPartial(); } else { answerFeedback_ = value; } @@ -2818,6 +3386,8 @@ public Builder mergeAnswerFeedback(com.google.cloud.contactcenterinsights.v1.Ans return this; } /** + * + * *
      * The feedback that the customer has about the answer in `data`.
      * 
@@ -2836,33 +3406,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() { + 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`.
      * 
@@ -2870,21 +3449,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); } @@ -2894,12 +3476,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(); } @@ -2908,16 +3490,16 @@ 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 { - return new RuntimeAnnotation(input, extensionRegistry); - } - }; + 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 { + return new RuntimeAnnotation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2932,6 +3514,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.RuntimeAnnotation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java index 55d891c7..4e2082e3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/RuntimeAnnotationOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java index 106e2adc..a973ff59 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private SentimentData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,23 @@ private SentimentData( case 0: done = true; break; - case 13: { - - magnitude_ = input.readFloat(); - break; - } - case 21: { - - score_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 13: + { + magnitude_ = input.readFloat(); + break; + } + case 21: + { + score_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,35 +92,40 @@ private SentimentData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * 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 @@ -115,11 +136,14 @@ public float getMagnitude() { public static final int SCORE_FIELD_NUMBER = 2; private float score_; /** + * + * *
    * The sentiment score between -1.0 (negative) and 1.0 (positive).
    * 
* * float score = 2; + * * @return The score. */ @java.lang.Override @@ -128,6 +152,7 @@ public float getScore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,8 +164,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_); } @@ -157,12 +181,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -172,19 +194,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -197,128 +218,136 @@ 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) + unknownFields.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() @@ -326,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +375,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 @@ -368,7 +396,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); + com.google.cloud.contactcenterinsights.v1.SentimentData result = + new com.google.cloud.contactcenterinsights.v1.SentimentData(this); result.magnitude_ = magnitude_; result.score_ = score_; onBuilt(); @@ -379,38 +408,39 @@ public com.google.cloud.contactcenterinsights.v1.SentimentData 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.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; @@ -418,7 +448,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()); } @@ -444,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SentimentData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -454,14 +486,17 @@ public Builder mergeFrom( return this; } - 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 @@ -469,44 +504,53 @@ 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; 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() { - + magnitude_ = 0F; onChanged(); 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 @@ -514,37 +558,43 @@ 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; 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() { - + score_ = 0F; 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); } @@ -554,12 +604,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(); } @@ -568,16 +618,16 @@ 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 { - return new SentimentData(input, extensionRegistry); - } - }; + 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 { + return new SentimentData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SentimentData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java index b3ce797b..1c905b00 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SentimentDataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java index 7433ac50..8e174232 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/Settings.java +++ b/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,16 +44,15 @@ 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; } + private Settings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,90 +72,111 @@ private Settings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - languageCode_ = s; - break; - } - case 42: { - com.google.protobuf.Duration.Builder subBuilder = null; - if (conversationTtl_ != null) { - subBuilder = conversationTtl_.toBuilder(); - } - conversationTtl_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversationTtl_); - conversationTtl_ = subBuilder.buildPartial(); + break; } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - pubsubNotificationSettings_ = com.google.protobuf.MapField.newMapField( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + languageCode_ = s; + break; } - com.google.protobuf.MapEntry - pubsubNotificationSettings__ = input.readMessage( - PubsubNotificationSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - pubsubNotificationSettings_.getMutableMap().put( - pubsubNotificationSettings__.getKey(), pubsubNotificationSettings__.getValue()); - break; - } - case 58: { - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = null; - if (analysisConfig_ != null) { - subBuilder = analysisConfig_.toBuilder(); + case 42: + { + com.google.protobuf.Duration.Builder subBuilder = null; + if (conversationTtl_ != null) { + subBuilder = conversationTtl_.toBuilder(); + } + conversationTtl_ = + input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversationTtl_); + conversationTtl_ = subBuilder.buildPartial(); + } + + break; } - analysisConfig_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(analysisConfig_); - analysisConfig_ = subBuilder.buildPartial(); + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + pubsubNotificationSettings_ = + com.google.protobuf.MapField.newMapField( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + pubsubNotificationSettings__ = + input.readMessage( + PubsubNotificationSettingsDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + pubsubNotificationSettings_ + .getMutableMap() + .put( + pubsubNotificationSettings__.getKey(), + pubsubNotificationSettings__.getValue()); + break; } + case 58: + { + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.Builder subBuilder = + null; + if (analysisConfig_ != null) { + subBuilder = analysisConfig_.toBuilder(); + } + analysisConfig_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(analysisConfig_); + analysisConfig_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -146,84 +184,90 @@ private Settings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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(); } /** + * + * *
    * 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; } + private AnalysisConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -242,18 +286,18 @@ private AnalysisConfig( case 0: done = true; break; - case 9: { - - runtimeIntegrationAnalysisPercentage_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 9: + { + runtimeIntegrationAnalysisPercentage_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -261,35 +305,40 @@ private AnalysisConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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 @@ -298,6 +347,7 @@ public double getRuntimeIntegrationAnalysisPercentage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,8 +359,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_); } @@ -324,8 +373,9 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -335,16 +385,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -357,95 +408,105 @@ 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())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } 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 @@ -455,44 +516,49 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -502,14 +568,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 @@ -523,7 +591,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig result = + new com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig(this); result.runtimeIntegrationAnalysisPercentage_ = runtimeIntegrationAnalysisPercentage_; onBuilt(); return result; @@ -533,46 +602,53 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig buildPa 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()); } @@ -595,7 +671,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,14 +683,17 @@ public Builder mergeFrom( return this; } - 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 @@ -620,36 +701,43 @@ 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; 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() { - + runtimeIntegrationAnalysisPercentage_ = 0D; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -662,30 +750,32 @@ 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 { - return new AnalysisConfig(input, extensionRegistry); - } - }; + 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 { + return new AnalysisConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -697,15 +787,17 @@ 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the settings resource.
    * Format:
@@ -713,6 +805,7 @@ public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig getDefa
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -721,14 +814,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:
@@ -736,16 +830,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 { @@ -756,11 +849,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 @@ -768,11 +865,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 @@ -780,11 +881,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() { @@ -794,11 +898,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 @@ -806,11 +914,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 @@ -818,11 +930,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() { @@ -832,6 +947,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int LANGUAGE_CODE_FIELD_NUMBER = 4; 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
@@ -839,6 +956,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string language_code = 4; + * * @return The languageCode. */ @java.lang.Override @@ -847,14 +965,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
@@ -862,16 +981,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 { @@ -882,6 +1000,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
@@ -890,6 +1010,7 @@ public java.lang.String getLanguageCode() {
    * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return Whether the conversationTtl field is set. */ @java.lang.Override @@ -897,6 +1018,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
@@ -905,13 +1028,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
@@ -927,21 +1055,23 @@ public com.google.protobuf.DurationOrBuilder getConversationTtlOrBuilder() {
   }
 
   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,
+            "");
   }
-  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);
@@ -953,6 +1083,8 @@ 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
@@ -970,22 +1102,22 @@ 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
@@ -1004,11 +1136,12 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-
   public java.util.Map getPubsubNotificationSettingsMap() {
     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
@@ -1027,16 +1160,18 @@ public java.util.Map getPubsubNotificationSe
    * map<string, string> pubsub_notification_settings = 6;
    */
   @java.lang.Override
-
   public java.lang.String getPubsubNotificationSettingsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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
@@ -1055,10 +1190,10 @@ public 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)) {
@@ -1070,11 +1205,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 @@ -1082,30 +1221,41 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfigOrBuilder + getAnalysisConfigOrBuilder() { return getAnalysisConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1117,8 +1267,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_); } @@ -1134,8 +1283,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, @@ -1156,33 +1304,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1192,38 +1338,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1266,139 +1407,146 @@ 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() @@ -1406,16 +1554,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1452,9 +1599,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 @@ -1473,7 +1620,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); + com.google.cloud.contactcenterinsights.v1.Settings result = + new com.google.cloud.contactcenterinsights.v1.Settings(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -1507,38 +1655,39 @@ public com.google.cloud.contactcenterinsights.v1.Settings 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.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; @@ -1546,7 +1695,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_; onChanged(); @@ -1564,8 +1714,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()); if (other.hasAnalysisConfig()) { mergeAnalysisConfig(other.getAnalysisConfig()); } @@ -1588,7 +1738,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.Settings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1597,10 +1748,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1608,13 +1762,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; @@ -1623,6 +1777,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1630,15 +1786,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 { @@ -1646,6 +1801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1653,20 +1810,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1674,15 +1833,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the settings resource.
      * Format:
@@ -1690,16 +1852,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1707,39 +1869,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1755,14 +1936,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(); onChanged(); @@ -1773,17 +1957,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1795,11 +1983,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() { if (createTimeBuilder_ == null) { @@ -1813,48 +2005,64 @@ 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() { - + onChanged(); 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_; @@ -1862,39 +2070,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1910,14 +2137,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(); onChanged(); @@ -1928,17 +2158,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1950,11 +2184,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() { if (updateTimeBuilder_ == null) { @@ -1968,48 +2206,64 @@ 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() { - + onChanged(); 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_; @@ -2017,6 +2271,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
@@ -2024,13 +2280,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; @@ -2039,6 +2295,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
@@ -2046,15 +2304,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 { @@ -2062,6 +2319,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
@@ -2069,20 +2328,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) { + public Builder setLanguageCode(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + languageCode_ = value; 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
@@ -2090,15 +2351,18 @@ public Builder setLanguageCode(
      * 
* * string language_code = 4; + * * @return This builder for chaining. */ public Builder clearLanguageCode() { - + languageCode_ = getDefaultInstance().getLanguageCode(); 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
@@ -2106,16 +2370,16 @@ 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) { + public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + languageCode_ = value; onChanged(); return this; @@ -2123,8 +2387,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
@@ -2133,12 +2402,15 @@ public Builder setLanguageCodeBytes(
      * 
* * .google.protobuf.Duration conversation_ttl = 5; + * * @return Whether the conversationTtl field is set. */ public boolean hasConversationTtl() { return conversationTtlBuilder_ != null || conversationTtl_ != null; } /** + * + * *
      * The default TTL for newly-created conversations. If a conversation has a
      * specified expiration, that value will be used instead. Changing this
@@ -2147,16 +2419,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
@@ -2180,6 +2457,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
@@ -2189,8 +2468,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();
         onChanged();
@@ -2201,6 +2479,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
@@ -2214,7 +2494,9 @@ public Builder mergeConversationTtl(com.google.protobuf.Duration value) {
       if (conversationTtlBuilder_ == null) {
         if (conversationTtl_ != null) {
           conversationTtl_ =
-            com.google.protobuf.Duration.newBuilder(conversationTtl_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(conversationTtl_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           conversationTtl_ = value;
         }
@@ -2226,6 +2508,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
@@ -2247,6 +2531,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
@@ -2257,11 +2543,13 @@ public Builder clearConversationTtl() {
      * .google.protobuf.Duration conversation_ttl = 5;
      */
     public com.google.protobuf.Duration.Builder getConversationTtlBuilder() {
-      
+
       onChanged();
       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
@@ -2275,11 +2563,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
@@ -2290,35 +2581,42 @@ 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
-    internalGetPubsubNotificationSettings() {
+        pubsubNotificationSettings_;
+
+    private com.google.protobuf.MapField
+        internalGetPubsubNotificationSettings() {
       if (pubsubNotificationSettings_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             PubsubNotificationSettingsDefaultEntryHolder.defaultEntry);
       }
       return pubsubNotificationSettings_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutablePubsubNotificationSettings() {
-      onChanged();;
+        internalGetMutablePubsubNotificationSettings() {
+      onChanged();
+      ;
       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();
@@ -2330,6 +2628,8 @@ 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
@@ -2347,22 +2647,22 @@ 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
@@ -2381,11 +2681,12 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-
     public java.util.Map getPubsubNotificationSettingsMap() {
       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
@@ -2404,16 +2705,18 @@ public java.util.Map getPubsubNotificationSe
      * map<string, string> pubsub_notification_settings = 6;
      */
     @java.lang.Override
-
     public java.lang.String getPubsubNotificationSettingsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -2432,10 +2735,10 @@ public 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)) {
@@ -2445,11 +2748,12 @@ public java.lang.String getPubsubNotificationSettingsOrThrow(
     }
 
     public Builder clearPubsubNotificationSettings() {
-      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
@@ -2467,23 +2771,22 @@ 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() {
+        getMutablePubsubNotificationSettings() {
       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
@@ -2501,19 +2804,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .put(key, value);
+      internalGetMutablePubsubNotificationSettings().getMutableMap().put(key, value);
       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
@@ -2531,51 +2835,66 @@ public Builder putPubsubNotificationSettings(
      *
      * map<string, string> pubsub_notification_settings = 6;
      */
-
     public Builder putAllPubsubNotificationSettings(
         java.util.Map values) {
-      internalGetMutablePubsubNotificationSettings().getMutableMap()
-          .putAll(values);
+      internalGetMutablePubsubNotificationSettings().getMutableMap().putAll(values);
       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 analysisConfigBuilder_ != null || 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. */ 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(); @@ -2589,11 +2908,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) { @@ -2607,17 +2929,24 @@ 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 (analysisConfig_ != null) { analysisConfig_ = - com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder(analysisConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig.newBuilder( + analysisConfig_) + .mergeFrom(value) + .buildPartial(); } else { analysisConfig_ = value; } @@ -2629,11 +2958,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() { if (analysisConfigBuilder_ == null) { @@ -2647,55 +2979,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() { + 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); } @@ -2705,12 +3052,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(); } @@ -2719,16 +3066,16 @@ 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 { - return new Settings(input, extensionRegistry); - } - }; + 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 { + return new Settings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2743,6 +3090,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.Settings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java index 06c8750f..55e6f5ae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SettingsOrBuilder.java +++ b/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
@@ -230,11 +289,13 @@ boolean containsPubsubNotificationSettings(
    */
 
   /* 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
@@ -252,34 +313,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java index bd7dba18..1b820b55 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceData.java @@ -1,39 +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; /** + * + * *
  * 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; } + private SilenceData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private SilenceData( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private SilenceData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ 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() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,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 @@ -297,7 +325,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; } @@ -306,38 +335,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; @@ -345,7 +375,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.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SilenceData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } 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); } @@ -386,12 +418,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(); } @@ -400,16 +432,16 @@ 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 { - return new SilenceData(input, extensionRegistry); - } - }; + 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 { + return new SilenceData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SilenceData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SilenceDataOrBuilder.java new file mode 100644 index 00000000..e86e739d --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java index 790c1de2..2ab6f9e3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionData.java +++ b/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,16 +44,15 @@ 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; } + private SmartComposeSuggestionData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,43 +72,47 @@ private SmartComposeSuggestionData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - suggestion_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidenceScore_ = input.readDouble(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + suggestion_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 17: + { + confidenceScore_ = input.readDouble(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + queryRecord_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,46 +120,50 @@ private SmartComposeSuggestionData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object suggestion_; /** + * + * *
    * The content of the suggestion.
    * 
* * string suggestion = 1; + * * @return The suggestion. */ @java.lang.Override @@ -147,29 +172,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 { @@ -180,6 +205,8 @@ public java.lang.String getSuggestion() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -187,6 +214,7 @@ public java.lang.String getSuggestion() {
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -195,24 +223,23 @@ 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, + ""); } - 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_; } @@ -221,6 +248,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -228,22 +257,22 @@ 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.
@@ -252,11 +281,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Compose suggestion and the
    * document from which it originates.
@@ -265,16 +295,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -283,12 +314,11 @@ public 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();
     }
@@ -298,6 +328,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -305,6 +337,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ @java.lang.Override @@ -313,14 +346,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:
@@ -328,16 +362,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 { @@ -346,6 +379,7 @@ public java.lang.String getQueryRecord() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,20 +391,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_); } @@ -387,18 +416,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_); @@ -411,22 +439,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -441,8 +466,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(); @@ -455,156 +482,165 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -619,14 +655,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 @@ -640,7 +678,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData result = + new com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData(this); int from_bitField0_ = bitField0_; result.suggestion_ = suggestion_; result.confidenceScore_ = confidenceScore_; @@ -655,46 +694,51 @@ public com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData 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.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_; onChanged(); @@ -702,8 +746,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -727,7 +770,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,22 +781,25 @@ public Builder mergeFrom( } 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; @@ -760,20 +808,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 { @@ -781,61 +830,70 @@ 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) { + public Builder setSuggestion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestion_ = value; onChanged(); return this; } /** + * + * *
      * The content of the suggestion.
      * 
* * string suggestion = 1; + * * @return This builder for chaining. */ public Builder clearSuggestion() { - + suggestion_ = getDefaultInstance().getSuggestion(); onChanged(); 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) { + public Builder setSuggestionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestion_ = value; onChanged(); 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
@@ -843,6 +901,7 @@ public Builder setSuggestionBytes(
      * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -850,6 +909,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
@@ -857,16 +918,19 @@ 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; 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
@@ -874,31 +938,32 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -910,6 +975,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -917,22 +984,22 @@ 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.
@@ -941,11 +1008,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -954,16 +1022,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -972,12 +1041,11 @@ public 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();
       }
@@ -985,11 +1053,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -997,23 +1066,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1021,19 +1088,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Compose suggestion and the
      * document from which it originates.
@@ -1041,16 +1109,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1058,13 +1125,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; @@ -1073,6 +1140,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1080,15 +1149,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 { @@ -1096,6 +1164,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1103,20 +1173,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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1124,15 +1196,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 4; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1140,23 +1215,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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1166,30 +1241,32 @@ 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 { - return new SmartComposeSuggestionData(input, extensionRegistry); - } - }; + 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 { + return new SmartComposeSuggestionData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,9 +1278,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java index ec4de4b5..efd04393 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartComposeSuggestionDataOrBuilder.java +++ b/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.
@@ -84,11 +111,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -96,11 +125,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:
@@ -108,10 +137,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -119,8 +151,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java index 528c4ece..30a31825 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyData.java +++ b/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,16 +44,15 @@ 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; } + private SmartReplyData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,43 +72,47 @@ private SmartReplyData( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - reply_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - confidenceScore_ = input.readDouble(); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + reply_ = s; + break; } - com.google.protobuf.MapEntry - metadata__ = input.readMessage( - MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - metadata_.getMutableMap().put( - metadata__.getKey(), metadata__.getValue()); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 17: + { + confidenceScore_ = input.readDouble(); + break; + } + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + metadata_ = + com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry metadata__ = + input.readMessage( + MetadataDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue()); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - queryRecord_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + queryRecord_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,46 +120,50 @@ private SmartReplyData( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object reply_; /** + * + * *
    * The content of the reply.
    * 
* * string reply = 1; + * * @return The reply. */ @java.lang.Override @@ -147,29 +172,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 { @@ -180,6 +205,8 @@ public java.lang.String getReply() { public static final int CONFIDENCE_SCORE_FIELD_NUMBER = 2; 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
@@ -187,6 +214,7 @@ public java.lang.String getReply() {
    * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -195,24 +223,23 @@ 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, + ""); } - 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_; } @@ -221,6 +248,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -228,22 +257,22 @@ 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.
@@ -252,11 +281,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * Map that contains metadata about the Smart Reply and the document from
    * which it originates.
@@ -265,16 +295,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 3;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, 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.
@@ -283,12 +314,11 @@ public 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();
     }
@@ -298,6 +328,8 @@ public java.lang.String getMetadataOrThrow(
   public static final int QUERY_RECORD_FIELD_NUMBER = 4;
   private volatile java.lang.Object queryRecord_;
   /**
+   *
+   *
    * 
    * The name of the answer record.
    * Format:
@@ -305,6 +337,7 @@ public java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ @java.lang.Override @@ -313,14 +346,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:
@@ -328,16 +362,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 { @@ -346,6 +379,7 @@ public java.lang.String getQueryRecord() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,20 +391,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_); } @@ -387,18 +416,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_); @@ -411,22 +439,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -441,8 +466,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(); @@ -455,139 +482,147 @@ 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() @@ -595,16 +630,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -619,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_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 @@ -640,7 +674,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); + com.google.cloud.contactcenterinsights.v1.SmartReplyData result = + new com.google.cloud.contactcenterinsights.v1.SmartReplyData(this); int from_bitField0_ = bitField0_; result.reply_ = reply_; result.confidenceScore_ = confidenceScore_; @@ -655,38 +690,39 @@ public com.google.cloud.contactcenterinsights.v1.SmartReplyData 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.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; @@ -694,7 +730,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_; onChanged(); @@ -702,8 +739,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()); if (!other.getQueryRecord().isEmpty()) { queryRecord_ = other.queryRecord_; onChanged(); @@ -727,7 +763,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.SmartReplyData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,22 +773,25 @@ public Builder mergeFrom( } 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; @@ -760,20 +800,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 { @@ -781,61 +822,70 @@ 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) { + public Builder setReply(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reply_ = value; onChanged(); return this; } /** + * + * *
      * The content of the reply.
      * 
* * string reply = 1; + * * @return This builder for chaining. */ public Builder clearReply() { - + reply_ = getDefaultInstance().getReply(); onChanged(); 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) { + public Builder setReplyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reply_ = value; onChanged(); 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
@@ -843,6 +893,7 @@ public Builder setReplyBytes(
      * 
* * double confidence_score = 2; + * * @return The confidenceScore. */ @java.lang.Override @@ -850,6 +901,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
@@ -857,16 +910,19 @@ 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; 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
@@ -874,31 +930,32 @@ public Builder setConfidenceScore(double value) {
      * 
* * double confidence_score = 2; + * * @return This builder for chaining. */ public Builder clearConfidenceScore() { - + confidenceScore_ = 0D; onChanged(); 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() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; 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(); @@ -910,6 +967,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -917,22 +976,22 @@ 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.
@@ -941,11 +1000,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -954,16 +1014,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 3;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, 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.
@@ -972,12 +1033,11 @@ public 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();
       }
@@ -985,11 +1045,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -997,23 +1058,21 @@ 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() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1021,19 +1080,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"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Map that contains metadata about the Smart Reply and the document from
      * which it originates.
@@ -1041,16 +1101,15 @@ 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);
       return this;
     }
 
     private java.lang.Object queryRecord_ = "";
     /**
+     *
+     *
      * 
      * The name of the answer record.
      * Format:
@@ -1058,13 +1117,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; @@ -1073,6 +1132,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1080,15 +1141,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 { @@ -1096,6 +1156,8 @@ public java.lang.String getQueryRecord() { } } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1103,20 +1165,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) { + public Builder setQueryRecord(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + queryRecord_ = value; onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1124,15 +1188,18 @@ public Builder setQueryRecord(
      * 
* * string query_record = 4; + * * @return This builder for chaining. */ public Builder clearQueryRecord() { - + queryRecord_ = getDefaultInstance().getQueryRecord(); onChanged(); return this; } /** + * + * *
      * The name of the answer record.
      * Format:
@@ -1140,23 +1207,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) { + public Builder setQueryRecordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + queryRecord_ = 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); } @@ -1166,12 +1233,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(); } @@ -1180,16 +1247,16 @@ 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 { - return new SmartReplyData(input, extensionRegistry); - } - }; + 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 { + return new SmartReplyData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1204,6 +1271,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.SmartReplyData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java index 59dae0cd..dde4f8e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/SmartReplyDataOrBuilder.java +++ b/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.
@@ -84,11 +111,13 @@ boolean containsMetadata(
    */
 
   /* 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.
@@ -96,11 +125,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:
@@ -108,10 +137,13 @@ java.lang.String getMetadataOrThrow(
    * 
* * string query_record = 4; + * * @return The queryRecord. */ java.lang.String getQueryRecord(); /** + * + * *
    * The name of the answer record.
    * Format:
@@ -119,8 +151,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java index e2cf4095..4e3bc499 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadata.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UndeployIssueModelMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,61 @@ private UndeployIssueModelMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder subBuilder = null; - if (request_ != null) { - subBuilder = request_.toBuilder(); - } - request_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(request_); - request_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.Builder + subBuilder = null; + if (request_ != null) { + subBuilder = request_.toBuilder(); + } + request_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(request_); + request_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,34 +130,40 @@ private UndeployIssueModelMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -140,11 +171,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 @@ -152,11 +187,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() { @@ -166,11 +204,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 @@ -178,11 +220,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 @@ -190,11 +236,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() { @@ -204,11 +253,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 @@ -216,18 +268,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.
    * 
@@ -235,11 +294,13 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequestOrBuilder + getRequestOrBuilder() { return getRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +312,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()); } @@ -272,16 +332,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -291,27 +348,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -342,134 +397,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +561,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 @@ -516,7 +584,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata result = + new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -540,46 +609,51 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata 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.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()); } @@ -608,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -620,39 +696,58 @@ public Builder mergeFrom( 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 createTimeBuilder_ != null || 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. */ 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) { @@ -668,14 +763,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(); onChanged(); @@ -686,17 +784,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -708,11 +810,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() { if (createTimeBuilder_ == null) { @@ -726,48 +832,64 @@ 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() { - + onChanged(); 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_; @@ -775,24 +897,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -803,11 +936,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) { @@ -823,14 +959,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(); onChanged(); @@ -841,17 +979,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -863,11 +1004,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() { if (endTimeBuilder_ == null) { @@ -881,48 +1025,59 @@ 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() { - + onChanged(); 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_; @@ -930,41 +1085,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 requestBuilder_ != null || request_ != null; } /** + * + * *
      * 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(); @@ -978,6 +1148,8 @@ public Builder setRequest(com.google.cloud.contactcenterinsights.v1.UndeployIssu return this; } /** + * + * *
      * The original request for undeployment.
      * 
@@ -985,7 +1157,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(); onChanged(); @@ -996,17 +1169,23 @@ 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 (request_ != null) { request_ = - com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder(request_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder( + request_) + .mergeFrom(value) + .buildPartial(); } else { request_ = value; } @@ -1018,6 +1197,8 @@ public Builder mergeRequest(com.google.cloud.contactcenterinsights.v1.UndeployIs return this; } /** + * + * *
      * The original request for undeployment.
      * 
@@ -1036,33 +1217,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() { + 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.
      * 
@@ -1070,21 +1261,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); } @@ -1094,30 +1288,32 @@ 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 { - return new UndeployIssueModelMetadata(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,9 +1325,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java index 5e656936..2f35b185 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelMetadataOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java index a0736023..dfb32d6f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequest.java @@ -1,40 +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 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; } + private UndeployIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private UndeployIssueModelRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private UndeployIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -109,29 +134,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,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_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,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 @@ -362,7 +402,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest build 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_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( 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; @@ -467,20 +519,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 { @@ -488,61 +543,74 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -552,30 +620,32 @@ 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 { - return new UndeployIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelRequestOrBuilder.java new file mode 100644 index 00000000..431293b2 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java index f454b27f..7ea7f44a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponse.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UndeployIssueModelResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private UndeployIssueModelResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private UndeployIssueModelResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; @@ -98,8 +117,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 { unknownFields.writeTo(output); } @@ -117,12 +135,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,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 @@ -297,7 +329,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; } @@ -306,46 +339,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.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } 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); } @@ -386,30 +426,32 @@ 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 { - return new UndeployIssueModelResponse(input, extensionRegistry); - } - }; + 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 { + return new UndeployIssueModelResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,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/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UndeployIssueModelResponseOrBuilder.java new file mode 100644 index 00000000..59a7fdb5 --- /dev/null +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java index 7a4ec025..1dafc28f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateConversationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateConversationRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; - if (conversation_ != null) { - subBuilder = conversation_.toBuilder(); - } - conversation_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Conversation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(conversation_); - conversation_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.Conversation.Builder subBuilder = null; + if (conversation_ != null) { + subBuilder = conversation_.toBuilder(); + } + conversation_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Conversation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(conversation_); + conversation_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateConversationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,37 +156,52 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder + getConversationOrBuilder() { return getConversation(); } 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 @@ -165,11 +209,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 @@ -177,6 +224,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +238,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +250,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()); } @@ -218,12 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +321,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +479,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 @@ -443,7 +502,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest(this); if (conversationBuilder_ == null) { result.conversation_ = conversation_; } else { @@ -462,46 +522,51 @@ public com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest build 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,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateConversationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +606,58 @@ public Builder mergeFrom( 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 conversationBuilder_ != null || 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. */ 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) { @@ -587,11 +673,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) { @@ -605,17 +695,23 @@ 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 (conversation_ != null) { conversation_ = - com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Conversation.newBuilder(conversation_) + .mergeFrom(value) + .buildPartial(); } else { conversation_ = value; } @@ -627,11 +723,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() { if (conversationBuilder_ == null) { @@ -645,48 +745,65 @@ 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() { - + onChanged(); 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_; @@ -694,34 +811,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +872,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(); onChanged(); @@ -760,6 +891,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +903,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +915,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +935,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +944,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +961,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.
      * 
@@ -834,21 +976,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); } @@ -858,30 +1003,32 @@ 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 { - return new UpdateConversationRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateConversationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1040,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java index 8790423a..31ea847a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateConversationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java index 99199490..a0c59c7e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateIssueModelRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateIssueModelRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; - if (issueModel_ != null) { - subBuilder = issueModel_.toBuilder(); - } - issueModel_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issueModel_); - issueModel_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.IssueModel.Builder subBuilder = null; + if (issueModel_ != null) { + subBuilder = issueModel_.toBuilder(); + } + issueModel_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.IssueModel.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issueModel_); + issueModel_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateIssueModelRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +156,34 @@ 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() { @@ -153,11 +193,14 @@ public com.google.cloud.contactcenterinsights.v1.IssueModelOrBuilder getIssueMod 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 @@ -165,11 +208,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 @@ -177,6 +223,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +249,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()); } @@ -218,12 +266,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +279,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +320,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,13 +478,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(); } @@ -443,7 +500,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest(this); if (issueModelBuilder_ == null) { result.issueModel_ = issueModel_; } else { @@ -462,46 +520,50 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest buildPa 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()); } @@ -527,7 +589,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +603,58 @@ public Builder mergeFrom( 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 issueModelBuilder_ != null || 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. */ 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) { @@ -587,11 +670,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) { @@ -605,17 +692,23 @@ 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 (issueModel_ != null) { issueModel_ = - com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.IssueModel.newBuilder(issueModel_) + .mergeFrom(value) + .buildPartial(); } else { issueModel_ = value; } @@ -627,11 +720,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() { if (issueModelBuilder_ == null) { @@ -645,48 +742,64 @@ 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() { - + onChanged(); 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_; @@ -694,34 +807,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +868,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(); onChanged(); @@ -760,6 +887,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +899,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +911,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +931,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +940,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +957,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.
      * 
@@ -834,21 +972,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); } @@ -858,30 +999,32 @@ 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 { - return new UpdateIssueModelRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueModelRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1036,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java index b6afb01f..c94e49ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueModelRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java index c0a2f7d4..ec8f36b3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateIssueRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateIssueRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; - if (issue_ != null) { - subBuilder = issue_.toBuilder(); - } - issue_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(issue_); - issue_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.Issue.Builder subBuilder = null; + if (issue_ != null) { + subBuilder = issue_.toBuilder(); + } + issue_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Issue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(issue_); + issue_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,41 @@ private UpdateIssueRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +155,34 @@ 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() { @@ -153,11 +192,14 @@ public com.google.cloud.contactcenterinsights.v1.IssueOrBuilder getIssueOrBuilde 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 @@ -165,11 +207,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 @@ -177,6 +222,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +248,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()); } @@ -218,12 +265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,117 +319,127 @@ 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() @@ -393,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,13 +475,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(); } @@ -443,7 +497,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest(this); if (issueBuilder_ == null) { result.issue_ = issue_; } else { @@ -462,38 +517,39 @@ public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest 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.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; @@ -501,7 +557,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()); } @@ -527,7 +585,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +598,58 @@ public Builder mergeFrom( 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 issueBuilder_ != null || 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. */ 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) { @@ -587,11 +665,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) { @@ -605,17 +687,23 @@ 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 (issue_ != null) { issue_ = - com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Issue.newBuilder(issue_) + .mergeFrom(value) + .buildPartial(); } else { issue_ = value; } @@ -627,11 +715,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() { if (issueBuilder_ == null) { @@ -645,48 +737,64 @@ 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() { - + onChanged(); 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_; @@ -694,34 +802,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +863,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(); onChanged(); @@ -760,6 +882,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +894,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +906,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +926,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +935,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +952,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.
      * 
@@ -834,21 +967,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); } @@ -858,12 +994,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(); } @@ -872,16 +1009,16 @@ 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 { - return new UpdateIssueRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateIssueRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,6 +1033,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateIssueRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java index b4aec186..852c3ad3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateIssueRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java index e9cd099f..a775ab21 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdatePhraseMatcherRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdatePhraseMatcherRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; - if (phraseMatcher_ != null) { - subBuilder = phraseMatcher_.toBuilder(); - } - phraseMatcher_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(phraseMatcher_); - phraseMatcher_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder subBuilder = null; + if (phraseMatcher_ != null) { + subBuilder = phraseMatcher_.toBuilder(); + } + phraseMatcher_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(phraseMatcher_); + phraseMatcher_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdatePhraseMatcherRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,37 +156,52 @@ 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() { + public com.google.cloud.contactcenterinsights.v1.PhraseMatcherOrBuilder + getPhraseMatcherOrBuilder() { return getPhraseMatcher(); } 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 @@ -165,11 +209,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 @@ -177,6 +224,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +238,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +250,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()); } @@ -218,12 +267,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +321,145 @@ 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() + // Construct using + // com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +479,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 @@ -443,7 +502,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest(this); if (phraseMatcherBuilder_ == null) { result.phraseMatcher_ = phraseMatcher_; } else { @@ -462,46 +522,51 @@ public com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest 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.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,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +606,58 @@ public Builder mergeFrom( 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 phraseMatcherBuilder_ != null || 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. */ 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) { @@ -587,11 +673,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) { @@ -605,17 +695,24 @@ 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 (phraseMatcher_ != null) { phraseMatcher_ = - com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.PhraseMatcher.newBuilder(phraseMatcher_) + .mergeFrom(value) + .buildPartial(); } else { phraseMatcher_ = value; } @@ -627,11 +724,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() { if (phraseMatcherBuilder_ == null) { @@ -645,48 +746,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() { + 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_; @@ -694,34 +813,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +874,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(); onChanged(); @@ -760,6 +893,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +905,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +917,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +937,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +946,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +963,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.
      * 
@@ -834,21 +978,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); } @@ -858,30 +1005,32 @@ 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 { - return new UpdatePhraseMatcherRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdatePhraseMatcherRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1042,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java index 2652a669..dba885b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdatePhraseMatcherRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java index 9e7744f1..9a93bc57 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateSettingsRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; - if (settings_ != null) { - subBuilder = settings_.toBuilder(); - } - settings_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.Settings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(settings_); - settings_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.Settings.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.Settings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +156,34 @@ 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() { @@ -153,11 +193,15 @@ public com.google.cloud.contactcenterinsights.v1.SettingsOrBuilder getSettingsOr 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 @@ -165,11 +209,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 @@ -177,11 +225,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() { @@ -189,6 +240,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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 (settings_ != null) { output.writeMessage(1, getSettings()); } @@ -218,12 +269,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +282,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,117 +323,127 @@ 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() @@ -393,16 +451,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,13 +479,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(); } @@ -443,7 +501,8 @@ 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); + com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest(this); if (settingsBuilder_ == null) { result.settings_ = settings_; } else { @@ -462,46 +521,50 @@ public com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest buildPart 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()); } @@ -527,7 +590,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +604,58 @@ public Builder mergeFrom( 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 settingsBuilder_ != null || 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. */ 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) { @@ -587,11 +671,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) { @@ -605,17 +693,23 @@ 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 (settings_ != null) { settings_ = - com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.Settings.newBuilder(settings_) + .mergeFrom(value) + .buildPartial(); } else { settings_ = value; } @@ -627,11 +721,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() { if (settingsBuilder_ == null) { @@ -645,48 +743,64 @@ 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() { - + onChanged(); 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_; @@ -694,39 +808,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -742,14 +872,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(); onChanged(); @@ -760,17 +892,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,11 +917,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() { if (updateMaskBuilder_ == null) { @@ -800,55 +938,68 @@ 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() { - + onChanged(); 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); } @@ -858,30 +1009,32 @@ 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 { - return new UpdateSettingsRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1046,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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java index 7d2cd48f..8b040fce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateSettingsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java index 216c6d49..71414626 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java +++ b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequest.java @@ -1,39 +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; /** + * + * *
  * 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; } + private UpdateViewRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateViewRequest( case 0: done = true; break; - case 10: { - com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; - if (view_ != null) { - subBuilder = view_.toBuilder(); - } - view_ = input.readMessage(com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(view_); - view_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.contactcenterinsights.v1.View.Builder subBuilder = null; + if (view_ != null) { + subBuilder = view_.toBuilder(); + } + view_ = + input.readMessage( + com.google.cloud.contactcenterinsights.v1.View.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(view_); + view_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,41 @@ private UpdateViewRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -127,23 +155,34 @@ 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() { @@ -153,11 +192,14 @@ public com.google.cloud.contactcenterinsights.v1.ViewOrBuilder getViewOrBuilder( 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 @@ -165,11 +207,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 @@ -177,6 +222,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated.
    * 
@@ -189,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +248,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()); } @@ -218,12 +265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,117 +319,127 @@ 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() @@ -393,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,9 +475,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 @@ -443,7 +496,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); + com.google.cloud.contactcenterinsights.v1.UpdateViewRequest result = + new com.google.cloud.contactcenterinsights.v1.UpdateViewRequest(this); if (viewBuilder_ == null) { result.view_ = view_; } else { @@ -462,38 +516,39 @@ public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest 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.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; @@ -501,7 +556,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()); } @@ -527,7 +583,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.contactcenterinsights.v1.UpdateViewRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,39 +596,58 @@ public Builder mergeFrom( 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 viewBuilder_ != null || 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. */ 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) { @@ -587,14 +663,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(); onChanged(); @@ -605,17 +684,23 @@ 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 (view_ != null) { view_ = - com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_).mergeFrom(value).buildPartial(); + com.google.cloud.contactcenterinsights.v1.View.newBuilder(view_) + .mergeFrom(value) + .buildPartial(); } else { view_ = value; } @@ -627,11 +712,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() { if (viewBuilder_ == null) { @@ -645,48 +734,64 @@ 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() { - + onChanged(); 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_; @@ -694,34 +799,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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * 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.
      * 
@@ -742,14 +860,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(); onChanged(); @@ -760,6 +879,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -770,7 +891,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +903,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -800,6 +923,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -807,11 +932,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * The list of fields to be updated.
      * 
@@ -822,11 +949,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.
      * 
@@ -834,21 +964,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); } @@ -858,12 +991,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(); } @@ -872,16 +1005,16 @@ 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 { - return new UpdateViewRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateViewRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -896,6 +1029,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.UpdateViewRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java index 3491f256..af93e5c9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/UpdateViewRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java b/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java index 792f7531..f54097df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/View.java +++ b/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,16 +45,15 @@ 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; } + private View( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,57 +72,64 @@ private View( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - value_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + value_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,29 +137,33 @@ private View( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object name_; /** + * + * *
    * Immutable. The resource name of the view.
    * Format:
@@ -143,6 +171,7 @@ private View(
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The name. */ @java.lang.Override @@ -151,14 +180,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:
@@ -166,16 +196,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 { @@ -186,11 +215,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The human-readable display name of the view.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -199,29 +231,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 { @@ -232,11 +264,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 @@ -244,11 +280,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 @@ -256,11 +296,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() { @@ -270,11 +313,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 @@ -282,11 +329,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 @@ -294,11 +345,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() { @@ -308,11 +362,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int VALUE_FIELD_NUMBER = 5; private volatile java.lang.Object value_; /** + * + * *
    * String with specific view properties.
    * 
* * string value = 5; + * * @return The value. */ @java.lang.Override @@ -321,29 +378,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 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 { @@ -352,6 +409,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,8 +421,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_); } @@ -396,12 +453,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_); @@ -414,29 +469,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -467,118 +518,127 @@ 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() @@ -586,16 +646,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +680,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 @@ -642,7 +701,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); + com.google.cloud.contactcenterinsights.v1.View result = + new com.google.cloud.contactcenterinsights.v1.View(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -664,38 +724,39 @@ public com.google.cloud.contactcenterinsights.v1.View 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.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; @@ -753,6 +814,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -760,13 +823,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; @@ -775,6 +838,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -782,15 +847,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 { @@ -798,6 +862,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -805,20 +871,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -826,15 +894,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Immutable. The resource name of the view.
      * Format:
@@ -842,16 +913,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -859,18 +930,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; @@ -879,20 +952,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 { @@ -900,54 +974,61 @@ 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The human-readable display name of the view.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -955,39 +1036,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1003,14 +1103,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(); onChanged(); @@ -1021,17 +1124,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1043,11 +1150,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() { if (createTimeBuilder_ == null) { @@ -1061,48 +1172,64 @@ 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() { - + onChanged(); 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_; @@ -1110,39 +1237,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 updateTimeBuilder_ != null || 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. */ 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) { @@ -1158,14 +1304,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(); onChanged(); @@ -1176,17 +1325,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 (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1198,11 +1351,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() { if (updateTimeBuilder_ == null) { @@ -1216,48 +1373,64 @@ 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() { - + onChanged(); 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_; @@ -1265,18 +1438,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object value_ = ""; /** + * + * *
      * String with specific view properties.
      * 
* * 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; @@ -1285,20 +1460,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * String with specific view properties.
      * 
* * 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 { @@ -1306,61 +1482,68 @@ public java.lang.String getValue() { } } /** + * + * *
      * String with specific view properties.
      * 
* * string value = 5; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * String with specific view properties.
      * 
* * string value = 5; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
      * String with specific view properties.
      * 
* * string value = 5; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -1370,12 +1553,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(); } @@ -1384,16 +1567,16 @@ 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 { - return new View(input, extensionRegistry); - } - }; + 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 { + return new View(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1408,6 +1591,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.contactcenterinsights.v1.View getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java rename to proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java index f11723ea..20c13a34 100644 --- a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ViewOrBuilder.java +++ b/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.
    * 
* * string value = 5; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * String with specific view properties.
    * 
* * string value = 5; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/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/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto rename to proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/contact_center_insights.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto b/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto rename to proto-google-cloud-contact-center-insights-v1/src/main/proto/google/cloud/contactcenterinsights/v1/resources.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/AsyncCreateAnalysisLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisConversationnameAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createanalysis/SyncCreateAnalysisStringAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/AsyncCreateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationLocationnameConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createconversation/SyncCreateConversationStringConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/AsyncCreateIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelLocationnameIssuemodel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createissuemodel/SyncCreateIssueModelStringIssuemodel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/AsyncCreatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherLocationnamePhrasematcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createphrasematcher/SyncCreatePhraseMatcherStringPhrasematcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/AsyncCreateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewLocationnameView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/createview/SyncCreateViewStringView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/AsyncDeleteAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisAnalysisname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteanalysis/SyncDeleteAnalysisString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/AsyncDeleteConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationConversationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteconversation/SyncDeleteConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/AsyncDeleteIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteissuemodel/SyncDeleteIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/AsyncDeletePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherPhrasematchername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deletephrasematcher/SyncDeletePhraseMatcherString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/AsyncDeleteView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deleteview/SyncDeleteViewViewname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/AsyncDeployIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/deployissuemodel/SyncDeployIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsData.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/AsyncExportInsightsDataLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsData.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/exportinsightsdata/SyncExportInsightsDataString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/AsyncGetAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisAnalysisname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getanalysis/SyncGetAnalysisString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/AsyncGetConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationConversationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getconversation/SyncGetConversationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/AsyncGetIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueIssuename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissue/SyncGetIssueString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/AsyncGetIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getissuemodel/SyncGetIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/AsyncGetPhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherPhrasematchername.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getphrasematcher/SyncGetPhraseMatcherString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/AsyncGetSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsSettingsname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getsettings/SyncGetSettingsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/AsyncGetView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/getview/SyncGetViewViewname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalyses.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/AsyncListAnalysesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalyses.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesConversationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listanalyses/SyncListAnalysesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/AsyncListConversationsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listconversations/SyncListConversationsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/AsyncListIssueModels.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModels.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissuemodels/SyncListIssueModelsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/AsyncListIssues.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssues.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listissues/SyncListIssuesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/AsyncListPhraseMatchersPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchers.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listphrasematchers/SyncListPhraseMatchersString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViews.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/AsyncListViewsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViews.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/listviews/SyncListViewsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/AsyncUndeployIssueModelLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelIssuemodelname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/undeployissuemodel/SyncUndeployIssueModelString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/AsyncUpdateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateconversation/SyncUpdateConversationConversationFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/AsyncUpdateIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssue.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissue/SyncUpdateIssueIssueFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/AsyncUpdateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModel.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateissuemodel/SyncUpdateIssueModelIssuemodelFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/AsyncUpdatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcher.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatephrasematcher/SyncUpdatePhraseMatcherPhrasematcherFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/AsyncUpdateSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettings.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updatesettings/SyncUpdateSettingsSettingsFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/AsyncUpdateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateView.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/updateview/SyncUpdateViewViewFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightssettings/createconversation/SyncCreateConversation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java b/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java rename to samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/stub/contactcenterinsightsstubsettings/createconversation/SyncCreateConversation.java